6 #ifndef IROHA_YAC_GATE_IMPL_HPP 7 #define IROHA_YAC_GATE_IMPL_HPP 37 std::shared_ptr<HashGate> hash_gate,
38 std::shared_ptr<YacPeerOrderer> orderer,
39 std::optional<ClusterOrdering> alternative_order,
40 std::shared_ptr<const LedgerState> ledger_state,
41 std::shared_ptr<YacHashProvider> hash_provider,
42 std::shared_ptr<consensus::ConsensusResultCache> consensus_result_cache,
46 std::optional<GateObject> processOutcome(
Answer const &outcome);
50 std::optional<GateObject> processRoundSwitch(
52 std::shared_ptr<LedgerState const> ledger_state);
61 std::optional<GateObject> handleCommit(
const CommitMessage &msg);
62 std::optional<GateObject> handleReject(
const RejectMessage &msg);
63 std::optional<GateObject> handleFuture(
const FutureMessage &msg);
67 std::optional<std::shared_ptr<shared_model::interface::Block>>
70 std::optional<ClusterOrdering> alternative_order_;
71 std::shared_ptr<const LedgerState> current_ledger_state_;
73 std::shared_ptr<YacPeerOrderer> orderer_;
74 std::shared_ptr<YacHashProvider> hash_provider_;
75 std::shared_ptr<consensus::ConsensusResultCache> consensus_result_cache_;
76 std::shared_ptr<HashGate> hash_gate_;
80 #endif // IROHA_YAC_GATE_IMPL_HPP Definition: block_creator_common.hpp:34
Definition: yac_hash_provider.hpp:25
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
Definition: block_loader.hpp:36
Definition: block_query.hpp:15
Definition: yac_gate.hpp:23
Definition: outcome_messages.hpp:69
Definition: outcome_messages.hpp:57
boost::variant< CommitMessage, RejectMessage, FutureMessage > Answer
Definition: storage_result.hpp:19
Definition: block_creator.hpp:18
Definition: outcome_messages.hpp:45
Definition: cluster_order.hpp:16
Definition: yac_gate_impl.hpp:34