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

#include "synchronizer.hpp"

Inheritance diagram for iroha::synchronizer::Synchronizer:
Inheritance graph
Collaboration diagram for iroha::synchronizer::Synchronizer:
Collaboration graph

Public Member Functions

virtual void processOutcome (consensus::GateObject object)=0
 
virtual rxcpp::observable< SynchronizationEventon_commit_chain ()=0
 
virtual ~Synchronizer ()=default
 

Detailed Description

Synchronizer is interface for fetching missed blocks

Constructor & Destructor Documentation

virtual iroha::synchronizer::Synchronizer::~Synchronizer ( )
virtualdefault

Member Function Documentation

virtual rxcpp::observable<SynchronizationEvent> iroha::synchronizer::Synchronizer::on_commit_chain ( )
pure virtual

After synchronization this observable emits zero or more blocks plus outcome of synchronization

Implemented in iroha::synchronizer::SynchronizerImpl.

virtual void iroha::synchronizer::Synchronizer::processOutcome ( consensus::GateObject  object)
pure virtual

Processing entry point for consensus outcome

Implemented in iroha::synchronizer::SynchronizerImpl.


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