Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
InitTestSetup Struct Reference

Like BasicTestingSetup, but using regtest network instead of mainnet. More...

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

Public Member Functions

 InitTestSetup ()
Public Member Functions inherited from BasicTestingSetup
void SeedRandomForTest (SeedRand seed)
 Seed the global RNG state and m_rng for testing and log the seed value.
 BasicTestingSetup (ChainType chainType=ChainType::MAIN, TestOpts={})
 ~BasicTestingSetup ()

Additional Inherited Members

Public Attributes inherited from BasicTestingSetup
util::SignalInterrupt m_interrupt
node::NodeContext m_node
FastRandomContext m_rng
fs::path m_path_root
fs::path m_path_lock
bool m_has_custom_datadir {false}
ArgsManager m_args
 Test-specific arguments and settings.

Detailed Description

Like BasicTestingSetup, but using regtest network instead of mainnet.

Definition at line 16 of file node_init_tests.cpp.

Constructor & Destructor Documentation

◆ InitTestSetup()

InitTestSetup::InitTestSetup ( )
inline

Definition at line 17 of file node_init_tests.cpp.

Here is the call graph for this function:

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