Bitcoin Core  0.18.99
P2P Digital Currency
Public Member Functions | List of all members
interfaces::ChainClient Class Referenceabstract

Interface to let node manage chain clients (wallets, or maybe tools for monitoring and analysis in the future). More...

#include <chain.h>

Public Member Functions

virtual ~ChainClient ()
 
virtual void registerRpcs ()=0
 Register rpcs. More...
 
virtual bool verify ()=0
 Check for errors before loading. More...
 
virtual bool load ()=0
 Load saved state. More...
 
virtual void start (CScheduler &scheduler)=0
 Start client execution and provide a scheduler. More...
 
virtual void flush ()=0
 Save state to disk. More...
 
virtual void stop ()=0
 Shut down client. More...
 

Detailed Description

Interface to let node manage chain clients (wallets, or maybe tools for monitoring and analysis in the future).

Definition at line 274 of file chain.h.

Constructor & Destructor Documentation

◆ ~ChainClient()

virtual interfaces::ChainClient::~ChainClient ( )
inlinevirtual

Definition at line 277 of file chain.h.

Member Function Documentation

◆ flush()

virtual void interfaces::ChainClient::flush ( )
pure virtual

Save state to disk.

◆ load()

virtual bool interfaces::ChainClient::load ( )
pure virtual

Load saved state.

◆ registerRpcs()

virtual void interfaces::ChainClient::registerRpcs ( )
pure virtual

Register rpcs.

◆ start()

virtual void interfaces::ChainClient::start ( CScheduler scheduler)
pure virtual

Start client execution and provide a scheduler.

◆ stop()

virtual void interfaces::ChainClient::stop ( )
pure virtual

Shut down client.

◆ verify()

virtual bool interfaces::ChainClient::verify ( )
pure virtual

Check for errors before loading.


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