Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Functions
wallet_create_tx.cpp File Reference
#include <addresstype.h>
#include <bench/bench.h>
#include <chain.h>
#include <chainparams.h>
#include <consensus/amount.h>
#include <consensus/consensus.h>
#include <consensus/merkle.h>
#include <interfaces/chain.h>
#include <kernel/chain.h>
#include <node/blockstorage.h>
#include <outputtype.h>
#include <policy/feerate.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <sync.h>
#include <test/util/setup_common.h>
#include <uint256.h>
#include <util/result.h>
#include <util/time.h>
#include <validation.h>
#include <versionbits.h>
#include <wallet/coincontrol.h>
#include <wallet/coinselection.h>
#include <wallet/spend.h>
#include <wallet/test/util.h>
#include <wallet/wallet.h>
#include <wallet/walletutil.h>
#include <cassert>
#include <cstdint>
#include <map>
#include <memory>
#include <optional>
#include <utility>
#include <vector>
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 162 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 60 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 53 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 207 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 106 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 201 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 204 of file wallet_create_tx.cpp.

Here is the call graph for this function: