Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

vote_instance_t Struct Reference

#include <governance-object.h>

Public Member Functions

 vote_instance_t (vote_outcome_enum_t eOutcomeIn=VOTE_OUTCOME_NONE, int64_t nTimeIn=0, int64_t nCreationTimeIn=0)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 

Public Attributes

vote_outcome_enum_t eOutcome
 
int64_t nTime
 
int64_t nCreationTime
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

Definition at line 57 of file governance-object.h.

Constructor & Destructor Documentation

◆ vote_instance_t()

vote_instance_t::vote_instance_t ( vote_outcome_enum_t  eOutcomeIn = VOTE_OUTCOME_NONE,
int64_t  nTimeIn = 0,
int64_t  nCreationTimeIn = 0 
)
inline

Definition at line 62 of file governance-object.h.

Member Function Documentation

◆ SerializationOp()

template<typename Stream , typename Operation >
void vote_instance_t::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 72 of file governance-object.h.

References eOutcome, nCreationTime, nTime, and READWRITE.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

vote_instance_t::ADD_SERIALIZE_METHODS

Definition at line 69 of file governance-object.h.

◆ eOutcome

vote_outcome_enum_t vote_instance_t::eOutcome

Definition at line 58 of file governance-object.h.

Referenced by CGovernanceObject::ProcessVote(), and SerializationOp().

◆ nCreationTime

int64_t vote_instance_t::nCreationTime

Definition at line 60 of file governance-object.h.

Referenced by CGovernanceObject::ProcessVote(), and SerializationOp().

◆ nTime

int64_t vote_instance_t::nTime

Definition at line 59 of file governance-object.h.

Referenced by CGovernanceObject::ProcessVote(), and SerializationOp().


The documentation for this struct was generated from the following file:
Released under the MIT license