Bitcoin
Public Member Functions | Public Attributes | List of all members
interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl Class Reference
Inheritance diagram for interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl:
interfaces::ChainClient

Public Member Functions

 WalletClientImpl (Chain &chain, std::vector< std::string > wallet_filenames)
 
void registerRpcs () override
 Register rpcs. More...
 
bool verify () override
 Check for errors before loading. More...
 
bool load () override
 Load saved state. More...
 
void start (CScheduler &scheduler) override
 Start client execution and provide a scheduler. More...
 
void flush () override
 Save state to disk. More...
 
void stop () override
 Shut down client. More...
 
 ~WalletClientImpl () override
 
- Public Member Functions inherited from interfaces::ChainClient
virtual ~ChainClient ()
 

Public Attributes

Chainm_chain
 
std::vector< std::string > m_wallet_filenames
 
std::vector< std::unique_ptr< Handler > > m_rpc_handlers
 

Constructor & Destructor Documentation

◆ WalletClientImpl()

interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::WalletClientImpl ( Chain chain,
std::vector< std::string >  wallet_filenames 
)
inline

◆ ~WalletClientImpl()

interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::~WalletClientImpl ( )
inlineoverride

Member Function Documentation

◆ flush()

void interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::flush ( )
inlineoverridevirtual

Save state to disk.

Implements interfaces::ChainClient.

◆ load()

bool interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::load ( )
inlineoverridevirtual

Load saved state.

Implements interfaces::ChainClient.

◆ registerRpcs()

void interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::registerRpcs ( )
inlineoverridevirtual

Register rpcs.

Implements interfaces::ChainClient.

◆ start()

void interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::start ( CScheduler scheduler)
inlineoverridevirtual

Start client execution and provide a scheduler.

Implements interfaces::ChainClient.

◆ stop()

void interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::stop ( )
inlineoverridevirtual

Shut down client.

Implements interfaces::ChainClient.

◆ verify()

bool interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::verify ( )
inlineoverridevirtual

Check for errors before loading.

Implements interfaces::ChainClient.

Member Data Documentation

◆ m_chain

Chain& interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::m_chain

◆ m_rpc_handlers

std::vector<std::unique_ptr<Handler> > interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::m_rpc_handlers

◆ m_wallet_filenames

std::vector<std::string> interfaces::anonymous_namespace{wallet.cpp}::WalletClientImpl::m_wallet_filenames

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