Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Governance Voting. More...
#include <governance-vote.h>
Static Public Member Functions | |
static vote_outcome_enum_t | ConvertVoteOutcome (const std::string &strVoteOutcome) |
static vote_signal_enum_t | ConvertVoteSignal (const std::string &strVoteSignal) |
static std::string | ConvertOutcomeToString (vote_outcome_enum_t nOutcome) |
static std::string | ConvertSignalToString (vote_signal_enum_t nSignal) |
Detailed Description
Governance Voting.
Static class for accessing governance data
Definition at line 41 of file governance-vote.h.
Member Function Documentation
◆ ConvertOutcomeToString()
|
static |
Definition at line 14 of file governance-vote.cpp.
References LogPrintf, VOTE_OUTCOME_ABSTAIN, VOTE_OUTCOME_NO, VOTE_OUTCOME_NONE, and VOTE_OUTCOME_YES.
Referenced by CGovernanceVote::ToString().
◆ ConvertSignalToString()
|
static |
Definition at line 30 of file governance-vote.cpp.
References LogPrintf, VOTE_SIGNAL_DELETE, VOTE_SIGNAL_ENDORSED, VOTE_SIGNAL_FUNDING, and VOTE_SIGNAL_VALID.
Referenced by CGovernanceObject::ProcessVote(), and CGovernanceVote::ToString().
◆ ConvertVoteOutcome()
|
static |
Definition at line 47 of file governance-vote.cpp.
References LogPrintf, VOTE_OUTCOME_ABSTAIN, VOTE_OUTCOME_NO, VOTE_OUTCOME_NONE, and VOTE_OUTCOME_YES.
Referenced by gobject_vote_conf(), and voteraw().
◆ ConvertVoteSignal()
|
static |
Definition at line 64 of file governance-vote.cpp.
References LogPrintf, VOTE_SIGNAL_DELETE, VOTE_SIGNAL_ENDORSED, VOTE_SIGNAL_FUNDING, VOTE_SIGNAL_NONE, and VOTE_SIGNAL_VALID.
Referenced by gobject_vote_conf(), and voteraw().
The documentation for this class was generated from the following files:
- src/governance/governance-vote.h
- src/governance/governance-vote.cpp