| plebble
    | 
#include <daemon.h>
| Public Member Functions | |
| void | clear () | 
| void | dump (const string &prefix, ostream &os) const | 
| bool | add (const pubkey_t::hash_t &, const diff::hash_t &v) | 
| diff::hash_t | select () | 
| void | logline (ostream &os) const | 
| Public Attributes | |
| unordered_set< pubkey_t::hash_t > | voters | 
| unordered_map< diff::hash_t, uint64_t > | votes | 
| mutex | mx | 
| bool us::gov::engine::daemon::votes_t::add | ( | const pubkey_t::hash_t & | , | 
| const diff::hash_t & | v | ||
| ) | 
| void us::gov::engine::daemon::votes_t::clear | ( | ) | 
| void us::gov::engine::daemon::votes_t::dump | ( | const string & | prefix, | 
| ostream & | os | ||
| ) | const | 
| void us::gov::engine::daemon::votes_t::logline | ( | ostream & | os | ) | const | 
| diff::hash_t us::gov::engine::daemon::votes_t::select | ( | ) | 
| 
 | mutable | 
| unordered_set<pubkey_t::hash_t> us::gov::engine::daemon::votes_t::voters | 
| unordered_map<diff::hash_t,uint64_t> us::gov::engine::daemon::votes_t::votes |