6 #ifndef IROHA_YAC_COMMON_HPP 7 #define IROHA_YAC_COMMON_HPP 11 #include <boost/optional.hpp> 28 bool sameKeys(
const std::vector<VoteMessage> &votes);
36 boost::optional<Round>
getKey(
const std::vector<VoteMessage> &votes);
44 boost::optional<YacHash>
getHash(
const std::vector<VoteMessage> &votes);
48 #endif // IROHA_YAC_COMMON_HPP boost::optional< Round > getKey(const std::vector< VoteMessage > &votes)
Definition: yac_common.cpp:25
std::string ProposalHash
Definition: yac_common.hpp:19
bool sameKeys(const std::vector< VoteMessage > &votes)
Definition: yac_common.cpp:14
std::string BlockHash
Definition: yac_common.hpp:21
boost::optional< YacHash > getHash(const std::vector< VoteMessage > &votes)
Definition: yac_common.cpp:33
Definition: cluster_order.hpp:16