Bitcoin Core  26.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:
Collaboration diagram for BasicTestingSetup:

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
const fs::path m_path_root
ArgsManager m_args

Detailed Description

Basic testing setup.

This just configures logging, data dir and chain parameters.

Definition at line 49 of file setup_common.h.

Constructor & Destructor Documentation

◆ BasicTestingSetup()

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

Definition at line 103 of file setup_common.cpp.

Here is the call graph for this function:

◆ ~BasicTestingSetup()

BasicTestingSetup::~BasicTestingSetup ( )

Definition at line 160 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 57 of file setup_common.h.

◆ m_interrupt

util::SignalInterrupt BasicTestingSetup::m_interrupt

Definition at line 50 of file setup_common.h.

◆ m_node

node::NodeContext BasicTestingSetup::m_node

Definition at line 51 of file setup_common.h.

◆ m_path_root

const fs::path BasicTestingSetup::m_path_root

Definition at line 56 of file setup_common.h.

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