#include "yac_gate_impl.hpp"


Public Member Functions | |
| YacGateImpl (std::shared_ptr< HashGate > hash_gate, std::shared_ptr< YacPeerOrderer > orderer, boost::optional< ClusterOrdering > alternative_order, std::shared_ptr< YacHashProvider > hash_provider, std::shared_ptr< simulator::BlockCreator > block_creator, std::shared_ptr< consensus::ConsensusResultCache > consensus_result_cache, logger::LoggerPtr log, std::function< std::chrono::milliseconds(ConsensusOutcomeType)> delay_func=ConsensusOutcomeDelay(std::chrono::milliseconds(0))) | |
| void | vote (const simulator::BlockCreatorEvent &event) override |
| rxcpp::observable< GateObject > | onOutcome () override |
| void | stop () override |
| Prevent any new outgoing network activity. Be passive. More... | |
Public Member Functions inherited from iroha::network::ConsensusGate | |
| virtual | ~ConsensusGate ()=default |
Additional Inherited Members | |
Public Types inherited from iroha::network::ConsensusGate | |
| using | Round = consensus::Round |
| using | GateObject = consensus::GateObject |
| iroha::consensus::yac::YacGateImpl::YacGateImpl | ( | std::shared_ptr< HashGate > | hash_gate, |
| std::shared_ptr< YacPeerOrderer > | orderer, | ||
| boost::optional< ClusterOrdering > | alternative_order, | ||
| std::shared_ptr< YacHashProvider > | hash_provider, | ||
| std::shared_ptr< simulator::BlockCreator > | block_creator, | ||
| std::shared_ptr< consensus::ConsensusResultCache > | consensus_result_cache, | ||
| logger::LoggerPtr | log, | ||
| std::function< std::chrono::milliseconds(ConsensusOutcomeType)> | delay_func = ConsensusOutcomeDelay(std::chrono::milliseconds(0)) |
||
| ) |

|
overridevirtual |
Implements iroha::network::ConsensusGate.
|
overridevirtual |
Prevent any new outgoing network activity. Be passive.
Implements iroha::network::ConsensusGate.

|
overridevirtual |
Vote for given block creator event in consensus
Implements iroha::network::ConsensusGate.
