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

#include <init_test_fixture.h>

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

Public Member Functions

 InitWalletDirTestingSetup (const std::string &chainName=CBaseChainParams::MAIN)
 
 ~InitWalletDirTestingSetup ()
 
void SetWalletDir (const fs::path &walletdir_path)
 

Public Attributes

fs::path m_datadir
 
fs::path m_cwd
 
std::map< std::string, fs::path > m_walletdir_path_cases
 
NodeContext m_node
 
std::unique_ptr< interfaces::Chainm_chain = interfaces::MakeChain(m_node)
 
std::unique_ptr< interfaces::ChainClientm_chain_client
 

Detailed Description

Definition at line 13 of file init_test_fixture.h.

Constructor & Destructor Documentation

◆ InitWalletDirTestingSetup()

InitWalletDirTestingSetup::InitWalletDirTestingSetup ( const std::string &  chainName = CBaseChainParams::MAIN)
explicit

Definition at line 10 of file init_test_fixture.cpp.

Here is the call graph for this function:

◆ ~InitWalletDirTestingSetup()

InitWalletDirTestingSetup::~InitWalletDirTestingSetup ( )

Definition at line 37 of file init_test_fixture.cpp.

Member Function Documentation

◆ SetWalletDir()

void InitWalletDirTestingSetup::SetWalletDir ( const fs::path &  walletdir_path)

Definition at line 42 of file init_test_fixture.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_chain

std::unique_ptr<interfaces::Chain> InitWalletDirTestingSetup::m_chain = interfaces::MakeChain(m_node)

Definition at line 22 of file init_test_fixture.h.

◆ m_chain_client

std::unique_ptr<interfaces::ChainClient> InitWalletDirTestingSetup::m_chain_client

Definition at line 23 of file init_test_fixture.h.

◆ m_cwd

fs::path InitWalletDirTestingSetup::m_cwd

Definition at line 19 of file init_test_fixture.h.

◆ m_datadir

fs::path InitWalletDirTestingSetup::m_datadir

Definition at line 18 of file init_test_fixture.h.

◆ m_node

NodeContext InitWalletDirTestingSetup::m_node

Definition at line 21 of file init_test_fixture.h.

◆ m_walletdir_path_cases

std::map<std::string, fs::path> InitWalletDirTestingSetup::m_walletdir_path_cases

Definition at line 20 of file init_test_fixture.h.


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