![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#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 <kernel/types.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>Go to the source code of this file.
Classes | |
| struct | TipBlock |
| struct | PreSelectInputs |
| struct | ChainstateRole |
| Information about chainstate that notifications are sent from. More... | |
Functions | |
| TipBlock | getTip (const CChainParams ¶ms, const node::NodeContext &context) |
| void | generateFakeBlock (const CChainParams ¶ms, 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 (WalletCreateTxUseOnlyPresetInputs) | |
| BENCHMARK (WalletCreateTxUsePresetInputsAndCoinSelection) | |
| BENCHMARK (WalletAvailableCoins) | |
| std::unique_ptr< WalletDatabase > | CreateMockableWalletDatabase (MockableData records) |
|
static |
Definition at line 171 of file wallet_create_tx.cpp.
| BENCHMARK | ( | WalletAvailableCoins | ) |
| BENCHMARK | ( | WalletCreateTxUseOnlyPresetInputs | ) |
| BENCHMARK | ( | WalletCreateTxUsePresetInputsAndCoinSelection | ) |
| std::unique_ptr< WalletDatabase > wallet::CreateMockableWalletDatabase | ( | MockableData | records = {} | ) |
| void generateFakeBlock | ( | const CChainParams & | params, |
| const node::NodeContext & | context, | ||
| CWallet & | wallet, | ||
| const CScript & | coinbase_out_script ) |
Definition at line 62 of file wallet_create_tx.cpp.
| TipBlock getTip | ( | const CChainParams & | params, |
| const node::NodeContext & | context ) |
Definition at line 55 of file wallet_create_tx.cpp.
|
static |
Definition at line 216 of file wallet_create_tx.cpp.
|
static |
Definition at line 115 of file wallet_create_tx.cpp.
|
static |
Definition at line 210 of file wallet_create_tx.cpp.
|
static |
Definition at line 213 of file wallet_create_tx.cpp.