observes incoming messages. Abstraction of a network.
More...
#include <round_observer.hpp>
observes incoming messages. Abstraction of a network.
Definition at line 22 of file round_observer.hpp.
virtual kagome::consensus::grandpa::RoundObserver::~RoundObserver |
( |
| ) |
|
|
virtualdefault |
virtual void kagome::consensus::grandpa::RoundObserver::onCommitMessage |
( |
const libp2p::peer::PeerId & |
peer_id, |
|
|
const network::FullCommitMessage & |
msg |
|
) |
| |
|
pure virtual |
virtual void kagome::consensus::grandpa::RoundObserver::onVoteMessage |
( |
const libp2p::peer::PeerId & |
peer_id, |
|
|
const VoteMessage & |
msg |
|
) |
| |
|
pure virtual |
Handler of grandpa vote messages
- Parameters
-
peer_id | vote owner |
msg | vote message |
The documentation for this class was generated from the following file: