Kagome
Polkadot Runtime Engine in C++17
|
#include "consensus/authority/impl/authority_manager_impl.hpp"
#include <stack>
#include <unordered_set>
#include <boost/range/adaptor/reversed.hpp>
#include <scale/scale.hpp>
#include "application/app_state_manager.hpp"
#include "blockchain/block_header_repository.hpp"
#include "blockchain/block_tree.hpp"
#include "blockchain/block_tree_error.hpp"
#include "common/visitor.hpp"
#include "consensus/authority/authority_manager_error.hpp"
#include "consensus/authority/authority_update_observer_error.hpp"
#include "consensus/authority/impl/schedule_node.hpp"
#include "crypto/hasher.hpp"
#include "log/profiling_logger.hpp"
#include "runtime/runtime_api/grandpa_api.hpp"
#include "storage/database_error.hpp"
#include "storage/trie/trie_storage.hpp"
Go to the source code of this file.
Classes |
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 |
struct kagome::authority::ConsensusMessages |
Definition at line 61 of file authority_manager_impl.cpp.
Class Members | ||
---|---|---|
BlockInfo | block | |
Consensus | message |