6 #ifndef IROHA_CLEANUP_STRATEGY_HPP 7 #define IROHA_CLEANUP_STRATEGY_HPP 11 #include <boost/optional.hpp> 48 #endif // IROHA_CLEANUP_STRATEGY_HPP virtual bool shouldCreateRound(const Round &round)=0
Definition: block_query.hpp:15
Definition: cleanup_strategy.hpp:19
virtual boost::optional< RoundsType > finalize(Round round, Answer answer)=0
std::vector< Round > RoundsType
Definition: cleanup_strategy.hpp:24
boost::variant< CommitMessage, RejectMessage, FutureMessage > Answer
Definition: storage_result.hpp:23
virtual ~CleanupStrategy()=default