Kagome
Polkadot Runtime Engine in C++17
authority_manager_impl.cpp File Reference
Include dependency graph for authority_manager_impl.cpp:

Go to the source code of this file.

Classes

struct  kagome::authority::ConsensusMessages
 

Namespaces

 kagome::authority
 

Functions

outcome::result< std::stack< ConsensusMessages > > kagome::authority::collectMsgsFromNonFinalBlocks (blockchain::BlockTree const &block_tree, primitives::BlockHash const &finalized_block_hash)
 
outcome::result< std::optional< AuthoritySetId > > kagome::authority::fetchSetIdFromTrieStorage (storage::trie::TrieBatch const &trie_batch, crypto::Hasher const &hasher, storage::trie::RootHash const &state)
 
outcome::result< std::optional< std::unique_ptr< ScheduleNode > > > kagome::authority::fetchScheduleGraphRoot (storage::BufferStorage const &storage)
 
outcome::result< void > kagome::authority::storeScheduleGraphRoot (storage::BufferStorage &storage, ScheduleNode const &root)
 
outcome::result< void > kagome::authority::clearScheduleGraphRoot (storage::BufferStorage &storage)
 
outcome::result< primitives::BlockInfo > kagome::authority::collectConsensusMsgsUntilNearestSetChangeTo (std::stack< ConsensusMessages > &collected_msgs, const primitives::BlockInfo &finalized_block, const blockchain::BlockTree &block_tree, log::Logger &log)
 

Variables

static const common::Buffer kagome::authority::kScheduleGraphRootKey
 

Class Documentation

struct kagome::authority::ConsensusMessages

Definition at line 61 of file authority_manager_impl.cpp.

Collaboration diagram for kagome::authority::ConsensusMessages:
Class Members
BlockInfo block
Consensus message