Kagome
Polkadot Runtime Engine in C++17
|
Mode for recover state to provided block. More...
#include <recovery_mode.hpp>
Public Member Functions | |
RecoveryMode (std::function< int()> &&runner) | |
int | run () const override |
Runs application in this mode. More... | |
Public Member Functions inherited from kagome::application::Mode | |
virtual | ~Mode ()=default |
Private Attributes | |
std::function< int()> | runner_ |
Mode for recover state to provided block.
Definition at line 16 of file recovery_mode.hpp.
|
inline |
Definition at line 18 of file recovery_mode.hpp.
|
inlineoverridevirtual |
Runs application in this mode.
Implements kagome::application::Mode.
Definition at line 20 of file recovery_mode.hpp.
|
private |
Definition at line 25 of file recovery_mode.hpp.