![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <bench/bench.h>#include <consensus/amount.h>#include <net.h>#include <policy/policy.h>#include <primitives/transaction.h>#include <pubkey.h>#include <script/sign.h>#include <test/util/setup_common.h>#include <node/txorphanage.h>#include <util/check.h>#include <test/util/transaction_utils.h>#include <cstdint>#include <memory>Go to the source code of this file.
Functions | |
| static CTransactionRef | MakeTransactionBulkedTo (unsigned int num_inputs, int64_t target_weight, FastRandomContext &det_rand) |
| static CTransactionRef | MakeTransactionSpendingUpTo (const std::vector< CTxIn > &inputs, unsigned int start_input, unsigned int num_inputs, int64_t weight_limit) |
| static void | OrphanageSinglePeerEviction (benchmark::Bench &bench) |
| static void | OrphanageMultiPeerEviction (benchmark::Bench &bench) |
| static void | OrphanageEraseAll (benchmark::Bench &bench, bool block_or_disconnect) |
| static void | OrphanageEraseForBlock (benchmark::Bench &bench) |
| static void | OrphanageEraseForPeer (benchmark::Bench &bench) |
| BENCHMARK (OrphanageSinglePeerEviction) | |
| BENCHMARK (OrphanageMultiPeerEviction) | |
| BENCHMARK (OrphanageEraseForBlock) | |
| BENCHMARK (OrphanageEraseForPeer) | |
Variables | |
| static constexpr node::TxOrphanage::Usage | TINY_TX_WEIGHT {240} |
| static constexpr int64_t | APPROX_WEIGHT_PER_INPUT {200} |
| BENCHMARK | ( | OrphanageEraseForBlock | ) |
| BENCHMARK | ( | OrphanageEraseForPeer | ) |
| BENCHMARK | ( | OrphanageMultiPeerEviction | ) |
| BENCHMARK | ( | OrphanageSinglePeerEviction | ) |
|
static |
Definition at line 25 of file txorphanage.cpp.
|
static |
Definition at line 45 of file txorphanage.cpp.
|
static |
Definition at line 189 of file txorphanage.cpp.
|
static |
|
static |
|
static |
|
static |
|
staticconstexpr |
Definition at line 21 of file txorphanage.cpp.
|
staticconstexpr |
Definition at line 20 of file txorphanage.cpp.