6 #ifndef IROHA_YAC_VOTE_STORAGE_HPP 7 #define IROHA_YAC_VOTE_STORAGE_HPP 10 #include <unordered_map> 13 #include <boost/optional.hpp> 68 auto getProposalStorage(
const Round &round);
91 boost::optional<Answer> store(std::vector<VoteMessage> state,
99 bool isCommitted(
const Round &round);
117 void nextProcessingState(
const Round &round);
125 std::vector<YacProposalStorage> proposal_storages_;
132 std::unordered_map<Round, ProposalState, RoundTypeHasher>
140 #endif // IROHA_YAC_VOTE_STORAGE_HPP Definition: yac_vote_storage.hpp:59
ProposalState
Definition: yac_vote_storage.hpp:50
Definition: block_query.hpp:16
size_t PeersNumberType
Type for number of peers in round.
Definition: yac_types.hpp:16
Definition: vote_message.hpp:22