diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-11-16 20:16:07 +0000 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-11-16 20:16:07 +0000 |
commit | 75bbe594e54402ed248ecf2bdfe54e8283d20fff (patch) | |
tree | 598371c0342347d08cc4f19a6058a3c1d2adb520 /src/bench | |
parent | 3f1f5f6f1ec49d0fb2acfddec4021b3582ba0553 (diff) |
refactor: Move `CTxMemPoolEntry` class to its own module
This change nukes the policy/fees->mempool circular dependency.
Easy to review using `diff --color-moved=dimmed-zebra`.
Diffstat (limited to 'src/bench')
-rw-r--r-- | src/bench/mempool_eviction.cpp | 1 | ||||
-rw-r--r-- | src/bench/mempool_stress.cpp | 1 | ||||
-rw-r--r-- | src/bench/rpc_mempool.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/bench/mempool_eviction.cpp b/src/bench/mempool_eviction.cpp index 60d991fab9..b5b3f43aab 100644 --- a/src/bench/mempool_eviction.cpp +++ b/src/bench/mempool_eviction.cpp @@ -6,6 +6,7 @@ #include <policy/policy.h> #include <test/util/setup_common.h> #include <txmempool.h> +#include <txmempool_entry.h> static void AddTx(const CTransactionRef& tx, const CAmount& nFee, CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main, pool.cs) diff --git a/src/bench/mempool_stress.cpp b/src/bench/mempool_stress.cpp index 725a6f8f5b..c58ec8e360 100644 --- a/src/bench/mempool_stress.cpp +++ b/src/bench/mempool_stress.cpp @@ -6,6 +6,7 @@ #include <policy/policy.h> #include <test/util/setup_common.h> #include <txmempool.h> +#include <txmempool_entry.h> #include <validation.h> #include <vector> diff --git a/src/bench/rpc_mempool.cpp b/src/bench/rpc_mempool.cpp index 0e6fdae3d7..7308f7c445 100644 --- a/src/bench/rpc_mempool.cpp +++ b/src/bench/rpc_mempool.cpp @@ -7,6 +7,7 @@ #include <rpc/mempool.h> #include <test/util/setup_common.h> #include <txmempool.h> +#include <txmempool_entry.h> #include <univalue.h> |