Bitcoin ABC 0.30.7
P2P Digital Currency
Functions | Variables
mempool_eviction.cpp File Reference
#include <bench/bench.h>
#include <consensus/amount.h>
#include <kernel/mempool_entry.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.

Functions

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

Variables

static void pool cs
 
unsigned int nHeight = 1
 
unsigned int nSigChecks = 1
 
LockPoints lp
 

Function Documentation

◆ AddTx()

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

◆ addUnchecked()

pool addUnchecked ( CTxMemPoolEntryRef::make(tx, nFee, nTime, nHeight, nSigChecks, lp )

◆ BENCHMARK()

BENCHMARK ( MempoolEviction  )

◆ MempoolEviction()

static void MempoolEviction ( benchmark::Bench bench)
static

Definition at line 25 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 13 of file mempool_eviction.cpp.

◆ lp

Definition at line 17 of file mempool_eviction.cpp.

◆ nHeight

unsigned int nHeight = 1

Definition at line 15 of file mempool_eviction.cpp.

◆ nSigChecks

unsigned int nSigChecks = 1

Definition at line 16 of file mempool_eviction.cpp.