![]() |
Bitcoin Core
22.0.0
P2P Digital Currency
|
#include <bench/bench.h>#include <interfaces/chain.h>#include <node/context.h>#include <wallet/coinselection.h>#include <wallet/wallet.h>#include <set>Go to the source code of this file.
Typedefs | |
| typedef std::set< CInputCoin > | CoinSet |
Functions | |
| static void | addCoin (const CAmount &nValue, const CWallet &wallet, std::vector< std::unique_ptr< CWalletTx >> &wtxs) |
| static void | CoinSelection (benchmark::Bench &bench) |
| static CWallet | testWallet (testChain.get(), "", CreateDummyWalletDatabase()) |
| static void | add_coin (const CAmount &nValue, int nInput, std::vector< OutputGroup > &set) |
| static CAmount | make_hard_case (int utxos, std::vector< OutputGroup > &utxo_pool) |
| static void | BnBExhaustion (benchmark::Bench &bench) |
| BENCHMARK (CoinSelection) | |
| BENCHMARK (BnBExhaustion) | |
Variables | |
| static NodeContext | testNode |
| static auto | testChain = interfaces::MakeChain(testNode) |
| std::vector< std::unique_ptr< CWalletTx > > | wtxn |
| typedef std::set<CInputCoin> CoinSet |
Definition at line 66 of file coin_selection.cpp.
|
static |
Definition at line 73 of file coin_selection.cpp.
|
static |
Definition at line 13 of file coin_selection.cpp.
| BENCHMARK | ( | CoinSelection | ) |
| BENCHMARK | ( | BnBExhaustion | ) |
|
static |
|
static |
|
static |
Definition at line 84 of file coin_selection.cpp.
|
static |
|
static |
Definition at line 68 of file coin_selection.cpp.
|
static |
Definition at line 67 of file coin_selection.cpp.
| std::vector<std::unique_ptr<CWalletTx> > wtxn |
Definition at line 70 of file coin_selection.cpp.
1.8.14