Bitcoin Core  24.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | 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

void LoadVerifyActivateChainstate ()
 
 TestingSetup (const std::string &chainName=CBaseChainParams::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 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

bool m_coins_db_in_memory {true}
 
bool m_block_tree_db_in_memory {true}
 
- Public Attributes inherited from ChainTestingSetup
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 configures a complete environment.

Definition at line 108 of file setup_common.h.

Constructor & Destructor Documentation

◆ TestingSetup()

TestingSetup::TestingSetup ( const std::string &  chainName = CBaseChainParams::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 232 of file setup_common.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ LoadVerifyActivateChainstate()

void TestingSetup::LoadVerifyActivateChainstate ( )

Definition at line 209 of file setup_common.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_block_tree_db_in_memory

bool TestingSetup::m_block_tree_db_in_memory {true}

Definition at line 110 of file setup_common.h.

◆ m_coins_db_in_memory

bool TestingSetup::m_coins_db_in_memory {true}

Definition at line 109 of file setup_common.h.


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