![]() |
Bitcoin Core 22.99.0
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 CAmount &nFee, CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main |
| pool | addUnchecked (CTxMemPoolEntry(tx, nFee, nTime, nHeight, spendsCoinbase, sigOpCost, lp)) |
| static void | MempoolEviction (benchmark::Bench &bench) |
| BENCHMARK (MempoolEviction) | |
Variables | |
| static void pool | cs |
| unsigned int | nHeight = 1 |
| bool | spendsCoinbase = false |
| unsigned int | sigOpCost = 4 |
| LockPoints | lp |
|
static |
| pool addUnchecked | ( | CTxMemPoolEntry(tx, nFee, nTime, nHeight, spendsCoinbase, sigOpCost, lp) | ) |
| BENCHMARK | ( | MempoolEviction | ) |
|
static |
| void pool cs |
Definition at line 11 of file mempool_eviction.cpp.
| LockPoints lp |
Definition at line 17 of file mempool_eviction.cpp.
| unsigned int nHeight = 1 |
Definition at line 14 of file mempool_eviction.cpp.
| unsigned int sigOpCost = 4 |
Definition at line 16 of file mempool_eviction.cpp.
| bool spendsCoinbase = false |
Definition at line 15 of file mempool_eviction.cpp.