Bitcoin Core  26.99.0
P2P Digital Currency
Classes | Functions
wallet_create_tx.cpp File Reference
#include <bench/bench.h>
#include <chainparams.h>
#include <wallet/coincontrol.h>
#include <consensus/merkle.h>
#include <kernel/chain.h>
#include <node/context.h>
#include <test/util/setup_common.h>
#include <validation.h>
#include <wallet/spend.h>
#include <wallet/test/util.h>
#include <wallet/wallet.h>
Include dependency graph for wallet_create_tx.cpp:

Go to the source code of this file.

Classes

struct  TipBlock
 
struct  PreSelectInputs
 

Functions

TipBlock getTip (const CChainParams &params, const node::NodeContext &context)
 
void generateFakeBlock (const CChainParams &params, const node::NodeContext &context, CWallet &wallet, const CScript &coinbase_out_script)
 
static void WalletCreateTx (benchmark::Bench &bench, const OutputType output_type, bool allow_other_inputs, std::optional< PreSelectInputs > preset_inputs)
 
static void AvailableCoins (benchmark::Bench &bench, const std::vector< OutputType > &output_type)
 
static void WalletCreateTxUseOnlyPresetInputs (benchmark::Bench &bench)
 
static void WalletCreateTxUsePresetInputsAndCoinSelection (benchmark::Bench &bench)
 
static void WalletAvailableCoins (benchmark::Bench &bench)
 
 BENCHMARK (WalletAvailableCoins, benchmark::PriorityLevel::LOW)
 

Function Documentation

◆ AvailableCoins()

static void AvailableCoins ( benchmark::Bench bench,
const std::vector< OutputType > &  output_type 
)
static

Definition at line 137 of file wallet_create_tx.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BENCHMARK()

◆ generateFakeBlock()

void generateFakeBlock ( const CChainParams params,
const node::NodeContext context,
CWallet wallet,
const CScript coinbase_out_script 
)

Definition at line 35 of file wallet_create_tx.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTip()

TipBlock getTip ( const CChainParams params,
const node::NodeContext context 
)

Definition at line 28 of file wallet_create_tx.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WalletAvailableCoins()

static void WalletAvailableCoins ( benchmark::Bench bench)
static

Definition at line 182 of file wallet_create_tx.cpp.

Here is the call graph for this function:

◆ WalletCreateTx()

static void WalletCreateTx ( benchmark::Bench bench,
const OutputType  output_type,
bool  allow_other_inputs,
std::optional< PreSelectInputs preset_inputs 
)
static

Definition at line 81 of file wallet_create_tx.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WalletCreateTxUseOnlyPresetInputs()

static void WalletCreateTxUseOnlyPresetInputs ( benchmark::Bench bench)
static

Definition at line 176 of file wallet_create_tx.cpp.

Here is the call graph for this function:

◆ WalletCreateTxUsePresetInputsAndCoinSelection()

static void WalletCreateTxUsePresetInputsAndCoinSelection ( benchmark::Bench bench)
static

Definition at line 179 of file wallet_create_tx.cpp.

Here is the call graph for this function: