Bitcoin ABC 0.30.7
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>

Inheritance diagram for interfaces::ChainClient:
[legend]

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...
 
virtual void setMockTime (int64_t time)=0
 Set mock time. More...
 

Detailed Description

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

Definition at line 310 of file chain.h.

Constructor & Destructor Documentation

◆ ~ChainClient()

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

Definition at line 312 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.

◆ setMockTime()

virtual void interfaces::ChainClient::setMockTime ( int64_t  time)
pure virtual

Set mock time.

◆ 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: