Interface to let node manage chain clients (wallets, or maybe tools for monitoring and analysis in the future).
More...
#include <chain.h>
|
| virtual | ~ChainClient ()=default |
| |
| virtual void | registerRpcs ()=0 |
| | Register rpcs.
|
| |
| virtual bool | verify ()=0 |
| | Check for errors before loading.
|
| |
| virtual bool | load ()=0 |
| | Load saved state.
|
| |
| virtual void | start (CScheduler &scheduler)=0 |
| | Start client execution and provide a scheduler.
|
| |
| virtual void | flush ()=0 |
| | Save state to disk.
|
| |
| virtual void | stop ()=0 |
| | Shut down client.
|
| |
| virtual void | setMockTime (int64_t time)=0 |
| | Set mock time.
|
| |
| virtual void | schedulerMockForward (std::chrono::seconds delta_seconds)=0 |
| | Mock the scheduler to fast forward in time.
|
| |
Interface to let node manage chain clients (wallets, or maybe tools for monitoring and analysis in the future).
Definition at line 389 of file chain.h.
◆ ~ChainClient()
| virtual interfaces::ChainClient::~ChainClient |
( |
| ) |
|
|
virtualdefault |
◆ flush()
| virtual void interfaces::ChainClient::flush |
( |
| ) |
|
|
pure virtual |
◆ load()
| virtual bool interfaces::ChainClient::load |
( |
| ) |
|
|
pure virtual |
◆ registerRpcs()
| virtual void interfaces::ChainClient::registerRpcs |
( |
| ) |
|
|
pure virtual |
◆ schedulerMockForward()
| virtual void interfaces::ChainClient::schedulerMockForward |
( |
std::chrono::seconds | delta_seconds | ) |
|
|
pure virtual |
Mock the scheduler to fast forward in time.
◆ setMockTime()
| virtual void interfaces::ChainClient::setMockTime |
( |
int64_t | time | ) |
|
|
pure virtual |
◆ 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 |
◆ verify()
| virtual bool interfaces::ChainClient::verify |
( |
| ) |
|
|
pure virtual |
Check for errors before loading.
The documentation for this class was generated from the following file: