|
TARAXA
|
#include <shared_mutex>#include <unordered_map>#include "common/types.hpp"#include "logger/logger.hpp"
Go to the source code of this file.
Classes | |
| struct | taraxa::VotedBlock |
| struct | taraxa::VotesWithWeight |
| struct | taraxa::StepVotes |
| struct | taraxa::RoundVerifiedVotes |
| class | taraxa::VerifiedVotes |
Namespaces | |
| namespace | taraxa |
Typedefs | |
| using | taraxa::TwoTVotedBlockMap = std::unordered_map< TwoTPlusOneVotedBlockType, VotedBlock > |
| using | taraxa::UniqueVotersMap = std::unordered_map< addr_t, std::pair< std::shared_ptr< PbftVote >, std::shared_ptr< PbftVote > > > |
| using | taraxa::StepVotesMap = std::map< PbftStep, StepVotes > |
| using | taraxa::RoundVerifiedVotesMap = std::map< PbftRound, RoundVerifiedVotes > |
| using | taraxa::PeriodVerifiedVotesMap = std::map< PbftPeriod, RoundVerifiedVotesMap > |
Enumerations | |
| enum class | taraxa::TwoTPlusOneVotedBlockType { taraxa::SoftVotedBlock , taraxa::CertVotedBlock , taraxa::NextVotedBlock , taraxa::NextVotedNullBlock } |
| struct taraxa::VotedBlock |
| struct taraxa::VotesWithWeight |
| Class Members | ||
|---|---|---|
| unordered_map< vote_hash_t, shared_ptr< PbftVote > > | votes | |
| uint64_t | weight | |
| struct taraxa::StepVotes |
| Class Members | ||
|---|---|---|
| UniqueVotersMap | unique_voters | |
| unordered_map< blk_hash_t, VotesWithWeight > | votes | |
| struct taraxa::RoundVerifiedVotes |
| Class Members | ||
|---|---|---|
| PbftStep | network_t_plus_one_step {0} | |
| StepVotesMap | step_votes | |
| TwoTVotedBlockMap | two_t_plus_one_voted_blocks_ | |