6 #ifndef IROHA_SUPERMAJORITY_CHECKER_CFT_HPP 7 #define IROHA_SUPERMAJORITY_CHECKER_CFT_HPP 29 bool canHaveSupermajority(
const VoteGroups &votes,
36 #endif // IROHA_SUPERMAJORITY_CHECKER_CFT_HPP An implementation of CFT supermajority checker.
Definition: supermajority_checker_cft.hpp:21
Definition: block_query.hpp:15
boost::any_range< PeersNumberType, boost::forward_traversal_tag, const PeersNumberType, std::ptrdiff_t > VoteGroups
Definition: supermajority_checker.hpp:39
size_t PeersNumberType
Type for number of peers in round.
Definition: yac_types.hpp:16
constexpr unsigned int kSupermajorityCheckerKfPlus1Cft
The free parameter of Kf+1 consistency model for CFT.
Definition: supermajority_checker_cft.hpp:17
Definition: supermajority_checker.hpp:31