Kagome
Polkadot Runtime Engine in C++17
|
observes incoming neighbor messages. Abstraction of a network. More...
#include <neighbor_observer.hpp>
Public Member Functions | |
virtual | ~NeighborObserver ()=default |
virtual void | onNeighborMessage (const libp2p::peer::PeerId &peer_id, const network::GrandpaNeighborMessage &msg)=0 |
observes incoming neighbor messages. Abstraction of a network.
Definition at line 19 of file neighbor_observer.hpp.
|
virtualdefault |
|
pure virtual |
Handler of grandpa neighbor messages
msg | neighbor messages |
Implemented in kagome::consensus::grandpa::GrandpaImpl.