![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <coins.h>#include <consensus/amount.h>#include <indirectmap.h>#include <kernel/cs_main.h>#include <kernel/mempool_entry.h>#include <kernel/mempool_limits.h>#include <kernel/mempool_options.h>#include <kernel/mempool_removal_reason.h>#include <policy/feerate.h>#include <policy/packages.h>#include <primitives/transaction.h>#include <primitives/transaction_identifier.h>#include <sync.h>#include <txgraph.h>#include <util/epochguard.h>#include <util/feefrac.h>#include <util/hasher.h>#include <util/result.h>#include <boost/multi_index/hashed_index.hpp>#include <boost/multi_index/identity.hpp>#include <boost/multi_index/indexed_by.hpp>#include <boost/multi_index/ordered_index.hpp>#include <boost/multi_index/sequenced_index.hpp>#include <boost/multi_index/tag.hpp>#include <boost/multi_index_container.hpp>#include <atomic>#include <map>#include <optional>#include <set>#include <string>#include <string_view>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | mempoolentry_txid |
| struct | mempoolentry_wtxid |
| class | CompareTxMemPoolEntryByEntryTime |
| struct | entry_time |
| struct | index_by_wtxid |
| struct | TxMempoolInfo |
| Information about a mempool transaction. More... | |
| class | CTxMemPool |
| CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the next block. More... | |
| struct | CTxMemPool::CTxMemPoolEntry_Indices |
| struct | CTxMemPool::delta_info |
| class | CTxMemPool::ChangeSet |
| class | CCoinsViewMemPool |
| CCoinsView that brings transactions from a mempool into view. More... | |
Functions | |
| bool | TestLockPointValidity (CChain &active_chain, const LockPoints &lp) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
| Test whether the LockPoints height and time are still valid on the current chain. More... | |
Variables | |
| static const uint32_t | MEMPOOL_HEIGHT = 0x7FFFFFFF |
| Fake height value used in Coin to signify they are only in the memory pool (since 0.8) More... | |
| static constexpr uint64_t | ACCEPTABLE_ITERS = 1'700 |
| How many linearization iterations required for TxGraph clusters to have "acceptable" quality, if they cannot be optimally linearized with fewer iterations. More... | |
| static constexpr uint64_t | POST_CHANGE_WORK = 5 * ACCEPTABLE_ITERS |
| How much work we ask TxGraph to do after a mempool change occurs (either due to a changeset being applied, a new block being found, or a reorg). More... | |
| bool TestLockPointValidity | ( | CChain & | active_chain, |
| const LockPoints & | lp | ||
| ) |
Test whether the LockPoints height and time are still valid on the current chain.
Definition at line 40 of file txmempool.cpp.
|
staticconstexpr |
How many linearization iterations required for TxGraph clusters to have "acceptable" quality, if they cannot be optimally linearized with fewer iterations.
Definition at line 56 of file txmempool.h.
|
static |
Fake height value used in Coin to signify they are only in the memory pool (since 0.8)
Definition at line 51 of file txmempool.h.
|
staticconstexpr |
How much work we ask TxGraph to do after a mempool change occurs (either due to a changeset being applied, a new block being found, or a reorg).
Definition at line 60 of file txmempool.h.