Bitcoin ABC  0.22.13
P2P Digital Currency
Functions | Variables
txmempool.cpp File Reference
#include <txmempool.h>
#include <chain.h>
#include <chainparams.h>
#include <clientversion.h>
#include <config.h>
#include <consensus/consensus.h>
#include <consensus/tx_verify.h>
#include <consensus/validation.h>
#include <policy/fees.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 dependency graph for txmempool.cpp:

Go to the source code of this file.

Functions

static void CheckInputsAndUpdateCoins (const CTransaction &tx, CCoinsViewCache &mempoolDuplicate, const int64_t spendheight)
 
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

◆ CheckInputsAndUpdateCoins()

static void CheckInputsAndUpdateCoins ( const CTransaction tx,
CCoinsViewCache mempoolDuplicate,
const int64_t  spendheight 
)
static

Definition at line 691 of file txmempool.cpp.

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

◆ GetInfo()

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

Definition at line 903 of file txmempool.cpp.

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 1297 of file txmempool.cpp.