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::unique_ptr< iroha::ametsuchi::CommandExecutor > command_executor, 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)
 
std::optional< SynchronizationEventprocessOutcome (consensus::GateObject object) override
 
- Public Member Functions inherited from iroha::synchronizer::Synchronizer
virtual ~Synchronizer ()=default
 

Constructor & Destructor Documentation

◆ SynchronizerImpl()

SynchronizerImpl::SynchronizerImpl ( std::unique_ptr< iroha::ametsuchi::CommandExecutor command_executor,
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 
)

Member Function Documentation

◆ processOutcome()

std::optional< iroha::synchronizer::SynchronizationEvent > SynchronizerImpl::processOutcome ( consensus::GateObject  object)
overridevirtual

Processing entry point for consensus outcome

Implements iroha::synchronizer::Synchronizer.

Here is the call graph for this function:

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