6 #ifndef KAGOME_BLOCK_ANNOUNCE_OBSERVER_HPP 7 #define KAGOME_BLOCK_ANNOUNCE_OBSERVER_HPP 9 #include <libp2p/peer/peer_id.hpp> 26 const Status &remote_status) = 0;
43 #endif // KAGOME_BLOCK_ANNOUNCE_OBSERVER_HPP virtual ~BlockAnnounceObserver()=default
virtual void onBlockAnnounce(const libp2p::peer::PeerId &peer_id, const BlockAnnounce &announce)=0
libp2p::peer::PeerId PeerId
virtual void onSynchronized()=0
virtual void onRemoteStatus(const libp2p::peer::PeerId &peer_id, const Status &remote_status)=0