6 #ifndef KAGOME_CORE_CONSENSUS_GRANDPA_CATCHUPOBSERVER 7 #define KAGOME_CORE_CONSENSUS_GRANDPA_CATCHUPOBSERVER 9 #include <libp2p/peer/peer_id.hpp> 39 #endif // KAGOME_CORE_CONSENSUS_GRANDPA_CATCHUPOBSERVER
virtual void onCatchUpRequest(const libp2p::peer::PeerId &peer_id, const network::CatchUpRequest &msg)=0
libp2p::peer::PeerId PeerId
virtual ~CatchUpObserver()=default
observes incoming catch-up messages. Abstraction of a network.
virtual void onCatchUpResponse(const libp2p::peer::PeerId &peer_id, const network::CatchUpResponse &msg)=0