From f543852a89d93441645250c40c3980aeb0c3b664 Mon Sep 17 00:00:00 2001 From: glozow Date: Tue, 11 Jun 2024 13:06:21 +0100 Subject: [PATCH 1/6] rename policy/v3_policy.* to policy/truc_policy.* --- src/Makefile.am | 8 ++++---- src/policy/{v3_policy.cpp => truc_policy.cpp} | 2 +- src/policy/{v3_policy.h => truc_policy.h} | 6 +++--- src/test/fuzz/package_eval.cpp | 2 +- src/test/fuzz/tx_pool.cpp | 2 +- src/test/txvalidation_tests.cpp | 2 +- src/test/util/txmempool.cpp | 2 +- src/validation.cpp | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) rename src/policy/{v3_policy.cpp => truc_policy.cpp} (99%) rename src/policy/{v3_policy.h => truc_policy.h} (97%) diff --git a/src/Makefile.am b/src/Makefile.am index 4a1973aa876..1540af30301 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -243,7 +243,6 @@ BITCOIN_CORE_H = \ node/warnings.h \ noui.h \ outputtype.h \ - policy/v3_policy.h \ policy/feerate.h \ policy/fees.h \ policy/fees_args.h \ @@ -251,6 +250,7 @@ BITCOIN_CORE_H = \ policy/policy.h \ policy/rbf.h \ policy/settings.h \ + policy/truc_policy.h \ pow.h \ protocol.h \ psbt.h \ @@ -447,12 +447,12 @@ libbitcoin_node_a_SOURCES = \ node/validation_cache_args.cpp \ node/warnings.cpp \ noui.cpp \ - policy/v3_policy.cpp \ policy/fees.cpp \ policy/fees_args.cpp \ policy/packages.cpp \ policy/rbf.cpp \ policy/settings.cpp \ + policy/truc_policy.cpp \ pow.cpp \ rest.cpp \ rpc/blockchain.cpp \ @@ -707,9 +707,9 @@ libbitcoin_common_a_SOURCES = \ netbase.cpp \ net_permissions.cpp \ outputtype.cpp \ - policy/v3_policy.cpp \ policy/feerate.cpp \ policy/policy.cpp \ + policy/truc_policy.cpp \ protocol.cpp \ psbt.cpp \ rpc/external_signer.cpp \ @@ -955,12 +955,12 @@ libbitcoinkernel_la_SOURCES = \ node/blockstorage.cpp \ node/chainstate.cpp \ node/utxo_snapshot.cpp \ - policy/v3_policy.cpp \ policy/feerate.cpp \ policy/packages.cpp \ policy/policy.cpp \ policy/rbf.cpp \ policy/settings.cpp \ + policy/truc_policy.cpp \ pow.cpp \ primitives/block.cpp \ primitives/transaction.cpp \ diff --git a/src/policy/v3_policy.cpp b/src/policy/truc_policy.cpp similarity index 99% rename from src/policy/v3_policy.cpp rename to src/policy/truc_policy.cpp index 6bd043b8e3d..4e0eb70a73f 100644 --- a/src/policy/v3_policy.cpp +++ b/src/policy/truc_policy.cpp @@ -2,7 +2,7 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include +#include #include #include diff --git a/src/policy/v3_policy.h b/src/policy/truc_policy.h similarity index 97% rename from src/policy/v3_policy.h rename to src/policy/truc_policy.h index 90eaeda46f1..f553110df30 100644 --- a/src/policy/v3_policy.h +++ b/src/policy/truc_policy.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_POLICY_V3_POLICY_H -#define BITCOIN_POLICY_V3_POLICY_H +#ifndef BITCOIN_POLICY_TRUC_POLICY_H +#define BITCOIN_POLICY_TRUC_POLICY_H #include #include @@ -90,4 +90,4 @@ std::optional PackageV3Checks(const CTransactionRef& ptx, int64_t v const Package& package, const CTxMemPool::setEntries& mempool_ancestors); -#endif // BITCOIN_POLICY_V3_POLICY_H +#endif // BITCOIN_POLICY_TRUC_POLICY_H diff --git a/src/test/fuzz/package_eval.cpp b/src/test/fuzz/package_eval.cpp index 53aedf23ea6..ecacfed58ed 100644 --- a/src/test/fuzz/package_eval.cpp +++ b/src/test/fuzz/package_eval.cpp @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/test/fuzz/tx_pool.cpp b/src/test/fuzz/tx_pool.cpp index b6b91445f97..27c5542ce0d 100644 --- a/src/test/fuzz/tx_pool.cpp +++ b/src/test/fuzz/tx_pool.cpp @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/test/txvalidation_tests.cpp b/src/test/txvalidation_tests.cpp index f429f94a2f0..2d8193af8c8 100644 --- a/src/test/txvalidation_tests.cpp +++ b/src/test/txvalidation_tests.cpp @@ -4,9 +4,9 @@ #include #include -#include #include #include +#include #include #include #include