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

#include "mst_propagation_strategy.hpp"

Inheritance diagram for iroha::PropagationStrategy:
Inheritance graph
Collaboration diagram for iroha::PropagationStrategy:
Collaboration graph

Public Types

using PropagationData = std::vector< std::shared_ptr< shared_model::interface::Peer >>
 

Public Member Functions

virtual ~PropagationStrategy ()=default
 
virtual rxcpp::observable< PropagationDataemitter ()=0
 

Detailed Description

Interface provides strategy for propagation states in network

Member Typedef Documentation

Constructor & Destructor Documentation

virtual iroha::PropagationStrategy::~PropagationStrategy ( )
virtualdefault

Member Function Documentation

virtual rxcpp::observable<PropagationData> iroha::PropagationStrategy::emitter ( )
pure virtual

Provides observable that will be emit new results with respect to own strategy

Implemented in iroha::GossipPropagationStrategy.


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