mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
refactor: Move txmempool_entry.h
--> kernel/mempool_entry.h
This commit is contained in:
parent
3be21060d6
commit
38941a703e
16 changed files with 20 additions and 20 deletions
|
@ -177,6 +177,7 @@ BITCOIN_CORE_H = \
|
|||
kernel/checks.h \
|
||||
kernel/coinstats.h \
|
||||
kernel/context.h \
|
||||
kernel/mempool_entry.h \
|
||||
kernel/mempool_limits.h \
|
||||
kernel/mempool_options.h \
|
||||
kernel/mempool_persist.h \
|
||||
|
@ -263,7 +264,6 @@ BITCOIN_CORE_H = \
|
|||
torcontrol.h \
|
||||
txdb.h \
|
||||
txmempool.h \
|
||||
txmempool_entry.h \
|
||||
txorphanage.h \
|
||||
txrequest.h \
|
||||
undo.h \
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <bench/bench.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#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)
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <bench/bench.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <policy/policy.h>
|
||||
#include <test/util/setup_common.h>
|
||||
#include <txmempool.h>
|
||||
#include <txmempool_entry.h>
|
||||
#include <validation.h>
|
||||
|
||||
#include <vector>
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
#include <bench/bench.h>
|
||||
#include <chainparamsbase.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <rpc/mempool.h>
|
||||
#include <test/util/setup_common.h>
|
||||
#include <txmempool.h>
|
||||
#include <txmempool_entry.h>
|
||||
|
||||
#include <univalue.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_TXMEMPOOL_ENTRY_H
|
||||
#define BITCOIN_TXMEMPOOL_ENTRY_H
|
||||
#ifndef BITCOIN_KERNEL_MEMPOOL_ENTRY_H
|
||||
#define BITCOIN_KERNEL_MEMPOOL_ENTRY_H
|
||||
|
||||
#include <consensus/amount.h>
|
||||
#include <consensus/validation.h>
|
||||
|
@ -171,4 +171,4 @@ public:
|
|||
mutable Epoch::Marker m_epoch_marker; //!< epoch when last touched, useful for graph algorithms
|
||||
};
|
||||
|
||||
#endif // BITCOIN_TXMEMPOOL_ENTRY_H
|
||||
#endif // BITCOIN_KERNEL_MEMPOOL_ENTRY_H
|
|
@ -16,6 +16,7 @@
|
|||
#include <hash.h>
|
||||
#include <headerssync.h>
|
||||
#include <index/blockfilterindex.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <merkleblock.h>
|
||||
#include <netbase.h>
|
||||
#include <netmessagemaker.h>
|
||||
|
@ -34,7 +35,6 @@
|
|||
#include <timedata.h>
|
||||
#include <tinyformat.h>
|
||||
#include <txmempool.h>
|
||||
#include <txmempool_entry.h>
|
||||
#include <txorphanage.h>
|
||||
#include <txrequest.h>
|
||||
#include <util/check.h> // For NDEBUG compile time check
|
||||
|
|
|
@ -15,17 +15,18 @@
|
|||
#include <interfaces/handler.h>
|
||||
#include <interfaces/node.h>
|
||||
#include <interfaces/wallet.h>
|
||||
#include <kernel/chain.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <mapport.h>
|
||||
#include <net.h>
|
||||
#include <net_processing.h>
|
||||
#include <netaddress.h>
|
||||
#include <netbase.h>
|
||||
#include <node/blockstorage.h>
|
||||
#include <kernel/chain.h>
|
||||
#include <node/coin.h>
|
||||
#include <node/context.h>
|
||||
#include <node/transaction.h>
|
||||
#include <node/interface_ui.h>
|
||||
#include <node/transaction.h>
|
||||
#include <policy/feerate.h>
|
||||
#include <policy/fees.h>
|
||||
#include <policy/policy.h>
|
||||
|
@ -39,7 +40,6 @@
|
|||
#include <support/allocators/secure.h>
|
||||
#include <sync.h>
|
||||
#include <txmempool.h>
|
||||
#include <txmempool_entry.h>
|
||||
#include <uint256.h>
|
||||
#include <univalue.h>
|
||||
#include <util/check.h>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <clientversion.h>
|
||||
#include <consensus/amount.h>
|
||||
#include <fs.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <logging.h>
|
||||
#include <policy/feerate.h>
|
||||
#include <primitives/transaction.h>
|
||||
|
@ -16,7 +17,6 @@
|
|||
#include <streams.h>
|
||||
#include <sync.h>
|
||||
#include <tinyformat.h>
|
||||
#include <txmempool_entry.h>
|
||||
#include <uint256.h>
|
||||
#include <util/serfloat.h>
|
||||
#include <util/system.h>
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
#include <policy/rbf.h>
|
||||
|
||||
#include <consensus/amount.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <policy/feerate.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <sync.h>
|
||||
#include <tinyformat.h>
|
||||
#include <txmempool.h>
|
||||
#include <txmempool_entry.h>
|
||||
#include <uint256.h>
|
||||
#include <util/moneystr.h>
|
||||
#include <util/rbf.h>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <chainparams.h>
|
||||
#include <core_io.h>
|
||||
#include <fs.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <node/mempool_persist_args.h>
|
||||
#include <policy/rbf.h>
|
||||
#include <policy/settings.h>
|
||||
|
@ -18,7 +19,6 @@
|
|||
#include <rpc/server_util.h>
|
||||
#include <rpc/util.h>
|
||||
#include <txmempool.h>
|
||||
#include <txmempool_entry.h>
|
||||
#include <univalue.h>
|
||||
#include <util/moneystr.h>
|
||||
#include <util/time.h>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <policy/fees.h>
|
||||
#include <policy/fees_args.h>
|
||||
#include <primitives/transaction.h>
|
||||
|
@ -11,7 +12,6 @@
|
|||
#include <test/fuzz/util/mempool.h>
|
||||
#include <test/util/setup_common.h>
|
||||
#include <txmempool.h>
|
||||
#include <txmempool_entry.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
|
||||
#include <consensus/amount.h>
|
||||
#include <consensus/consensus.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <test/fuzz/FuzzedDataProvider.h>
|
||||
#include <test/fuzz/util.h>
|
||||
#include <test/fuzz/util/mempool.h>
|
||||
#include <txmempool_entry.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#ifndef BITCOIN_TEST_FUZZ_UTIL_MEMPOOL_H
|
||||
#define BITCOIN_TEST_FUZZ_UTIL_MEMPOOL_H
|
||||
|
||||
#include <txmempool_entry.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <validation.h>
|
||||
|
||||
class CTransaction;
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <init.h>
|
||||
#include <init/common.h>
|
||||
#include <interfaces/chain.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <net.h>
|
||||
#include <net_processing.h>
|
||||
#include <node/blockstorage.h>
|
||||
|
@ -41,7 +42,6 @@
|
|||
#include <timedata.h>
|
||||
#include <txdb.h>
|
||||
#include <txmempool.h>
|
||||
#include <txmempool_entry.h>
|
||||
#include <util/strencodings.h>
|
||||
#include <util/string.h>
|
||||
#include <util/thread.h>
|
||||
|
|
|
@ -20,12 +20,12 @@
|
|||
#include <coins.h>
|
||||
#include <consensus/amount.h>
|
||||
#include <indirectmap.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <policy/feerate.h>
|
||||
#include <policy/packages.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <random.h>
|
||||
#include <sync.h>
|
||||
#include <txmempool_entry.h>
|
||||
#include <util/epochguard.h>
|
||||
#include <util/hasher.h>
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <flatfile.h>
|
||||
#include <fs.h>
|
||||
#include <hash.h>
|
||||
#include <kernel/mempool_entry.h>
|
||||
#include <logging.h>
|
||||
#include <logging/timer.h>
|
||||
#include <node/blockstorage.h>
|
||||
|
@ -42,7 +43,6 @@
|
|||
#include <tinyformat.h>
|
||||
#include <txdb.h>
|
||||
#include <txmempool.h>
|
||||
#include <txmempool_entry.h>
|
||||
#include <uint256.h>
|
||||
#include <undo.h>
|
||||
#include <util/check.h> // For NDEBUG compile time check
|
||||
|
|
Loading…
Reference in a new issue