Bitcoin Core 28.99.0
P2P Digital Currency
|
Testing setup that performs all steps up until right before ChainstateManager gets initialized. More...
#include <setup_common.h>
Public Member Functions | |
ChainTestingSetup (const ChainType chainType=ChainType::MAIN, TestOpts={}) | |
~ChainTestingSetup () | |
void | LoadVerifyActivateChainstate () |
Public Member Functions inherited from BasicTestingSetup | |
void | SeedRandomForTest (SeedRand seed) |
Seed the global RNG state and m_rng for testing and log the seed value. More... | |
BasicTestingSetup (const ChainType chainType=ChainType::MAIN, TestOpts={}) | |
~BasicTestingSetup () | |
Public Attributes | |
node::CacheSizes | m_cache_sizes {} |
bool | m_coins_db_in_memory {true} |
bool | m_block_tree_db_in_memory {true} |
std::function< void()> | m_make_chainman {} |
Public Attributes inherited from BasicTestingSetup | |
util::SignalInterrupt | m_interrupt |
node::NodeContext | m_node |
FastRandomContext | m_rng |
fs::path | m_path_root |
fs::path | m_path_lock |
bool | m_has_custom_datadir {false} |
ArgsManager | m_args |
Test-specific arguments and settings. More... | |
Testing setup that performs all steps up until right before ChainstateManager gets initialized.
Meant for testing ChainstateManager initialization behaviour.
Definition at line 105 of file setup_common.h.
|
explicit |
ChainTestingSetup::~ChainTestingSetup | ( | ) |
Definition at line 266 of file setup_common.cpp.
void ChainTestingSetup::LoadVerifyActivateChainstate | ( | ) |
Definition at line 282 of file setup_common.cpp.
bool ChainTestingSetup::m_block_tree_db_in_memory {true} |
Definition at line 108 of file setup_common.h.
node::CacheSizes ChainTestingSetup::m_cache_sizes {} |
Definition at line 106 of file setup_common.h.
bool ChainTestingSetup::m_coins_db_in_memory {true} |
Definition at line 107 of file setup_common.h.
std::function<void()> ChainTestingSetup::m_make_chainman {} |
Definition at line 109 of file setup_common.h.