![]() |
Bitcoin Core
28.1.0
P2P Digital Currency
|
#include <bench/bench.h>#include <kernel/mempool_entry.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, sequence, spendsCoinbase, sigOpCost, lp)) |
| static void | MempoolEviction (benchmark::Bench &bench) |
| BENCHMARK (MempoolEviction, benchmark::PriorityLevel::HIGH) | |
Variables | |
| static void pool | cs |
| unsigned int | nHeight = 1 |
| uint64_t | sequence = 0 |
| bool | spendsCoinbase = false |
| unsigned int | sigOpCost = 4 |
| LockPoints | lp |
|
static |
| pool addUnchecked | ( | CTxMemPoolEntry(tx, nFee, nTime, nHeight, sequence, spendsCoinbase, sigOpCost, lp) | ) |
| BENCHMARK | ( | MempoolEviction | , |
| benchmark::PriorityLevel::HIGH | |||
| ) |
|
static |
| void pool cs |
Definition at line 13 of file mempool_eviction.cpp.
| LockPoints lp |
Definition at line 19 of file mempool_eviction.cpp.
| unsigned int nHeight = 1 |
Definition at line 15 of file mempool_eviction.cpp.
| uint64_t sequence = 0 |
Definition at line 16 of file mempool_eviction.cpp.
| unsigned int sigOpCost = 4 |
Definition at line 18 of file mempool_eviction.cpp.
| bool spendsCoinbase = false |
Definition at line 17 of file mempool_eviction.cpp.
1.8.14