#include <verified_votes.hpp>
|
std::pair< bool, PeriodVerifiedVotesMap::iterator > | get (PbftPeriod period) |
|
std::pair< bool, PeriodVerifiedVotesMap::const_iterator > | get (PbftPeriod period) const |
|
std::pair< bool, RoundVerifiedVotesMap::iterator > | get (PbftPeriod period, PbftRound round) |
|
std::pair< bool, RoundVerifiedVotesMap::const_iterator > | get (PbftPeriod period, PbftRound round) const |
|
std::pair< bool, StepVotesMap::iterator > | get (PbftPeriod period, PbftRound round, PbftStep step) |
|
std::pair< bool, StepVotesMap::const_iterator > | get (PbftPeriod period, PbftRound round, PbftStep step) const |
|
◆ VerifiedVotes()
taraxa::VerifiedVotes::VerifiedVotes |
( |
addr_t |
node_addr | ) |
|
|
inline |
◆ cleanupVotesByPeriod()
void taraxa::VerifiedVotes::cleanupVotesByPeriod |
( |
PbftPeriod |
pbft_period | ) |
|
◆ get() [1/6]
std::pair< bool, PeriodVerifiedVotesMap::iterator > taraxa::VerifiedVotes::get |
( |
PbftPeriod |
period | ) |
|
|
private |
◆ get() [2/6]
std::pair< bool, PeriodVerifiedVotesMap::const_iterator > taraxa::VerifiedVotes::get |
( |
PbftPeriod |
period | ) |
const |
|
private |
◆ get() [3/6]
std::pair< bool, RoundVerifiedVotesMap::iterator > taraxa::VerifiedVotes::get |
( |
PbftPeriod |
period, |
|
|
PbftRound |
round |
|
) |
| |
|
private |
◆ get() [4/6]
std::pair< bool, RoundVerifiedVotesMap::const_iterator > taraxa::VerifiedVotes::get |
( |
PbftPeriod |
period, |
|
|
PbftRound |
round |
|
) |
| const |
|
private |
◆ get() [5/6]
◆ get() [6/6]
◆ getPeriodVotes()
◆ getRoundVotes()
◆ getStepVotes()
◆ getTwoTPlusOneVotedBlock()
◆ getTwoTPlusOneVotedBlockVotes()
◆ insertTwoTPlusOneVotedBlock()
◆ insertUniqueVoter()
std::optional< std::shared_ptr< PbftVote > > taraxa::VerifiedVotes::insertUniqueVoter |
( |
const std::shared_ptr< PbftVote > & |
vote | ) |
|
◆ insertVotedValue()
std::optional< VotesWithWeight > taraxa::VerifiedVotes::insertVotedValue |
( |
const std::shared_ptr< PbftVote > & |
vote | ) |
|
◆ setNetworkTPlusOneStep()
void taraxa::VerifiedVotes::setNetworkTPlusOneStep |
( |
std::shared_ptr< PbftVote > |
vote | ) |
|
◆ size()
uint64_t taraxa::VerifiedVotes::size |
( |
| ) |
const |
◆ votes()
std::vector< std::shared_ptr< PbftVote > > taraxa::VerifiedVotes::votes |
( |
| ) |
const |
◆ verified_votes_
◆ verified_votes_access_
std::shared_mutex taraxa::VerifiedVotes::verified_votes_access_ |
|
mutableprivate |
The documentation for this class was generated from the following files: