#include <finalizedbudget.h>
|
| | CFinalizedBudget () |
| |
| | CFinalizedBudget (const std::string &name, int blockstart, const std::vector< CTxBudgetPayment > &vecBudgetPaymentsIn, const uint256 &nfeetxhash) |
| |
| bool | AddOrUpdateVote (const CFinalizedBudgetVote &vote, std::string &strError) |
| |
| UniValue | GetVotesObject () const |
| |
| void | SetSynced (bool synced) |
| |
| void | SyncVotes (CNode *pfrom, bool fPartial, int &nInvCount) const |
| |
| bool | UpdateValid (int nHeight) |
| |
| bool | IsWellFormed (const CAmount &nTotalBudget) |
| |
| bool | IsValid () const |
| |
| void | SetStrInvalid (const std::string &_strInvalid) |
| |
| std::string | IsInvalidReason () const |
| |
| std::string | IsInvalidLogStr () const |
| |
| bool | IsAutoChecked () const |
| |
| void | SetAutoChecked (bool _fAutoChecked) |
| |
| void | SetProposalsStr (const std::string _strProposals) |
| |
| std::string | GetName () const |
| |
| std::string | GetProposalsStr () const |
| |
| std::vector< uint256 > | GetProposalsHashes () const |
| |
| int | GetBlockStart () const |
| |
| int | GetBlockEnd () const |
| |
| const uint256 & | GetFeeTXHash () const |
| |
| int | GetVoteCount () const |
| |
| std::vector< uint256 > | GetVotesHashes () const |
| |
| bool | IsPaidAlready (const uint256 &nProposalHash, const uint256 &nBlockHash, int nBlockHeight) const |
| |
| TrxValidationStatus | IsTransactionValid (const CTransaction &txNew, const uint256 &nBlockHash, int nBlockHeight) const |
| |
| bool | GetBudgetPaymentByBlock (int64_t nBlockHeight, CTxBudgetPayment &payment) const |
| |
| bool | GetPayeeAndAmount (int64_t nBlockHeight, CScript &payee, CAmount &nAmount) const |
| |
| bool | CheckProposals (const std::map< uint256, CBudgetProposal > &mapWinningProposals) const |
| |
| CAmount | GetTotalPayout () const |
| |
| uint256 | GetHash () const |
| |
| | SERIALIZE_METHODS (CFinalizedBudget, obj) |
| |
| bool | ParseBroadcast (CDataStream &broadcast) |
| |
| CDataStream | GetBroadcast () const |
| |
| void | Relay () |
| |
| bool | operator> (const CFinalizedBudget &other) const |
| |
Definition at line 30 of file finalizedbudget.h.
◆ CFinalizedBudget() [1/2]
| CFinalizedBudget::CFinalizedBudget |
( |
| ) |
|
◆ CFinalizedBudget() [2/2]
| CFinalizedBudget::CFinalizedBudget |
( |
const std::string & |
name, |
|
|
int |
blockstart, |
|
|
const std::vector< CTxBudgetPayment > & |
vecBudgetPaymentsIn, |
|
|
const uint256 & |
nfeetxhash |
|
) |
| |
◆ AddOrUpdateVote()
| bool CFinalizedBudget::AddOrUpdateVote |
( |
const CFinalizedBudgetVote & |
vote, |
|
|
std::string & |
strError |
|
) |
| |
◆ CheckAmount()
| bool CFinalizedBudget::CheckAmount |
( |
const CAmount & |
nTotalBudget | ) |
|
|
private |
◆ CheckName()
| bool CFinalizedBudget::CheckName |
( |
| ) |
|
|
private |
◆ CheckProposals()
| bool CFinalizedBudget::CheckProposals |
( |
const std::map< uint256, CBudgetProposal > & |
mapWinningProposals | ) |
const |
◆ CheckStartEnd()
| bool CFinalizedBudget::CheckStartEnd |
( |
| ) |
|
|
private |
◆ GetBlockEnd()
| int CFinalizedBudget::GetBlockEnd |
( |
| ) |
const |
|
inline |
◆ GetBlockStart()
| int CFinalizedBudget::GetBlockStart |
( |
| ) |
const |
|
inline |
◆ GetBroadcast()
◆ GetBudgetPaymentByBlock()
| bool CFinalizedBudget::GetBudgetPaymentByBlock |
( |
int64_t |
nBlockHeight, |
|
|
CTxBudgetPayment & |
payment |
|
) |
| const |
◆ GetFeeTXHash()
| const uint256& CFinalizedBudget::GetFeeTXHash |
( |
| ) |
const |
|
inline |
◆ GetHash()
| uint256 CFinalizedBudget::GetHash |
( |
| ) |
const |
|
inline |
◆ GetName()
| std::string CFinalizedBudget::GetName |
( |
| ) |
const |
|
inline |
◆ GetPayeeAndAmount()
| bool CFinalizedBudget::GetPayeeAndAmount |
( |
int64_t |
nBlockHeight, |
|
|
CScript & |
payee, |
|
|
CAmount & |
nAmount |
|
) |
| const |
◆ GetProposalsHashes()
| std::vector< uint256 > CFinalizedBudget::GetProposalsHashes |
( |
| ) |
const |
◆ GetProposalsStr()
| std::string CFinalizedBudget::GetProposalsStr |
( |
| ) |
const |
|
inline |
◆ GetTotalPayout()
| CAmount CFinalizedBudget::GetTotalPayout |
( |
| ) |
const |
◆ GetVoteCount()
| int CFinalizedBudget::GetVoteCount |
( |
| ) |
const |
◆ GetVotesHashes()
| std::vector< uint256 > CFinalizedBudget::GetVotesHashes |
( |
| ) |
const |
◆ GetVotesObject()
| UniValue CFinalizedBudget::GetVotesObject |
( |
| ) |
const |
◆ IsAutoChecked()
| bool CFinalizedBudget::IsAutoChecked |
( |
| ) |
const |
|
inline |
◆ IsInvalidLogStr()
| std::string CFinalizedBudget::IsInvalidLogStr |
( |
| ) |
const |
|
inline |
◆ IsInvalidReason()
| std::string CFinalizedBudget::IsInvalidReason |
( |
| ) |
const |
|
inline |
◆ IsPaidAlready()
| bool CFinalizedBudget::IsPaidAlready |
( |
const uint256 & |
nProposalHash, |
|
|
const uint256 & |
nBlockHash, |
|
|
int |
nBlockHeight |
|
) |
| const |
◆ IsTransactionValid()
◆ IsValid()
| bool CFinalizedBudget::IsValid |
( |
| ) |
const |
|
inline |
◆ IsWellFormed()
| bool CFinalizedBudget::IsWellFormed |
( |
const CAmount & |
nTotalBudget | ) |
|
◆ operator>()
◆ ParseBroadcast()
| bool CFinalizedBudget::ParseBroadcast |
( |
CDataStream & |
broadcast | ) |
|
◆ PtrGreater()
◆ Relay()
| void CFinalizedBudget::Relay |
( |
| ) |
|
◆ SERIALIZE_METHODS()
◆ SetAutoChecked()
| void CFinalizedBudget::SetAutoChecked |
( |
bool |
_fAutoChecked | ) |
|
|
inline |
◆ SetProposalsStr()
| void CFinalizedBudget::SetProposalsStr |
( |
const std::string |
_strProposals | ) |
|
|
inline |
◆ SetStrInvalid()
| void CFinalizedBudget::SetStrInvalid |
( |
const std::string & |
_strInvalid | ) |
|
|
inline |
◆ SetSynced()
| void CFinalizedBudget::SetSynced |
( |
bool |
synced | ) |
|
◆ SyncVotes()
| void CFinalizedBudget::SyncVotes |
( |
CNode * |
pfrom, |
|
|
bool |
fPartial, |
|
|
int & |
nInvCount |
|
) |
| const |
◆ updateExpired()
| bool CFinalizedBudget::updateExpired |
( |
int |
nCurrentHeight | ) |
|
|
private |
◆ UpdateValid()
| bool CFinalizedBudget::UpdateValid |
( |
int |
nHeight | ) |
|
◆ CBudgetManager
◆ fAutoChecked
| bool CFinalizedBudget::fAutoChecked |
|
private |
◆ fValid
| bool CFinalizedBudget::fValid |
|
private |
◆ mapVotes
◆ MAX_PROPOSALS_PER_CYCLE
| constexpr unsigned int CFinalizedBudget::MAX_PROPOSALS_PER_CYCLE = 100 |
|
staticconstexpr |
◆ nBlockStart
| int CFinalizedBudget::nBlockStart |
|
protected |
◆ nFeeTXHash
| uint256 CFinalizedBudget::nFeeTXHash |
|
protected |
◆ nTime
| int64_t CFinalizedBudget::nTime |
◆ strBudgetName
| std::string CFinalizedBudget::strBudgetName |
|
protected |
◆ strInvalid
| std::string CFinalizedBudget::strInvalid |
|
private |
◆ strProposals
| std::string CFinalizedBudget::strProposals |
|
protected |
◆ vecBudgetPayments
The documentation for this class was generated from the following files: