Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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