6 #ifndef IROHA_SUPERMAJORITY_CHECKER_BFT_HPP 7 #define IROHA_SUPERMAJORITY_CHECKER_BFT_HPP 29 bool canHaveSupermajority(
const VoteGroups &votes,
36 #endif // IROHA_SUPERMAJORITY_CHECKER_BFT_HPP constexpr unsigned int kSupermajorityCheckerKfPlus1Bft
The free parameter of Kf+1 consistency model for BFT.
Definition: supermajority_checker_bft.hpp:17
An implementation of BFT supermajority checker.
Definition: supermajority_checker_bft.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
Definition: supermajority_checker.hpp:31