Kagome
Polkadot Runtime Engine in C++17
|
observes incoming catch-up messages. Abstraction of a network. More...
#include <catch_up_observer.hpp>
Public Member Functions | |
virtual | ~CatchUpObserver ()=default |
virtual void | onCatchUpRequest (const libp2p::peer::PeerId &peer_id, const network::CatchUpRequest &msg)=0 |
virtual void | onCatchUpResponse (const libp2p::peer::PeerId &peer_id, const network::CatchUpResponse &msg)=0 |
observes incoming catch-up messages. Abstraction of a network.
Definition at line 19 of file catch_up_observer.hpp.
|
virtualdefault |
|
pure virtual |
Handler of grandpa catch-up-request messages
msg | catch-up-request messages |
Implemented in kagome::consensus::grandpa::GrandpaImpl.
|
pure virtual |
Handler of grandpa catch-up-response messages
msg | catch-up-response messages |
Implemented in kagome::consensus::grandpa::GrandpaImpl.