Bitcoin Core  27.99.0
P2P Digital Currency
Public Member Functions | List of all members
TestingSetup Struct Reference

Testing setup that configures a complete environment. More...

#include <setup_common.h>

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

Public Member Functions

 TestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={}, const bool coins_db_in_memory=true, const bool block_tree_db_in_memory=true)
 
- Public Member Functions inherited from ChainTestingSetup
 ChainTestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={})
 
 ~ChainTestingSetup ()
 
void LoadVerifyActivateChainstate ()
 
- Public Member Functions inherited from BasicTestingSetup
 BasicTestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={})
 
 ~BasicTestingSetup ()
 

Additional Inherited Members

- Public Attributes inherited from ChainTestingSetup
node::CacheSizes m_cache_sizes {}
 
bool m_coins_db_in_memory {true}
 
bool m_block_tree_db_in_memory {true}
 
- 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
 

Detailed Description

Testing setup that configures a complete environment.

Definition at line 85 of file setup_common.h.

Constructor & Destructor Documentation

◆ TestingSetup()

TestingSetup::TestingSetup ( const ChainType  chainType = ChainType::MAIN,
const std::vector< const char * > &  extra_args = {},
const bool  coins_db_in_memory = true,
const bool  block_tree_db_in_memory = true 
)
explicit

Definition at line 297 of file setup_common.cpp.

Here is the call graph for this function:

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