Kagome
Polkadot Runtime Engine in C++17
kagome::network::GrandpaTransmitter Class Referenceabstract

#include <grandpa_transmitter.hpp>

Inheritance diagram for kagome::network::GrandpaTransmitter:
Collaboration diagram for kagome::network::GrandpaTransmitter:

Public Member Functions

virtual ~GrandpaTransmitter ()=default
 
virtual void sendNeighborMessage (GrandpaNeighborMessage &&message)=0
 
virtual void sendVoteMessage (const libp2p::peer::PeerId &peer_id, GrandpaVote &&message)=0
 
virtual void sendVoteMessage (GrandpaVote &&message)=0
 
virtual void sendCommitMessage (const libp2p::peer::PeerId &peer_id, FullCommitMessage &&message)=0
 
virtual void sendCommitMessage (FullCommitMessage &&message)=0
 
virtual void sendCatchUpRequest (const libp2p::peer::PeerId &peer_id, CatchUpRequest &&message)=0
 
virtual void sendCatchUpResponse (const libp2p::peer::PeerId &peer_id, CatchUpResponse &&message)=0
 

Detailed Description

Send/broadcast grandpa messages

Definition at line 18 of file grandpa_transmitter.hpp.

Constructor & Destructor Documentation

virtual kagome::network::GrandpaTransmitter::~GrandpaTransmitter ( )
virtualdefault

Member Function Documentation

virtual void kagome::network::GrandpaTransmitter::sendCatchUpRequest ( const libp2p::peer::PeerId &  peer_id,
CatchUpRequest &&  message 
)
pure virtual
virtual void kagome::network::GrandpaTransmitter::sendCatchUpResponse ( const libp2p::peer::PeerId &  peer_id,
CatchUpResponse &&  message 
)
pure virtual
virtual void kagome::network::GrandpaTransmitter::sendCommitMessage ( const libp2p::peer::PeerId &  peer_id,
FullCommitMessage &&  message 
)
pure virtual
virtual void kagome::network::GrandpaTransmitter::sendCommitMessage ( FullCommitMessage &&  message)
pure virtual
virtual void kagome::network::GrandpaTransmitter::sendNeighborMessage ( GrandpaNeighborMessage &&  message)
pure virtual
virtual void kagome::network::GrandpaTransmitter::sendVoteMessage ( const libp2p::peer::PeerId &  peer_id,
GrandpaVote &&  message 
)
pure virtual
virtual void kagome::network::GrandpaTransmitter::sendVoteMessage ( GrandpaVote &&  message)
pure virtual

The documentation for this class was generated from the following file: