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

#include "ordering_gate.hpp"

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

Public Member Functions

virtual void propagateBatch (std::shared_ptr< shared_model::interface::TransactionBatch > batch)=0
 
virtual rxcpp::observable< OrderingEventonProposal ()=0
 
virtual ~OrderingGate ()=default
 

Detailed Description

Ordering gate provide interface with network transaction order

Constructor & Destructor Documentation

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

Member Function Documentation

virtual rxcpp::observable<OrderingEvent> iroha::network::OrderingGate::onProposal ( )
pure virtual

Return observable of all proposals in the consensus

Returns
observable with notifications

Implemented in iroha::ordering::OnDemandOrderingGate.

virtual void iroha::network::OrderingGate::propagateBatch ( std::shared_ptr< shared_model::interface::TransactionBatch batch)
pure virtual

Propagate a transaction batch for further processing

Parameters
batch

Implemented in iroha::ordering::OnDemandOrderingGate.


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