Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

governance-vote.h File Reference
#include <key.h>
#include <primitives/transaction.h>
#include <bls/bls.h>
+ Include dependency graph for governance-vote.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CGovernanceVoting
 Governance Voting. More...
 
class  CGovernanceVote
 

Enumerations

enum  vote_outcome_enum_t { VOTE_OUTCOME_NONE = 0, VOTE_OUTCOME_YES = 1, VOTE_OUTCOME_NO = 2, VOTE_OUTCOME_ABSTAIN = 3 }
 
enum  vote_signal_enum_t {
  VOTE_SIGNAL_NONE = 0, VOTE_SIGNAL_FUNDING = 1, VOTE_SIGNAL_VALID = 2, VOTE_SIGNAL_DELETE = 3,
  VOTE_SIGNAL_ENDORSED = 4
}
 

Variables

static const int MAX_SUPPORTED_VOTE_SIGNAL = VOTE_SIGNAL_ENDORSED
 

Enumeration Type Documentation

◆ vote_outcome_enum_t

Enumerator
VOTE_OUTCOME_NONE 
VOTE_OUTCOME_YES 
VOTE_OUTCOME_NO 
VOTE_OUTCOME_ABSTAIN 

Definition at line 16 of file governance-vote.h.

◆ vote_signal_enum_t

Enumerator
VOTE_SIGNAL_NONE 
VOTE_SIGNAL_FUNDING 
VOTE_SIGNAL_VALID 
VOTE_SIGNAL_DELETE 
VOTE_SIGNAL_ENDORSED 

Definition at line 25 of file governance-vote.h.

Variable Documentation

◆ MAX_SUPPORTED_VOTE_SIGNAL

const int MAX_SUPPORTED_VOTE_SIGNAL = VOTE_SIGNAL_ENDORSED
static

Definition at line 33 of file governance-vote.h.

Referenced by CGovernanceVote::IsValid(), and CGovernanceObject::ProcessVote().

Released under the MIT license