Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
governance-votedb.h
Go to the documentation of this file.
bool HasVote(const uint256 &nHash) const
Return true if the vote with this hash is currently cached in memory.
Definition: governance-votedb.cpp:34
void SerializationOp(Stream &s, Operation ser_action)
Definition: governance-votedb.h:79
void RemoveOldVotes(const CGovernanceVote &vote)
Definition: governance-votedb.cpp:94
Definition: governance-vote.h:54
Double ended buffer combining vector and stream-like interfaces.
Definition: streams.h:103
vote_l_t::const_iterator vote_l_cit
Definition: governance-votedb.h:31
void RemoveVotesFromMasternode(const COutPoint &outpointMasternode)
Definition: governance-votedb.cpp:58
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition: transaction.h:26
ADD_SERIALIZE_METHODS
Definition: governance-votedb.h:76
std::list< CGovernanceVote > vote_l_t
Definition: governance-votedb.h:27
void AddVote(const CGovernanceVote &vote)
Add a vote to the file.
Definition: governance-votedb.cpp:22
CGovernanceObjectVoteFile()
Definition: governance-votedb.cpp:7
std::map< uint256, vote_l_it > vote_m_t
Definition: governance-votedb.h:33
std::vector< CGovernanceVote > GetVotes() const
Definition: governance-votedb.cpp:49
Represents the collection of votes associated with a given CGovernanceObject Recently received votes ...
Definition: governance-votedb.h:24
std::set< uint256 > RemoveInvalidVotes(const COutPoint &outpointMasternode, bool fProposal)
Definition: governance-votedb.cpp:72
bool SerializeVoteToStream(const uint256 &nHash, CDataStream &ss) const
Retrieve a vote cached in memory.
Definition: governance-votedb.cpp:39
vote_m_t::const_iterator vote_m_cit
Definition: governance-votedb.h:37