hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
synchronizer.hpp
Go to the documentation of this file.
1
6
#ifndef IROHA_SYNCHRONIZER_HPP
7
#define IROHA_SYNCHRONIZER_HPP
8
9
#include <rxcpp/rx-observable-fwd.hpp>
10
11
#include "
consensus/gate_object.hpp
"
12
#include "
synchronizer/synchronizer_common.hpp
"
13
14
namespace
iroha
{
15
namespace
synchronizer {
19
class
Synchronizer
{
20
public
:
24
virtual
void
processOutcome
(
consensus::GateObject
object
) = 0;
25
30
virtual
rxcpp::observable<SynchronizationEvent>
on_commit_chain
() = 0;
31
32
virtual
~Synchronizer
() =
default
;
33
};
34
35
}
// namespace synchronizer
36
}
// namespace iroha
37
#endif // IROHA_SYNCHRONIZER_HPP
iroha::synchronizer::Synchronizer
Definition:
synchronizer.hpp:19
iroha
Definition:
block_query.hpp:15
iroha::synchronizer::Synchronizer::~Synchronizer
virtual ~Synchronizer()=default
synchronizer_common.hpp
iroha::synchronizer::Synchronizer::on_commit_chain
virtual rxcpp::observable< SynchronizationEvent > on_commit_chain()=0
gate_object.hpp
iroha::consensus::GateObject
boost::variant< PairValid, VoteOther, ProposalReject, BlockReject, AgreementOnNone, Future > GateObject
Definition:
gate_object.hpp:95
iroha::synchronizer::Synchronizer::processOutcome
virtual void processOutcome(consensus::GateObject object)=0
irohad
synchronizer
synchronizer.hpp
Generated by
1.8.13