Bitcoin ABC  0.26.3
P2P Digital Currency
Classes | Functions | Variables
txmempool.cpp File Reference
#include <txmempool.h>
#include <chain.h>
#include <chainparams.h>
#include <clientversion.h>
#include <coins.h>
#include <config.h>
#include <consensus/consensus.h>
#include <consensus/tx_verify.h>
#include <consensus/validation.h>
#include <policy/fees.h>
#include <policy/mempool.h>
#include <policy/policy.h>
#include <policy/settings.h>
#include <reverse_iterator.h>
#include <util/moneystr.h>
#include <util/system.h>
#include <util/time.h>
#include <validation.h>
#include <validationinterface.h>
#include <version.h>
#include <algorithm>
#include <cmath>
Include dependency graph for txmempool.cpp:

Go to the source code of this file.

Classes

struct  update_descendant_state
 
struct  update_ancestor_state
 

Functions

bool TestLockPointValidity (const CChain &active_chain, const LockPoints &lp)
 Test whether the LockPoints height and time are still valid on the current chain. More...
 
static TxMempoolInfo GetInfo (CTxMemPool::indexed_transaction_set::const_iterator it)
 

Variables

static const size_t MAX_DISCONNECTED_TX_POOL_SIZE = 20 * DEFAULT_MAX_BLOCK_SIZE
 Maximum bytes for transactions to store for processing during reorg. More...
 

Function Documentation

◆ GetInfo()

static TxMempoolInfo GetInfo ( CTxMemPool::indexed_transaction_set::const_iterator  it)
static

Definition at line 974 of file txmempool.cpp.

Here is the caller graph for this function:

◆ TestLockPointValidity()

bool TestLockPointValidity ( const CChain active_chain,
const LockPoints lp 
)

Test whether the LockPoints height and time are still valid on the current chain.

Definition at line 68 of file txmempool.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ MAX_DISCONNECTED_TX_POOL_SIZE

const size_t MAX_DISCONNECTED_TX_POOL_SIZE = 20 * DEFAULT_MAX_BLOCK_SIZE
static

Maximum bytes for transactions to store for processing during reorg.

Definition at line 1379 of file txmempool.cpp.