hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
synchronizer_common.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SYNCHRONIZER_COMMON_HPP
7 #define IROHA_SYNCHRONIZER_COMMON_HPP
8 
9 #include <utility>
10 
11 #include "consensus/round.hpp"
12 
13 namespace iroha {
14  struct LedgerState;
15  namespace synchronizer {
16 
22  kCommit,
23  kReject,
24  kNothing,
25  };
26 
34  std::shared_ptr<const iroha::LedgerState> ledger_state;
35  };
36 
37  } // namespace synchronizer
38 } // namespace iroha
39 
40 #endif // IROHA_SYNCHRONIZER_COMMON_HPP
SynchronizationOutcomeType
Definition: synchronizer_common.hpp:21
std::shared_ptr< const iroha::LedgerState > ledger_state
Definition: synchronizer_common.hpp:34
Definition: block_query.hpp:15
SynchronizationOutcomeType sync_outcome
Definition: synchronizer_common.hpp:32
Definition: round.hpp:31
Definition: synchronizer_common.hpp:31
consensus::Round round
Definition: synchronizer_common.hpp:33