Bitcoin Core 28.99.0
P2P Digital Currency
Functions
txmempool.cpp File Reference
#include <txmempool.h>
#include <chain.h>
#include <coins.h>
#include <common/system.h>
#include <consensus/consensus.h>
#include <consensus/tx_verify.h>
#include <consensus/validation.h>
#include <logging.h>
#include <policy/policy.h>
#include <policy/settings.h>
#include <random.h>
#include <tinyformat.h>
#include <util/check.h>
#include <util/feefrac.h>
#include <util/moneystr.h>
#include <util/overflow.h>
#include <util/result.h>
#include <util/time.h>
#include <util/trace.h>
#include <util/translation.h>
#include <validationinterface.h>
#include <algorithm>
#include <cmath>
#include <numeric>
#include <optional>
#include <ranges>
#include <string_view>
#include <utility>
Include dependency graph for txmempool.cpp:

Go to the source code of this file.

Functions

 TRACEPOINT_SEMAPHORE (mempool, added)
 
 TRACEPOINT_SEMAPHORE (mempool, removed)
 
bool TestLockPointValidity (CChain &active_chain, const LockPoints &lp)
 Test whether the LockPoints height and time are still valid on the current chain. More...
 
static CTxMemPool::Options && Flatten (CTxMemPool::Options &&opts, bilingual_str &error)
 Clamp option values and populate the error if options are not valid. More...
 
static TxMempoolInfo GetInfo (CTxMemPool::indexed_transaction_set::const_iterator it)
 

Function Documentation

◆ Flatten()

static CTxMemPool::Options && Flatten ( CTxMemPool::Options &&  opts,
bilingual_str error 
)
static

Clamp option values and populate the error if options are not valid.

Definition at line 404 of file txmempool.cpp.

Here is the call graph for this function:

◆ GetInfo()

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

Definition at line 847 of file txmempool.cpp.

Here is the caller graph for this function:

◆ TestLockPointValidity()

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.

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

◆ TRACEPOINT_SEMAPHORE() [1/2]

TRACEPOINT_SEMAPHORE ( mempool  ,
added   
)

◆ TRACEPOINT_SEMAPHORE() [2/2]

TRACEPOINT_SEMAPHORE ( mempool  ,
removed   
)