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 <optional>
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
std::optional<SynchronizationEvent>
processOutcome
(
25
consensus::GateObject
object
) = 0;
26
27
virtual
~Synchronizer
() =
default
;
28
};
29
30
}
// namespace synchronizer
31
}
// namespace iroha
32
#endif // IROHA_SYNCHRONIZER_HPP
iroha::synchronizer::Synchronizer
Definition:
synchronizer.hpp:19
iroha::consensus::GateObject
std::variant< PairValid, VoteOther, ProposalReject, BlockReject, AgreementOnNone, Future > GateObject
Definition:
gate_object.hpp:96
iroha
Definition:
block_query.hpp:15
iroha::synchronizer::Synchronizer::~Synchronizer
virtual ~Synchronizer()=default
synchronizer_common.hpp
gate_object.hpp
iroha::synchronizer::Synchronizer::processOutcome
virtual std::optional< SynchronizationEvent > processOutcome(consensus::GateObject object)=0
irohad
synchronizer
synchronizer.hpp
Generated by
1.8.13