![]() |
Bitcoin ABC
0.22.13
P2P Digital Currency
|
#include <bench/bench.h>
#include <policy/policy.h>
#include <test/util/setup_common.h>
#include <txmempool.h>
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 (CTxMemPoolEntry(tx, nFee, nTime, nHeight, spendsCoinbase, nSigOpCount, lp)) |
static void | MempoolEviction (benchmark::State &state) |
BENCHMARK (MempoolEviction, 41000) | |
Variables | |
static void pool | cs |
unsigned int | nHeight = 1 |
bool | spendsCoinbase = false |
unsigned int | nSigOpCount = 1 |
LockPoints | lp |
|
static |
pool addUnchecked | ( | CTxMemPoolEntry(tx, nFee, nTime, nHeight, spendsCoinbase, nSigOpCount, lp) | ) |
BENCHMARK | ( | MempoolEviction | , |
41000 | |||
) |
|
static |
void pool cs |
Definition at line 11 of file mempool_eviction.cpp.
LockPoints lp |
Definition at line 16 of file mempool_eviction.cpp.
unsigned int nHeight = 1 |
Definition at line 13 of file mempool_eviction.cpp.
unsigned int nSigOpCount = 1 |
Definition at line 15 of file mempool_eviction.cpp.
bool spendsCoinbase = false |
Definition at line 14 of file mempool_eviction.cpp.