PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CBudgetVote Class Reference

#include <masternode-budget.h>

Collaboration diagram for CBudgetVote:
[legend]

Public Member Functions

 CBudgetVote ()
 
 CBudgetVote (CTxIn vin, uint256 nProposalHash, int nVoteIn)
 
bool Sign (CKey &keyMasternode, CPubKey &pubKeyMasternode)
 
bool SignatureValid (bool fSignatureCheck)
 
void Relay ()
 
std::string GetVoteString ()
 
uint256 GetHash ()
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 

Public Attributes

bool fValid
 
bool fSynced
 
CTxIn vin
 
uint256 nProposalHash
 
int nVote
 
int64_t nTime
 
std::vector< unsigned char > vchSig
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

Definition at line 53 of file masternode-budget.h.

Constructor & Destructor Documentation

◆ CBudgetVote() [1/2]

CBudgetVote::CBudgetVote ( )

Definition at line 1658 of file masternode-budget.cpp.

◆ CBudgetVote() [2/2]

CBudgetVote::CBudgetVote ( CTxIn  vin,
uint256  nProposalHash,
int  nVoteIn 
)

Definition at line 1668 of file masternode-budget.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ GetHash()

uint256 CBudgetVote::GetHash ( )
inline

Definition at line 79 of file masternode-budget.h.

Here is the caller graph for this function:

◆ GetVoteString()

std::string CBudgetVote::GetVoteString ( )
inline

Definition at line 71 of file masternode-budget.h.

◆ Relay()

void CBudgetVote::Relay ( )

Definition at line 1678 of file masternode-budget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SerializationOp()

template<typename Stream , typename Operation >
void CBudgetVote::SerializationOp ( Stream &  s,
Operation  ser_action,
int  nType,
int  nVersion 
)
inline

Definition at line 92 of file masternode-budget.h.

◆ Sign()

bool CBudgetVote::Sign ( CKey keyMasternode,
CPubKey pubKeyMasternode 
)

Definition at line 1684 of file masternode-budget.cpp.

Here is the call graph for this function:

◆ SignatureValid()

bool CBudgetVote::SignatureValid ( bool  fSignatureCheck)

Definition at line 1708 of file masternode-budget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CBudgetVote::ADD_SERIALIZE_METHODS

Definition at line 89 of file masternode-budget.h.

◆ fSynced

bool CBudgetVote::fSynced

Definition at line 57 of file masternode-budget.h.

◆ fValid

bool CBudgetVote::fValid

Definition at line 56 of file masternode-budget.h.

◆ nProposalHash

uint256 CBudgetVote::nProposalHash

Definition at line 59 of file masternode-budget.h.

◆ nTime

int64_t CBudgetVote::nTime

Definition at line 61 of file masternode-budget.h.

◆ nVote

int CBudgetVote::nVote

Definition at line 60 of file masternode-budget.h.

◆ vchSig

std::vector<unsigned char> CBudgetVote::vchSig

Definition at line 62 of file masternode-budget.h.

◆ vin

CTxIn CBudgetVote::vin

Definition at line 58 of file masternode-budget.h.


The documentation for this class was generated from the following files: