hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
on_demand_common.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_ON_DEMAND_COMMON_HPP
7 #define IROHA_ON_DEMAND_COMMON_HPP
8 
9 #include "consensus/round.hpp"
10 
11 namespace iroha {
12  namespace ordering {
13 
15 
18 
20 
22 
23  consensus::Round nextCommitRound(const consensus::Round &round);
24 
25  consensus::Round nextRejectRound(const consensus::Round &round);
26 
27  } // namespace ordering
28 } // namespace iroha
29 
30 #endif // IROHA_ON_DEMAND_COMMON_HPP
consensus::Round nextCommitRound(const consensus::Round &round)
Definition: on_demand_common.cpp:24
const consensus::RejectRoundType kNextRejectRoundConsumer
Definition: on_demand_common.cpp:18
consensus::RejectRoundType currentRejectRoundConsumer(consensus::RejectRoundType round)
Definition: on_demand_common.cpp:13
Definition: block_query.hpp:16
const consensus::RejectRoundType kNextCommitRoundConsumer
Definition: on_demand_common.cpp:21
const consensus::RejectRoundType kFirstRejectRound
Definition: on_demand_common.cpp:11
uint32_t RejectRoundType
Definition: round.hpp:26
consensus::Round nextRejectRound(const consensus::Round &round)
Definition: on_demand_common.cpp:28