6 #ifndef KAGOME_NETWORK_GRANDPAMESSAGE 7 #define KAGOME_NETWORK_GRANDPAMESSAGE 9 #include <boost/variant.hpp> 18 using consensus::grandpa::CompactCommit;
19 using consensus::grandpa::GrandpaJustification;
21 using consensus::grandpa::SignedMessage;
22 using consensus::grandpa::SignedPrecommit;
23 using consensus::grandpa::SignedPrevote;
24 using consensus::grandpa::VoteMessage;
29 using VoteMessage::VoteMessage;
31 : VoteMessage(
std::move(vm)){};
66 auto result = std::hash<RoundNumber>()(round_number);
68 boost::hash_combine(result, std::hash<VoterSetId>()(voter_set_id));
95 #endif // KAGOME_NETWORK_GRANDPAMESSAGE BlockNumber last_finalized
boost::variant< GrandpaVote, FullCommitMessage, GrandpaNeighborMessage, CatchUpRequest, CatchUpResponse > GrandpaMessage
std::vector< SignedPrevote > prevote_justification
primitives::BlockInfo BlockInfo
Fingerprint fingerprint() const
primitives::BlockNumber BlockNumber
std::vector< SignedPrecommit > precommit_justification
BlockInfo best_final_candidate
GrandpaVote(VoteMessage &&vm) noexcept