Iroha - A simple, decentralized ledger http://iroha.tech
iroha::consensus::yac::HashGate Class Referenceabstract

#include "yac_gate.hpp"

Inheritance diagram for iroha::consensus::yac::HashGate:
Inheritance graph
Collaboration diagram for iroha::consensus::yac::HashGate:
Collaboration graph

Public Member Functions

virtual void vote (YacHash hash, ClusterOrdering order)=0
virtual rxcpp::observable< AnsweronOutcome ()=0
virtual ~HashGate ()=default

Detailed Description

Provide gate for ya consensus

Constructor & Destructor Documentation

virtual iroha::consensus::yac::HashGate::~HashGate ( )

Member Function Documentation

virtual rxcpp::observable<Answer> iroha::consensus::yac::HashGate::onOutcome ( )
pure virtual

Observable with consensus outcomes - commits and rejects - in network

observable for subscription

Implemented in iroha::consensus::yac::Yac.

virtual void iroha::consensus::yac::HashGate::vote ( YacHash  hash,
ClusterOrdering  order 
pure virtual

Proposal new hash in network

hash- hash for voting
order- peer ordering

Implemented in iroha::consensus::yac::Yac.

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