5 #ifndef GOVERNANCE_VOTEDB_H 6 #define GOVERNANCE_VOTEDB_H 71 std::vector<CGovernanceVote>
GetVotes()
const;
79 template <
typename Stream,
typename Operation>
80 inline void SerializationOp(Stream& s, Operation ser_action,
int nType,
int nVersion)
84 if(ser_action.ForRead()) {
vote_l_t::iterator vote_l_it
std::vector< CGovernanceVote > GetVotes() const
void AddVote(const CGovernanceVote &vote)
bool GetVote(const uint256 &nHash, CGovernanceVote &vote) const
std::map< uint256, vote_l_it > vote_m_t
std::list< CGovernanceVote > vote_l_t
void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)
void RemoveVotesFromMasternode(const COutPoint &outpointMasternode)
static const int MAX_MEMORY_VOTES
bool HasVote(const uint256 &nHash) const
CGovernanceObjectVoteFile()
CGovernanceObjectVoteFile & operator=(const CGovernanceObjectVoteFile &other)
vote_m_t::const_iterator vote_m_cit
vote_m_t::iterator vote_m_it
vote_l_t::const_iterator vote_l_cit