#include <vote_weight.hpp>
Definition at line 28 of file vote_weight.hpp.
void kagome::consensus::grandpa::VoteWeight::OneTypeVoteWeight::merge |
( |
const OneTypeVoteWeight & |
other, |
|
|
const std::shared_ptr< VoterSet > & |
voter_set |
|
) |
| |
|
inline |
bool kagome::consensus::grandpa::VoteWeight::OneTypeVoteWeight::operator== |
( |
const OneTypeVoteWeight & |
other | ) |
const |
|
inline |
void kagome::consensus::grandpa::VoteWeight::OneTypeVoteWeight::set |
( |
size_t |
index, |
|
|
size_t |
weight |
|
) |
| |
|
inline |
Weight kagome::consensus::grandpa::VoteWeight::OneTypeVoteWeight::total |
( |
const std::vector< bool > & |
equivocators, |
|
|
const VoterSet & |
voter_set |
|
) |
| const |
|
inline |
void kagome::consensus::grandpa::VoteWeight::OneTypeVoteWeight::unset |
( |
size_t |
index, |
|
|
size_t |
weight |
|
) |
| |
|
inline |
std::vector<bool> kagome::consensus::grandpa::VoteWeight::OneTypeVoteWeight::flags |
Weight kagome::consensus::grandpa::VoteWeight::OneTypeVoteWeight::sum = 0 |
The documentation for this struct was generated from the following file: