Kagome
Polkadot Runtime Engine in C++17
kagome::consensus::grandpa::MovableRoundState Struct Reference

Stores the current state of the round. More...

#include <movable_round_state.hpp>

Collaboration diagram for kagome::consensus::grandpa::MovableRoundState:

Public Member Functions

 SCALE_TIE (4)
 

Public Attributes

RoundNumber round_number
 
BlockInfo last_finalized_block
 
std::vector< VoteVariantvotes
 
std::optional< BlockInfofinalized
 

Detailed Description

Stores the current state of the round.

Definition at line 17 of file movable_round_state.hpp.

Member Function Documentation

kagome::consensus::grandpa::MovableRoundState::SCALE_TIE ( )

Member Data Documentation

std::optional<BlockInfo> kagome::consensus::grandpa::MovableRoundState::finalized

Definition at line 23 of file movable_round_state.hpp.

BlockInfo kagome::consensus::grandpa::MovableRoundState::last_finalized_block

Definition at line 21 of file movable_round_state.hpp.

RoundNumber kagome::consensus::grandpa::MovableRoundState::round_number

Definition at line 20 of file movable_round_state.hpp.

std::vector<VoteVariant> kagome::consensus::grandpa::MovableRoundState::votes

Definition at line 22 of file movable_round_state.hpp.


The documentation for this struct was generated from the following file: