Bitcoin ABC  0.24.7
P2P Digital Currency
Functions | Variables
mempool_eviction.cpp File Reference
#include <bench/bench.h>
#include <policy/policy.h>
#include <test/util/setup_common.h>
#include <txmempool.h>
Include dependency graph for mempool_eviction.cpp:

Go to the source code of this file.


static void AddTx (const CTransactionRef &tx, const Amount &nFee, CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main
pool addUnchecked (CTxMemPoolEntry(tx, nFee, nTime, nHeight, spendsCoinbase, nSigOpCount, lp))
static void MempoolEviction (benchmark::Bench &bench)
 BENCHMARK (MempoolEviction)


static void pool cs
unsigned int nHeight = 1
bool spendsCoinbase = false
unsigned int nSigOpCount = 1
LockPoints lp

Function Documentation

◆ AddTx()

static void AddTx ( const CTransactionRef tx,
const Amount nFee,
CTxMemPool pool 
Here is the caller graph for this function:

◆ addUnchecked()

pool addUnchecked ( CTxMemPoolEntry(tx, nFee, nTime, nHeight, spendsCoinbase, nSigOpCount, lp )


BENCHMARK ( MempoolEviction  )

◆ MempoolEviction()

static void MempoolEviction ( benchmark::Bench bench)

Definition at line 24 of file mempool_eviction.cpp.

Here is the call graph for this function:

Variable Documentation

◆ cs

void pool cs
Initial value:
int64_t nTime = 0

Definition at line 11 of file mempool_eviction.cpp.

◆ lp

Definition at line 16 of file mempool_eviction.cpp.

◆ nHeight

unsigned int nHeight = 1

Definition at line 13 of file mempool_eviction.cpp.

◆ nSigOpCount

unsigned int nSigOpCount = 1

Definition at line 15 of file mempool_eviction.cpp.

◆ spendsCoinbase

bool spendsCoinbase = false

Definition at line 14 of file mempool_eviction.cpp.