Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
Public Member Functions | Public Attributes | List of all members
WalletTestingSetup Struct Reference

Testing setup and teardown for wallet. More...

#include <wallet_test_fixture.h>

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

Public Member Functions

 WalletTestingSetup (const std::string &chainName=CBaseChainParams::MAIN)
 

Public Attributes

std::unique_ptr
< interfaces::Chain
m_chain = interfaces::MakeChain(m_node)
 
std::unique_ptr
< interfaces::WalletClient
m_wallet_client = interfaces::MakeWalletClient(*m_chain, *Assert(m_node.args))
 
CWallet m_wallet
 
std::unique_ptr
< interfaces::Handler
m_chain_notifications_handler
 

Detailed Description

Testing setup and teardown for wallet.

Definition at line 20 of file wallet_test_fixture.h.

Constructor & Destructor Documentation

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

Definition at line 7 of file wallet_test_fixture.cpp.

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 23 of file wallet_test_fixture.h.

std::unique_ptr<interfaces::Handler> WalletTestingSetup::m_chain_notifications_handler

Definition at line 26 of file wallet_test_fixture.h.

CWallet WalletTestingSetup::m_wallet

Definition at line 25 of file wallet_test_fixture.h.

std::unique_ptr<interfaces::WalletClient> WalletTestingSetup::m_wallet_client = interfaces::MakeWalletClient(*m_chain, *Assert(m_node.args))

Definition at line 24 of file wallet_test_fixture.h.


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