Bitcoin Core  24.99.0
P2P Digital Currency
Functions
wallet_loading.cpp File Reference
#include <bench/bench.h>
#include <interfaces/chain.h>
#include <node/context.h>
#include <test/util/mining.h>
#include <test/util/setup_common.h>
#include <test/util/wallet.h>
#include <util/translation.h>
#include <validationinterface.h>
#include <wallet/context.h>
#include <wallet/receive.h>
#include <wallet/wallet.h>
#include <optional>
Include dependency graph for wallet_loading.cpp:

Go to the source code of this file.

Functions

static const std::shared_ptr< CWalletBenchLoadWallet (std::unique_ptr< WalletDatabase > database, WalletContext &context, DatabaseOptions &options)
 
static void BenchUnloadWallet (std::shared_ptr< CWallet > &&wallet)
 
static void AddTx (CWallet &wallet)
 
static std::unique_ptr< WalletDatabaseDuplicateMockDatabase (WalletDatabase &database, DatabaseOptions &options)
 
static void WalletLoading (benchmark::Bench &bench, bool legacy_wallet)
 

Function Documentation

◆ AddTx()

static void AddTx ( CWallet wallet)
static

Definition at line 46 of file wallet_loading.cpp.

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

◆ BenchLoadWallet()

static const std::shared_ptr<CWallet> BenchLoadWallet ( std::unique_ptr< WalletDatabase database,
WalletContext context,
DatabaseOptions options 
)
static

Definition at line 27 of file wallet_loading.cpp.

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

◆ BenchUnloadWallet()

static void BenchUnloadWallet ( std::shared_ptr< CWallet > &&  wallet)
static

Definition at line 39 of file wallet_loading.cpp.

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

◆ DuplicateMockDatabase()

static std::unique_ptr<WalletDatabase> DuplicateMockDatabase ( WalletDatabase database,
DatabaseOptions options 
)
static

Definition at line 55 of file wallet_loading.cpp.

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

◆ WalletLoading()

static void WalletLoading ( benchmark::Bench bench,
bool  legacy_wallet 
)
static

Definition at line 79 of file wallet_loading.cpp.

Here is the call graph for this function: