![]() |
Bitcoin Core
24.99.0
P2P Digital Currency
|
Testing setup and teardown for wallet. More...
#include <wallet_test_fixture.h>
Public Member Functions | |
WalletTestingSetup (const std::string &chainName=CBaseChainParams::MAIN) | |
~WalletTestingSetup () | |
![]() | |
void | LoadVerifyActivateChainstate () |
TestingSetup (const std::string &chainName=CBaseChainParams::MAIN, const std::vector< const char * > &extra_args={}, const bool coins_db_in_memory=true, const bool block_tree_db_in_memory=true) | |
![]() | |
ChainTestingSetup (const std::string &chainName=CBaseChainParams::MAIN, const std::vector< const char * > &extra_args={}) | |
~ChainTestingSetup () | |
![]() | |
BasicTestingSetup (const std::string &chainName=CBaseChainParams::MAIN, const std::vector< const char * > &extra_args={}) | |
~BasicTestingSetup () | |
Public Attributes | |
std::unique_ptr< interfaces::WalletLoader > | m_wallet_loader |
CWallet | m_wallet |
std::unique_ptr< interfaces::Handler > | m_chain_notifications_handler |
![]() | |
bool | m_coins_db_in_memory {true} |
bool | m_block_tree_db_in_memory {true} |
![]() | |
node::CacheSizes | m_cache_sizes {} |
![]() | |
node::NodeContext | m_node |
const fs::path | m_path_root |
ArgsManager | m_args |
Testing setup and teardown for wallet.
Definition at line 21 of file wallet_test_fixture.h.
|
explicit |
wallet::WalletTestingSetup::~WalletTestingSetup | ( | ) |
Definition at line 20 of file wallet_test_fixture.cpp.
std::unique_ptr<interfaces::Handler> wallet::WalletTestingSetup::m_chain_notifications_handler |
Definition at line 27 of file wallet_test_fixture.h.
CWallet wallet::WalletTestingSetup::m_wallet |
Definition at line 26 of file wallet_test_fixture.h.
std::unique_ptr<interfaces::WalletLoader> wallet::WalletTestingSetup::m_wallet_loader |
Definition at line 25 of file wallet_test_fixture.h.