TARAXA
Loading...
Searching...
No Matches
pillar_votes.hpp File Reference
#include <memory>
#include <shared_mutex>
#include "vote/pillar_vote.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  taraxa::pillar_chain::PillarVotes
 
struct  taraxa::pillar_chain::PillarVotes::WeightVotes
 
struct  taraxa::pillar_chain::PillarVotes::PeriodVotes
 

Namespaces

namespace  taraxa
 
namespace  taraxa::pillar_chain
 

Class Documentation

◆ taraxa::pillar_chain::PillarVotes::WeightVotes

struct taraxa::pillar_chain::PillarVotes::WeightVotes
Class Members
unordered_map< vote_hash_t, pair< shared_ptr< PillarVote >, uint64_t > > votes
uint64_t weight {0}

◆ taraxa::pillar_chain::PillarVotes::PeriodVotes

struct taraxa::pillar_chain::PillarVotes::PeriodVotes
Class Members
unordered_map< blk_hash_t, WeightVotes > pillar_block_votes
uint64_t threshold {0}
unordered_map< addr_t, vote_hash_t > unique_voters