Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
authority
babe
grandpa
impl
vote_graph
catch_up_observer.hpp
chain.hpp
common.hpp
environment.hpp
grandpa.hpp
grandpa_config.hpp
grandpa_context.hpp
grandpa_observer.hpp
justification_observer.hpp
movable_round_state.hpp
neighbor_observer.hpp
round_observer.hpp
structs.hpp
vote_crypto_provider.hpp
vote_graph.hpp
vote_tracker.hpp
vote_types.hpp
vote_weight.hpp
voter_set.cpp
voter_set.hpp
voting_round.hpp
voting_round_error.cpp
voting_round_error.hpp
validation
constants.hpp
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
movable_round_state.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CONSENSUS_GRANDPA_MOVABLEROUNDSTATE
7
#define KAGOME_CONSENSUS_GRANDPA_MOVABLEROUNDSTATE
8
9
#include <optional>
10
11
#include "
consensus/grandpa/structs.hpp
"
12
#include "
scale/tie.hpp
"
13
14
namespace
kagome::consensus::grandpa
{
15
17
struct
MovableRoundState
{
18
SCALE_TIE
(4);
19
20
RoundNumber
round_number
;
21
BlockInfo
last_finalized_block
;
22
std::vector<VoteVariant>
votes
;
23
std::optional<BlockInfo>
finalized
;
24
};
25
}
// namespace kagome::consensus::grandpa
26
27
#endif // KAGOME_CONSENSUS_GRANDPA_MOVABLEROUNDSTATE
kagome::primitives::detail::BlockInfoT
Definition:
common.hpp:26
kagome::consensus::grandpa
Definition:
catch_up_observer.hpp:13
structs.hpp
kagome::consensus::grandpa::MovableRoundState::votes
std::vector< VoteVariant > votes
Definition:
movable_round_state.hpp:22
kagome::consensus::grandpa::MovableRoundState::finalized
std::optional< BlockInfo > finalized
Definition:
movable_round_state.hpp:23
kagome::consensus::grandpa::MovableRoundState::SCALE_TIE
SCALE_TIE(4)
kagome::consensus::grandpa::MovableRoundState::round_number
RoundNumber round_number
Definition:
movable_round_state.hpp:20
kagome::consensus::grandpa::MovableRoundState
Stores the current state of the round.
Definition:
movable_round_state.hpp:17
kagome::consensus::grandpa::RoundNumber
uint64_t RoundNumber
Definition:
common.hpp:25
kagome::consensus::grandpa::MovableRoundState::last_finalized_block
BlockInfo last_finalized_block
Definition:
movable_round_state.hpp:21
tie.hpp
core
consensus
grandpa
movable_round_state.hpp
Generated by
1.8.11