![]() |
Bitcoin Core
27.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 () |
![]() | |
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} |
![]() | |
util::SignalInterrupt | m_interrupt |
node::NodeContext | m_node |
fs::path | m_path_root |
fs::path | m_path_lock |
bool | m_has_custom_datadir {false} |
ArgsManager | m_args |
Testing setup that performs all steps up until right before ChainstateManager gets initialized.
Meant for testing ChainstateManager initialization behaviour.
Definition at line 80 of file setup_common.h.
|
explicit |
ChainTestingSetup::~ChainTestingSetup | ( | ) |
Definition at line 269 of file setup_common.cpp.
void ChainTestingSetup::LoadVerifyActivateChainstate | ( | ) |
Definition at line 285 of file setup_common.cpp.
bool ChainTestingSetup::m_block_tree_db_in_memory {true} |
Definition at line 83 of file setup_common.h.
node::CacheSizes ChainTestingSetup::m_cache_sizes {} |
Definition at line 81 of file setup_common.h.
bool ChainTestingSetup::m_coins_db_in_memory {true} |
Definition at line 82 of file setup_common.h.