#include <masternode-budget.h>
|
| | CBudgetManager () |
| |
| void | ClearSeen () |
| |
| int | sizeFinalized () |
| |
| int | sizeProposals () |
| |
| void | ResetSync () |
| |
| void | MarkSynced () |
| |
| void | Sync (CNode *node, uint256 nProp, bool fPartial=false) |
| |
| void | Calculate () |
| |
| void | ProcessMessage (CNode *pfrom, std::string &strCommand, CDataStream &vRecv) |
| |
| void | NewBlock () |
| |
| CBudgetProposal * | FindProposal (const std::string &strProposalName) |
| |
| CBudgetProposal * | FindProposal (uint256 nHash) |
| |
| CFinalizedBudget * | FindFinalizedBudget (uint256 nHash) |
| |
| std::pair< std::string, std::string > | GetVotes (std::string strProposalName) |
| |
| CAmount | GetTotalBudget (int nHeight) |
| |
| std::vector< CBudgetProposal * > | GetBudget () |
| |
| std::vector< CBudgetProposal * > | GetAllProposals () |
| |
| std::vector< CFinalizedBudget * > | GetFinalizedBudgets () |
| |
| bool | IsBudgetPaymentBlock (int nBlockHeight) |
| |
| bool | AddProposal (CBudgetProposal &budgetProposal) |
| |
| bool | AddFinalizedBudget (CFinalizedBudget &finalizedBudget) |
| |
| void | SubmitFinalBudget () |
| |
| bool | UpdateProposal (CBudgetVote &vote, CNode *pfrom, std::string &strError) |
| |
| bool | UpdateFinalizedBudget (CFinalizedBudgetVote &vote, CNode *pfrom, std::string &strError) |
| |
| bool | PropExists (uint256 nHash) |
| |
| bool | IsTransactionValid (const CTransaction &txNew, int nBlockHeight) |
| |
| std::string | GetRequiredPaymentsString (int nBlockHeight) |
| |
| bool | FillBlockPayee (CMutableTransaction &txNew, CAmount nFees, bool fProofOfStake) |
| |
| void | CheckOrphanVotes () |
| |
| void | Clear () |
| |
| void | CheckAndRemove () |
| |
| std::string | ToString () const |
| |
| template<typename Stream , typename Operation > |
| void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
| |
Definition at line 172 of file masternode-budget.h.
◆ CBudgetManager()
| CBudgetManager::CBudgetManager |
( |
| ) |
|
|
inline |
◆ AddFinalizedBudget()
◆ AddProposal()
◆ Calculate()
| void CBudgetManager::Calculate |
( |
| ) |
|
◆ CheckAndRemove()
| void CBudgetManager::CheckAndRemove |
( |
| ) |
|
◆ CheckOrphanVotes()
| void CBudgetManager::CheckOrphanVotes |
( |
| ) |
|
◆ Clear()
| void CBudgetManager::Clear |
( |
| ) |
|
|
inline |
◆ ClearSeen()
| void CBudgetManager::ClearSeen |
( |
| ) |
|
|
inline |
◆ FillBlockPayee()
◆ FindFinalizedBudget()
◆ FindProposal() [1/2]
| CBudgetProposal * CBudgetManager::FindProposal |
( |
const std::string & |
strProposalName | ) |
|
◆ FindProposal() [2/2]
◆ GetAllProposals()
◆ GetBudget()
◆ GetFinalizedBudgets()
◆ GetRequiredPaymentsString()
| std::string CBudgetManager::GetRequiredPaymentsString |
( |
int |
nBlockHeight | ) |
|
◆ GetTotalBudget()
| CAmount CBudgetManager::GetTotalBudget |
( |
int |
nHeight | ) |
|
◆ GetVotes()
| std::pair<std::string, std::string> CBudgetManager::GetVotes |
( |
std::string |
strProposalName | ) |
|
◆ IsBudgetPaymentBlock()
| bool CBudgetManager::IsBudgetPaymentBlock |
( |
int |
nBlockHeight | ) |
|
◆ IsTransactionValid()
| bool CBudgetManager::IsTransactionValid |
( |
const CTransaction & |
txNew, |
|
|
int |
nBlockHeight |
|
) |
| |
◆ MarkSynced()
| void CBudgetManager::MarkSynced |
( |
| ) |
|
◆ NewBlock()
| void CBudgetManager::NewBlock |
( |
| ) |
|
◆ ProcessMessage()
| void CBudgetManager::ProcessMessage |
( |
CNode * |
pfrom, |
|
|
std::string & |
strCommand, |
|
|
CDataStream & |
vRecv |
|
) |
| |
◆ PropExists()
| bool CBudgetManager::PropExists |
( |
uint256 |
nHash | ) |
|
◆ ResetSync()
| void CBudgetManager::ResetSync |
( |
| ) |
|
◆ SerializationOp()
template<typename Stream , typename Operation >
| void CBudgetManager::SerializationOp |
( |
Stream & |
s, |
|
|
Operation |
ser_action, |
|
|
int |
nType, |
|
|
int |
nVersion |
|
) |
| |
|
inline |
◆ sizeFinalized()
| int CBudgetManager::sizeFinalized |
( |
| ) |
|
|
inline |
◆ sizeProposals()
| int CBudgetManager::sizeProposals |
( |
| ) |
|
|
inline |
◆ SubmitFinalBudget()
| void CBudgetManager::SubmitFinalBudget |
( |
| ) |
|
◆ Sync()
| void CBudgetManager::Sync |
( |
CNode * |
node, |
|
|
uint256 |
nProp, |
|
|
bool |
fPartial = false |
|
) |
| |
◆ ToString()
| std::string CBudgetManager::ToString |
( |
| ) |
const |
◆ UpdateFinalizedBudget()
◆ UpdateProposal()
| bool CBudgetManager::UpdateProposal |
( |
CBudgetVote & |
vote, |
|
|
CNode * |
pfrom, |
|
|
std::string & |
strError |
|
) |
| |
◆ ADD_SERIALIZE_METHODS
| CBudgetManager::ADD_SERIALIZE_METHODS |
◆ cs
◆ mapCollateralTxids
◆ mapFinalizedBudgets
◆ mapOrphanFinalizedBudgetVotes
◆ mapOrphanMasternodeBudgetVotes
◆ mapProposals
◆ mapSeenFinalizedBudgets
◆ mapSeenFinalizedBudgetVotes
◆ mapSeenMasternodeBudgetProposals
◆ mapSeenMasternodeBudgetVotes
The documentation for this class was generated from the following files: