#include "consensus_gate.hpp"


Public Types | |
| using | Round = consensus::Round |
| using | GateObject = consensus::GateObject |
Public Member Functions | |
| virtual void | vote (const simulator::BlockCreatorEvent &event)=0 |
| virtual rxcpp::observable< consensus::GateObject > | onOutcome ()=0 |
| virtual void | stop ()=0 |
| Prevent any new outgoing network activity. Be passive. More... | |
| virtual | ~ConsensusGate ()=default |
Public api of consensus module
|
virtualdefault |
|
pure virtual |
Implemented in iroha::consensus::yac::YacGateImpl.
|
pure virtual |
Prevent any new outgoing network activity. Be passive.
Implemented in iroha::consensus::yac::YacGateImpl.
|
pure virtual |
Vote for given block creator event in consensus
Implemented in iroha::consensus::yac::YacGateImpl.