Kagome
Polkadot Runtime Engine in C++17
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 
12 #include "scale/tie.hpp"
13 
15 
18  SCALE_TIE(4);
19 
22  std::vector<VoteVariant> votes;
23  std::optional<BlockInfo> finalized;
24  };
25 } // namespace kagome::consensus::grandpa
26 
27 #endif // KAGOME_CONSENSUS_GRANDPA_MOVABLEROUNDSTATE
Stores the current state of the round.