![]() |
Bitcoin Core
28.1.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 | |
| 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 |
| 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 81 of file setup_common.h.
|
explicit |
| ChainTestingSetup::~ChainTestingSetup | ( | ) |
Definition at line 277 of file setup_common.cpp.
| void ChainTestingSetup::LoadVerifyActivateChainstate | ( | ) |
Definition at line 293 of file setup_common.cpp.
| bool ChainTestingSetup::m_block_tree_db_in_memory {true} |
Definition at line 84 of file setup_common.h.
| node::CacheSizes ChainTestingSetup::m_cache_sizes {} |
Definition at line 82 of file setup_common.h.
| bool ChainTestingSetup::m_coins_db_in_memory {true} |
Definition at line 83 of file setup_common.h.
| std::function<void()> ChainTestingSetup::m_make_chainman {} |
Definition at line 85 of file setup_common.h.
1.8.14