#include "yac_gate.hpp"


Public Member Functions | |
| virtual void | vote (YacHash hash, ClusterOrdering order, std::optional< ClusterOrdering > alternative_order=std::nullopt)=0 |
| virtual std::optional< Answer > | processRoundSwitch (consensus::Round const &round, shared_model::interface::types::PeerList const &peers)=0 |
| virtual void | stop ()=0 |
| Prevent any new outgoing network activity. Be passive. More... | |
| virtual | ~HashGate ()=default |
Provide gate for ya consensus
|
virtualdefault |
|
pure virtual |
Update current state with the new round and peer list, possibly pruning the old state. Process states from future if available, and return the result
| round | - new round |
| peers | - new peer list |
Implemented in iroha::consensus::yac::Yac.
|
pure virtual |
Prevent any new outgoing network activity. Be passive.
Implemented in iroha::consensus::yac::Yac.
|
pure virtual |
Proposal new hash in network
| hash | - hash for voting |
| order | - peer ordering for round in hash |
| alternative_order | - peer order |
Implemented in iroha::consensus::yac::Yac.