Bitcoin Core  24.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
ChainTestingSetup Struct Reference

Testing setup that performs all steps up until right before ChainstateManager gets initialized. More...

#include <setup_common.h>

Inheritance diagram for ChainTestingSetup:
[legend]
Collaboration diagram for ChainTestingSetup:
[legend]

Public Member Functions

 ChainTestingSetup (const std::string &chainName=CBaseChainParams::MAIN, const std::vector< const char * > &extra_args={})
 
 ~ChainTestingSetup ()
 
- Public Member Functions inherited from BasicTestingSetup
 BasicTestingSetup (const std::string &chainName=CBaseChainParams::MAIN, const std::vector< const char * > &extra_args={})
 
 ~BasicTestingSetup ()
 

Public Attributes

node::CacheSizes m_cache_sizes {}
 
- Public Attributes inherited from BasicTestingSetup
node::NodeContext m_node
 
const fs::path m_path_root
 
ArgsManager m_args
 

Detailed Description

Testing setup that performs all steps up until right before ChainstateManager gets initialized.

Meant for testing ChainstateManager initialization behaviour.

Definition at line 99 of file setup_common.h.

Constructor & Destructor Documentation

◆ ChainTestingSetup()

ChainTestingSetup::ChainTestingSetup ( const std::string &  chainName = CBaseChainParams::MAIN,
const std::vector< const char * > &  extra_args = {} 
)
explicit

Definition at line 165 of file setup_common.cpp.

Here is the call graph for this function:

◆ ~ChainTestingSetup()

ChainTestingSetup::~ChainTestingSetup ( )

Definition at line 193 of file setup_common.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_cache_sizes

node::CacheSizes ChainTestingSetup::m_cache_sizes {}

Definition at line 100 of file setup_common.h.


The documentation for this struct was generated from the following files: