Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
governance-vote.h
Go to the documentation of this file.
76 CGovernanceVote(const COutPoint& outpointMasternodeIn, const uint256& nParentHashIn, vote_signal_enum_t eVoteSignalIn, vote_outcome_enum_t eVoteOutcomeIn);
Definition: governance-vote.h:27
Definition: bls.h:238
Definition: governance-vote.h:28
Definition: governance-vote.h:54
static vote_signal_enum_t ConvertVoteSignal(const std::string &strVoteSignal)
Definition: governance-vote.cpp:64
Definition: governance-vote.h:18
static std::string ConvertOutcomeToString(vote_outcome_enum_t nOutcome)
Definition: governance-vote.cpp:14
const COutPoint & GetMasternodeOutpoint() const
Definition: governance-vote.h:105
uint256 GetSignatureHash() const
Definition: governance-vote.cpp:158
Definition: bls.h:263
void SerializationOp(Stream &s, Operation ser_action)
Definition: governance-vote.h:121
bool CheckSignature(const CKeyID &keyID) const
Definition: governance-vote.cpp:198
Definition: governance-vote.h:20
An outpoint - a combination of a transaction hash and an index n into its vout.
Definition: transaction.h:26
friend bool operator==(const CGovernanceVote &vote1, const CGovernanceVote &vote2)
Definition: governance-vote.cpp:280
Definition: governance-vote.h:29
Definition: governance-vote.h:19
void SetSignature(const std::vector< unsigned char > &vchSigIn)
Definition: governance-vote.h:96
friend bool operator<(const CGovernanceVote &vote1, const CGovernanceVote &vote2)
Definition: governance-vote.cpp:290
Definition: governance-vote.h:26
bool Sign(const CKey &key, const CKeyID &keyID)
Definition: governance-vote.cpp:163
static std::string ConvertSignalToString(vote_signal_enum_t nSignal)
Definition: governance-vote.cpp:30
Definition: governance-vote.h:17
Definition: serialize.h:162
static vote_outcome_enum_t ConvertVoteOutcome(const std::string &strVoteOutcome)
Definition: governance-vote.cpp:47
Definition: governance-vote.h:30