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

Classes

struct  SynchronizationEvent
 
class  Synchronizer
 
class  SynchronizerImpl
 

Typedefs

using Chain = rxcpp::observable< std::shared_ptr< shared_model::interface::Block >>
 

Enumerations

enum  SynchronizationOutcomeType { SynchronizationOutcomeType::kCommit, SynchronizationOutcomeType::kReject, SynchronizationOutcomeType::kNothing }
 

Typedef Documentation

using iroha::synchronizer::Chain = typedef rxcpp::observable<std::shared_ptr<shared_model::interface::Block>>

Chain of block(s), which was either committed directly by this peer or downloaded from another; contains zero or more blocks depending on synchronization outcome

Enumeration Type Documentation

Outcome, which was decided by synchronizer based on consensus result and current local ledger state

Enumerator
kCommit 
kReject 
kNothing