Kagome
Polkadot Runtime Engine in C++17
|
#include <consistency_keeper.hpp>
Classes | |
class | Guard |
Public Member Functions | |
virtual | ~ConsistencyKeeper ()=default |
virtual Guard | start (primitives::BlockInfo block)=0 |
Protected Member Functions | |
virtual void | commit (primitives::BlockInfo block)=0 |
virtual void | rollback (primitives::BlockInfo block)=0 |
Class to provide transactional applying of block and rollback that on start if last applied block was applied partially
Definition at line 15 of file consistency_keeper.hpp.
|
virtualdefault |
|
protectedpure virtual |
Implemented in kagome::consensus::babe::ConsistencyKeeperImpl.
|
protectedpure virtual |
Implemented in kagome::consensus::babe::ConsistencyKeeperImpl.
|
pure virtual |
Implemented in kagome::consensus::babe::ConsistencyKeeperImpl.