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

#include <masternode-budget.h>

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

Public Member Functions

 CBudgetProposalBroadcast ()
 
 CBudgetProposalBroadcast (const CBudgetProposal &other)
 
 CBudgetProposalBroadcast (const CBudgetProposalBroadcast &other)
 
 CBudgetProposalBroadcast (std::string strProposalNameIn, std::string strURLIn, int nPaymentCount, CScript addressIn, CAmount nAmountIn, int nBlockStartIn, uint256 nFeeTXHashIn)
 
void swap (CBudgetProposalBroadcast &first, CBudgetProposalBroadcast &second)
 
CBudgetProposalBroadcastoperator= (CBudgetProposalBroadcast from)
 
void Relay ()
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 
- Public Member Functions inherited from CBudgetProposal
 CBudgetProposal ()
 
 CBudgetProposal (const CBudgetProposal &other)
 
 CBudgetProposal (std::string strProposalNameIn, std::string strURLIn, int nBlockStartIn, int nBlockEndIn, CScript addressIn, CAmount nAmountIn, uint256 nFeeTXHashIn)
 
void Calculate ()
 
bool AddOrUpdateVote (CBudgetVote &vote, std::string &strError)
 
bool HasMinimumRequiredSupport ()
 
std::pair< std::string, std::string > GetVotes ()
 
bool IsValid (std::string &strError, bool fCheckCollateral=true)
 
bool IsEstablished ()
 
std::string GetName ()
 
std::string GetURL ()
 
int GetBlockStart ()
 
int GetBlockEnd ()
 
CScript GetPayee ()
 
int GetTotalPaymentCount ()
 
int GetRemainingPaymentCount ()
 
int GetBlockStartCycle ()
 
int GetBlockCurrentCycle ()
 
int GetBlockEndCycle ()
 
double GetRatio ()
 
int GetYeas ()
 
int GetNays ()
 
int GetAbstains ()
 
CAmount GetAmount ()
 
void SetAllotted (CAmount nAllotedIn)
 
CAmount GetAllotted ()
 
void CleanAndRemove (bool fSignatureCheck)
 
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 CBudgetProposal
bool fValid
 
std::string strProposalName
 
std::string strURL
 
int nBlockStart
 
int nBlockEnd
 
CAmount nAmount
 
CScript address
 
int64_t nTime
 
uint256 nFeeTXHash
 
std::map< uint256, CBudgetVotemapVotes
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CBudgetProposalBroadcast() [1/4]

CBudgetProposalBroadcast::CBudgetProposalBroadcast ( )
inline

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

◆ CBudgetProposalBroadcast() [2/4]

CBudgetProposalBroadcast::CBudgetProposalBroadcast ( const CBudgetProposal other)
inline

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

◆ CBudgetProposalBroadcast() [3/4]

CBudgetProposalBroadcast::CBudgetProposalBroadcast ( const CBudgetProposalBroadcast other)
inline

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

◆ CBudgetProposalBroadcast() [4/4]

CBudgetProposalBroadcast::CBudgetProposalBroadcast ( std::string  strProposalNameIn,
std::string  strURLIn,
int  nPaymentCount,
CScript  addressIn,
CAmount  nAmountIn,
int  nBlockStartIn,
uint256  nFeeTXHashIn 
)

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

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

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

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

Here is the call graph for this function:

◆ Relay()

void CBudgetProposalBroadcast::Relay ( )

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

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

◆ swap()

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

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

Here is the caller graph for this function:

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CBudgetProposalBroadcast::ADD_SERIALIZE_METHODS

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


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