6 #ifndef IROHA_KICK_OUT_PROPOSAL_CREATION_STRATEGY_HPP 7 #define IROHA_KICK_OUT_PROPOSAL_CREATION_STRATEGY_HPP 28 std::shared_ptr<SupermajorityCheckerType> tolerance_checker);
31 size_t peers_in_round)
override;
39 using RoundCollectionType = std::map<RoundType, size_t>;
42 std::shared_ptr<SupermajorityCheckerType> tolerance_checker_;
43 size_t peers_in_round_;
44 RoundCollectionType requested_count_;
49 #endif // IROHA_KICK_OUT_PROPOSAL_CREATION_STRATEGY_HPP bool shouldCreateRound(RoundType round) override
Definition: kick_out_proposal_creation_strategy.cpp:25
Definition: kick_out_proposal_creation_strategy.hpp:23
boost::optional< RoundType > onProposalRequest(RoundType requested_round) override
Definition: kick_out_proposal_creation_strategy.cpp:32
Definition: block_query.hpp:15
Definition: ordering_service_proposal_creation_strategy.hpp:19
KickOutProposalCreationStrategy(std::shared_ptr< SupermajorityCheckerType > tolerance_checker)
Definition: kick_out_proposal_creation_strategy.cpp:12
void onCollaborationOutcome(RoundType round, size_t peers_in_round) override
Definition: kick_out_proposal_creation_strategy.cpp:16
Definition: supermajority_checker.hpp:31