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, TestOpts={})
 
 ~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 63 of file setup_common.h.

Constructor & Destructor Documentation

◆ BasicTestingSetup()

BasicTestingSetup::BasicTestingSetup ( const ChainType  chainType = ChainType::MAIN,
TestOpts  opts = {} 
)
explicit

Definition at line 123 of file setup_common.cpp.

Here is the call graph for this function:

◆ ~BasicTestingSetup()

BasicTestingSetup::~BasicTestingSetup ( )

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

◆ m_has_custom_datadir

bool BasicTestingSetup::m_has_custom_datadir {false}

Definition at line 72 of file setup_common.h.

◆ m_interrupt

util::SignalInterrupt BasicTestingSetup::m_interrupt

Definition at line 64 of file setup_common.h.

◆ m_node

node::NodeContext BasicTestingSetup::m_node

Definition at line 65 of file setup_common.h.

◆ m_path_lock

fs::path BasicTestingSetup::m_path_lock

Definition at line 71 of file setup_common.h.

◆ m_path_root

fs::path BasicTestingSetup::m_path_root

Definition at line 70 of file setup_common.h.


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