hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::network::ConsensusGate Class Referenceabstract

#include "consensus_gate.hpp"

Inheritance diagram for iroha::network::ConsensusGate:
Inheritance graph
Collaboration diagram for iroha::network::ConsensusGate:
Collaboration graph

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::GateObjectonOutcome ()=0
 
virtual ~ConsensusGate ()=default
 

Detailed Description

Public api of consensus module

Member Typedef Documentation

Constructor & Destructor Documentation

virtual iroha::network::ConsensusGate::~ConsensusGate ( )
virtualdefault

Member Function Documentation

virtual rxcpp::observable<consensus::GateObject> iroha::network::ConsensusGate::onOutcome ( )
pure virtual
Returns
emit gate responses

Implemented in iroha::consensus::yac::YacGateImpl.

virtual void iroha::network::ConsensusGate::vote ( const simulator::BlockCreatorEvent event)
pure virtual

Vote for given block creator event in consensus

Implemented in iroha::consensus::yac::YacGateImpl.


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