Bitcoin
|
#include <bench/bench.h>
#include <interfaces/chain.h>
#include <wallet/coinselection.h>
#include <wallet/wallet.h>
#include <set>
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::State &state) |
static const CWallet | testWallet (testChain.get(), WalletLocation(), WalletDatabase::CreateDummy()) |
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::State &state) |
BENCHMARK (CoinSelection, 650) | |
BENCHMARK (BnBExhaustion, 650) | |
Variables | |
static auto | testChain = interfaces::MakeChain() |
std::vector< std::unique_ptr< CWalletTx > > | wtxn |
typedef std::set<CInputCoin> CoinSet |
|
static |
|
static |
BENCHMARK | ( | CoinSelection | , |
650 | |||
) |
BENCHMARK | ( | BnBExhaustion | , |
650 | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
std::vector<std::unique_ptr<CWalletTx> > wtxn |