6 #ifndef IROHA_ORDERING_SERVICE_PROPOSAL_CREATION_STRATEGY_HPP 7 #define IROHA_ORDERING_SERVICE_PROPOSAL_CREATION_STRATEGY_HPP 9 #include <boost/optional.hpp> 30 size_t peers_in_round) = 0;
51 #endif // IROHA_ORDERING_SERVICE_PROPOSAL_CREATION_STRATEGY_HPP
Definition: block_query.hpp:15
Definition: ordering_service_proposal_creation_strategy.hpp:19
virtual ~ProposalCreationStrategy()=default
virtual boost::optional< RoundType > onProposalRequest(RoundType requested_round)=0
virtual bool shouldCreateRound(RoundType round)=0
virtual void onCollaborationOutcome(RoundType round, size_t peers_in_round)=0