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

#include "synchronizer_impl.hpp"

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

Public Member Functions

 SynchronizerImpl (std::shared_ptr< network::ConsensusGate > consensus_gate, std::shared_ptr< validation::ChainValidator > validator, std::shared_ptr< ametsuchi::MutableFactory > mutable_factory, std::shared_ptr< ametsuchi::BlockQueryFactory > block_query_factory, std::shared_ptr< network::BlockLoader > block_loader, logger::LoggerPtr log)
 
 ~SynchronizerImpl () override
 
void processOutcome (consensus::GateObject object) override
 
rxcpp::observable< SynchronizationEventon_commit_chain () override
 
- Public Member Functions inherited from iroha::synchronizer::Synchronizer
virtual ~Synchronizer ()=default
 

Constructor & Destructor Documentation

iroha::synchronizer::SynchronizerImpl::SynchronizerImpl ( std::shared_ptr< network::ConsensusGate consensus_gate,
std::shared_ptr< validation::ChainValidator validator,
std::shared_ptr< ametsuchi::MutableFactory mutable_factory,
std::shared_ptr< ametsuchi::BlockQueryFactory block_query_factory,
std::shared_ptr< network::BlockLoader block_loader,
logger::LoggerPtr  log 
)

Here is the call graph for this function:

iroha::synchronizer::SynchronizerImpl::~SynchronizerImpl ( )
override

Member Function Documentation

rxcpp::observable< SynchronizationEvent > iroha::synchronizer::SynchronizerImpl::on_commit_chain ( )
overridevirtual

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

Implements iroha::synchronizer::Synchronizer.

void iroha::synchronizer::SynchronizerImpl::processOutcome ( consensus::GateObject  object)
overridevirtual

Processing entry point for consensus outcome

Implements iroha::synchronizer::Synchronizer.

Here is the call graph for this function:

Here is the caller graph for this function:


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