6 #ifndef KAGOME_CORE_CONSENSUS_GRANDPA_ROUND_OBSERVER_HPP 7 #define KAGOME_CORE_CONSENSUS_GRANDPA_ROUND_OBSERVER_HPP 9 #include <libp2p/peer/peer_id.hpp> 44 #endif // KAGOME_CORE_CONSENSUS_GRANDPA_ROUND_OBSERVER_HPP virtual ~RoundObserver()=default
observes incoming messages. Abstraction of a network.
virtual void onCommitMessage(const libp2p::peer::PeerId &peer_id, const network::FullCommitMessage &msg)=0
libp2p::peer::PeerId PeerId
virtual void onVoteMessage(const libp2p::peer::PeerId &peer_id, const VoteMessage &msg)=0