Kagome
Polkadot Runtime Engine in C++17
|
#include <consistency_keeper_impl.hpp>
Public Member Functions | |
ConsistencyKeeperImpl (std::shared_ptr< application::AppStateManager > app_state_manager, std::shared_ptr< storage::BufferStorage > storage, std::shared_ptr< blockchain::BlockTree > block_tree, std::shared_ptr< blockchain::DigestTracker > digest_tracker) | |
~ConsistencyKeeperImpl () override=default | |
Guard | start (primitives::BlockInfo block) override |
Public Member Functions inherited from kagome::consensus::babe::ConsistencyKeeper | |
virtual | ~ConsistencyKeeper ()=default |
Protected Member Functions | |
void | commit (primitives::BlockInfo block) override |
void | rollback (primitives::BlockInfo block) override |
Private Member Functions | |
bool | prepare () |
void | cleanup () |
Private Attributes | |
std::shared_ptr< application::AppStateManager > | app_state_manager_ |
std::shared_ptr< storage::BufferStorage > | storage_ |
std::shared_ptr< blockchain::BlockTree > | block_tree_ |
std::shared_ptr< blockchain::DigestTracker > | digest_tracker_ |
log::Logger | logger_ |
std::atomic_bool | in_progress_ {false} |
Definition at line 27 of file consistency_keeper_impl.hpp.
kagome::consensus::babe::ConsistencyKeeperImpl::ConsistencyKeeperImpl | ( | std::shared_ptr< application::AppStateManager > | app_state_manager, |
std::shared_ptr< storage::BufferStorage > | storage, | ||
std::shared_ptr< blockchain::BlockTree > | block_tree, | ||
std::shared_ptr< blockchain::DigestTracker > | digest_tracker | ||
) |
Definition at line 18 of file consistency_keeper_impl.cpp.
|
overridedefault |
|
private |
Definition at line 113 of file consistency_keeper_impl.cpp.
|
overrideprotectedvirtual |
Implements kagome::consensus::babe::ConsistencyKeeper.
Definition at line 91 of file consistency_keeper_impl.cpp.
|
private |
Definition at line 36 of file consistency_keeper_impl.cpp.
|
overrideprotectedvirtual |
Implements kagome::consensus::babe::ConsistencyKeeper.
Definition at line 96 of file consistency_keeper_impl.cpp.
|
overridevirtual |
Implements kagome::consensus::babe::ConsistencyKeeper.
Definition at line 71 of file consistency_keeper_impl.cpp.
|
private |
Definition at line 47 of file consistency_keeper_impl.hpp.
|
private |
Definition at line 49 of file consistency_keeper_impl.hpp.
|
private |
Definition at line 50 of file consistency_keeper_impl.hpp.
|
private |
Definition at line 53 of file consistency_keeper_impl.hpp.
|
private |
Definition at line 52 of file consistency_keeper_impl.hpp.
|
private |
Definition at line 48 of file consistency_keeper_impl.hpp.