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

#include <masternode-budget.h>

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

Public Member Functions

 CFinalizedBudgetBroadcast ()
 
 CFinalizedBudgetBroadcast (const CFinalizedBudget &other)
 
 CFinalizedBudgetBroadcast (std::string strBudgetNameIn, int nBlockStartIn, std::vector< CTxBudgetPayment > vecBudgetPaymentsIn, uint256 nFeeTXHashIn)
 
void swap (CFinalizedBudgetBroadcast &first, CFinalizedBudgetBroadcast &second)
 
CFinalizedBudgetBroadcastoperator= (CFinalizedBudgetBroadcast from)
 
void Relay ()
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 
- Public Member Functions inherited from CFinalizedBudget
 CFinalizedBudget ()
 
 CFinalizedBudget (const CFinalizedBudget &other)
 
void CleanAndRemove (bool fSignatureCheck)
 
bool AddOrUpdateVote (CFinalizedBudgetVote &vote, std::string &strError)
 
double GetScore ()
 
bool HasMinimumRequiredSupport ()
 
bool IsValid (std::string &strError, bool fCheckCollateral=true)
 
std::string GetName ()
 
std::string GetProposals ()
 
int GetBlockStart ()
 
int GetBlockEnd ()
 
int GetVoteCount ()
 
bool IsTransactionValid (const CTransaction &txNew, int nBlockHeight)
 
bool GetBudgetPaymentByBlock (int64_t nBlockHeight, CTxBudgetPayment &payment)
 
bool GetPayeeAndAmount (int64_t nBlockHeight, CScript &payee, CAmount &nAmount)
 
void AutoCheck ()
 
CAmount GetTotalPayout ()
 
void SubmitVote ()
 
std::string GetStatus ()
 
uint256 GetHash ()
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 

Public Attributes

 ADD_SERIALIZE_METHODS
 
- Public Attributes inherited from CFinalizedBudget
bool fValid
 
std::string strBudgetName
 
int nBlockStart
 
std::vector< CTxBudgetPaymentvecBudgetPayments
 
std::map< uint256, CFinalizedBudgetVotemapVotes
 
uint256 nFeeTXHash
 
int64_t nTime
 
 ADD_SERIALIZE_METHODS
 

Private Attributes

std::vector< unsigned char > vchSig
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CFinalizedBudgetBroadcast() [1/3]

CFinalizedBudgetBroadcast::CFinalizedBudgetBroadcast ( )

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

◆ CFinalizedBudgetBroadcast() [2/3]

CFinalizedBudgetBroadcast::CFinalizedBudgetBroadcast ( const CFinalizedBudget other)

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

◆ CFinalizedBudgetBroadcast() [3/3]

CFinalizedBudgetBroadcast::CFinalizedBudgetBroadcast ( std::string  strBudgetNameIn,
int  nBlockStartIn,
std::vector< CTxBudgetPayment vecBudgetPaymentsIn,
uint256  nFeeTXHashIn 
)

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

Member Function Documentation

◆ operator=()

CFinalizedBudgetBroadcast& CFinalizedBudgetBroadcast::operator= ( CFinalizedBudgetBroadcast  from)
inline

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

Here is the call graph for this function:

◆ Relay()

void CFinalizedBudgetBroadcast::Relay ( )

Definition at line 2087 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 CFinalizedBudgetBroadcast::SerializationOp ( Stream &  s,
Operation  ser_action,
int  nType,
int  nVersion 
)
inline

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

◆ swap()

void CFinalizedBudgetBroadcast::swap ( CFinalizedBudgetBroadcast first,
CFinalizedBudgetBroadcast second 
)
inline

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

Here is the caller graph for this function:

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CFinalizedBudgetBroadcast::ADD_SERIALIZE_METHODS

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

◆ vchSig

std::vector<unsigned char> CFinalizedBudgetBroadcast::vchSig
private

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


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