PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CFinalizedBudgetVote Class Reference

#include <finalizedbudgetvote.h>

Inheritance diagram for CFinalizedBudgetVote:
[legend]
Collaboration diagram for CFinalizedBudgetVote:
[legend]

Public Member Functions

 CFinalizedBudgetVote ()
 
 CFinalizedBudgetVote (const CTxIn &vinIn, const uint256 &nBudgetHashIn)
 
void Relay () const
 
uint256 GetHash () const
 
uint256 GetSignatureHash () const override
 
std::string GetStrMessage () const override
 
CTxIn GetVin () const
 
UniValue ToJSON () const
 
uint256 GetBudgetHash () const
 
int64_t GetTime () const
 
bool IsSynced () const
 
bool IsValid () const
 
void SetSynced (bool _fSynced)
 
void SetTime (const int64_t &_nTime)
 
void SetValid (bool _fValid)
 
 SERIALIZE_METHODS (CFinalizedBudgetVote, obj)
 
- Public Member Functions inherited from CSignedMessage
 CSignedMessage ()
 
virtual ~CSignedMessage ()
 
bool Sign (const CKey &key, const CKeyID &keyID)
 CSignedMessage Class Functions inherited by network signed-messages. More...
 
bool Sign (const std::string strSignKey)
 
bool CheckSignature (const CKeyID &keyID) const
 
void SetVchSig (const std::vector< unsigned char > &vchSigIn)
 
std::vector< unsigned char > GetVchSig () const
 
std::string GetSignatureBase64 () const
 
bool Sign (const CBLSSecretKey &sk)
 
bool CheckSignature (const CBLSPublicKey &pk) const
 

Private Attributes

bool fValid
 
bool fSynced
 
CTxIn vin
 
uint256 nBudgetHash
 
int64_t nTime
 

Additional Inherited Members

- Public Attributes inherited from CSignedMessage
int nMessVersion
 
- Protected Attributes inherited from CSignedMessage
std::vector< unsigned char > vchSig
 

Detailed Description

Definition at line 19 of file finalizedbudgetvote.h.

Constructor & Destructor Documentation

◆ CFinalizedBudgetVote() [1/2]

CFinalizedBudgetVote::CFinalizedBudgetVote ( )

Definition at line 10 of file finalizedbudgetvote.cpp.

◆ CFinalizedBudgetVote() [2/2]

CFinalizedBudgetVote::CFinalizedBudgetVote ( const CTxIn vinIn,
const uint256 nBudgetHashIn 
)

Definition at line 19 of file finalizedbudgetvote.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ GetBudgetHash()

uint256 CFinalizedBudgetVote::GetBudgetHash ( ) const
inline

Definition at line 42 of file finalizedbudgetvote.h.

Here is the caller graph for this function:

◆ GetHash()

uint256 CFinalizedBudgetVote::GetHash ( ) const

Definition at line 35 of file finalizedbudgetvote.cpp.

Here is the caller graph for this function:

◆ GetSignatureHash()

uint256 CFinalizedBudgetVote::GetSignatureHash ( ) const
inlineoverridevirtual

Implements CSignedMessage.

Definition at line 36 of file finalizedbudgetvote.h.

Here is the call graph for this function:

◆ GetStrMessage()

std::string CFinalizedBudgetVote::GetStrMessage ( ) const
overridevirtual

Implements CSignedMessage.

Definition at line 53 of file finalizedbudgetvote.cpp.

Here is the call graph for this function:

◆ GetTime()

int64_t CFinalizedBudgetVote::GetTime ( ) const
inline

Definition at line 43 of file finalizedbudgetvote.h.

Here is the caller graph for this function:

◆ GetVin()

CTxIn CFinalizedBudgetVote::GetVin ( ) const
inline

Definition at line 38 of file finalizedbudgetvote.h.

Here is the caller graph for this function:

◆ IsSynced()

bool CFinalizedBudgetVote::IsSynced ( ) const
inline

Definition at line 44 of file finalizedbudgetvote.h.

Here is the caller graph for this function:

◆ IsValid()

bool CFinalizedBudgetVote::IsValid ( ) const
inline

Definition at line 45 of file finalizedbudgetvote.h.

Here is the caller graph for this function:

◆ Relay()

void CFinalizedBudgetVote::Relay ( ) const

Definition at line 29 of file finalizedbudgetvote.cpp.

Here is the call graph for this function:

◆ SERIALIZE_METHODS()

CFinalizedBudgetVote::SERIALIZE_METHODS ( CFinalizedBudgetVote  ,
obj   
)
inline

Definition at line 51 of file finalizedbudgetvote.h.

◆ SetSynced()

void CFinalizedBudgetVote::SetSynced ( bool  _fSynced)
inline

Definition at line 47 of file finalizedbudgetvote.h.

Here is the caller graph for this function:

◆ SetTime()

void CFinalizedBudgetVote::SetTime ( const int64_t &  _nTime)
inline

Definition at line 48 of file finalizedbudgetvote.h.

◆ SetValid()

void CFinalizedBudgetVote::SetValid ( bool  _fValid)
inline

Definition at line 49 of file finalizedbudgetvote.h.

Here is the caller graph for this function:

◆ ToJSON()

UniValue CFinalizedBudgetVote::ToJSON ( ) const

Definition at line 44 of file finalizedbudgetvote.cpp.

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

Member Data Documentation

◆ fSynced

bool CFinalizedBudgetVote::fSynced
private

Definition at line 23 of file finalizedbudgetvote.h.

◆ fValid

bool CFinalizedBudgetVote::fValid
private

Definition at line 22 of file finalizedbudgetvote.h.

◆ nBudgetHash

uint256 CFinalizedBudgetVote::nBudgetHash
private

Definition at line 25 of file finalizedbudgetvote.h.

◆ nTime

int64_t CFinalizedBudgetVote::nTime
private

Definition at line 26 of file finalizedbudgetvote.h.

◆ vin

CTxIn CFinalizedBudgetVote::vin
private

Definition at line 24 of file finalizedbudgetvote.h.


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