![]() |
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>#include <validation.h>#include <vector>Go to the source code of this file.
Classes | |
| struct | Available |
Functions | |
| static void | AddTx (const CTransactionRef &tx, CTxMemPool &pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main |
| pool | addUnchecked (CTxMemPoolEntry(tx, 1000, nTime, nHeight, spendsCoinbase, sigOpCost, lp)) |
| static std::vector< CTransactionRef > | CreateOrderedCoins (FastRandomContext &det_rand, int childTxs, int min_ancestors) |
| static void | ComplexMemPool (benchmark::Bench &bench) |
| static void | MempoolCheck (benchmark::Bench &bench) |
| BENCHMARK (ComplexMemPool) | |
| BENCHMARK (MempoolCheck) | |
Variables | |
| static void pool | cs |
| unsigned int | nHeight = 1 |
| bool | spendsCoinbase = false |
| unsigned int | sigOpCost = 4 |
| LockPoints | lp |
|
static |
| pool addUnchecked | ( | CTxMemPoolEntry(tx, 1000, nTime, nHeight, spendsCoinbase, sigOpCost, lp) | ) |
| BENCHMARK | ( | ComplexMemPool | ) |
| BENCHMARK | ( | MempoolCheck | ) |
|
static |
|
static |
Definition at line 30 of file mempool_stress.cpp.
|
static |
| void pool cs |
Definition at line 13 of file mempool_stress.cpp.
| LockPoints lp |
Definition at line 19 of file mempool_stress.cpp.
| unsigned int nHeight = 1 |
Definition at line 16 of file mempool_stress.cpp.
| unsigned int sigOpCost = 4 |
Definition at line 18 of file mempool_stress.cpp.
| bool spendsCoinbase = false |
Definition at line 17 of file mempool_stress.cpp.