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

Basic testing setup. More...

#include <setup_common.h>

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

Public Member Functions

 BasicTestingSetup (const ChainType chainType=ChainType::MAIN, const std::vector< const char * > &extra_args={})
 
 ~BasicTestingSetup ()
 

Public Attributes

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

Basic testing setup.

This just configures logging, data dir and chain parameters.

Definition at line 52 of file setup_common.h.

Constructor & Destructor Documentation

◆ BasicTestingSetup()

BasicTestingSetup::BasicTestingSetup ( const ChainType  chainType = ChainType::MAIN,
const std::vector< const char * > &  extra_args = {} 
)
explicit

Definition at line 118 of file setup_common.cpp.

Here is the call graph for this function:

◆ ~BasicTestingSetup()

BasicTestingSetup::~BasicTestingSetup ( )

Definition at line 205 of file setup_common.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_args

ArgsManager BasicTestingSetup::m_args

Definition at line 62 of file setup_common.h.

◆ m_has_custom_datadir

bool BasicTestingSetup::m_has_custom_datadir {false}

Definition at line 61 of file setup_common.h.

◆ m_interrupt

util::SignalInterrupt BasicTestingSetup::m_interrupt

Definition at line 53 of file setup_common.h.

◆ m_node

node::NodeContext BasicTestingSetup::m_node

Definition at line 54 of file setup_common.h.

◆ m_path_lock

fs::path BasicTestingSetup::m_path_lock

Definition at line 60 of file setup_common.h.

◆ m_path_root

fs::path BasicTestingSetup::m_path_root

Definition at line 59 of file setup_common.h.


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