TARAXA
verified_votes.hpp File Reference
#include <unordered_map>
#include "common/types.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  taraxa::VerifiedVotes
 
struct  taraxa::VerifiedVotes::StepVotes
 

Namespaces

 taraxa
 

Enumerations

enum class  taraxa::TwoTPlusOneVotedBlockType { taraxa::SoftVotedBlock , taraxa::CertVotedBlock , taraxa::NextVotedBlock , taraxa::NextVotedNullBlock }
 

Class Documentation

◆ taraxa::VerifiedVotes

struct taraxa::VerifiedVotes
Class Members
PbftStep network_t_plus_one_step
map< PbftStep, StepVotes > step_votes
unordered_map< TwoTPlusOneVotedBlockType, pair< blk_hash_t, PbftStep > > two_t_plus_one_voted_blocks_

◆ taraxa::VerifiedVotes::StepVotes

struct taraxa::VerifiedVotes::StepVotes
Class Members
unordered_map< addr_t, pair< shared_ptr< PbftVote >, shared_ptr< PbftVote > > > unique_voters
unordered_map< blk_hash_t, pair< uint64_t, unordered_map< vote_hash_t, shared_ptr< PbftVote > > > > votes