PIVX Core  5.6.99
P2P Digital Currency
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
CBudgetManager Class Reference

#include <budgetmanager.h>

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

Classes

struct  HighestFinBudget
 

Public Member Functions

 CBudgetManager ()
 
void UpdatedBlockTip (const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override
 Notifies listeners when the block chain tip advances. More...
 
bool HaveProposal (const uint256 &propHash) const
 
bool HaveSeenProposalVote (const uint256 &voteHash) const
 
bool HaveFinalizedBudget (const uint256 &budgetHash) const
 
bool HaveSeenFinalizedBudgetVote (const uint256 &voteHash) const
 
void ReloadMapSeen ()
 
void AddSeenProposalVote (const CBudgetVote &vote)
 
void AddSeenFinalizedBudgetVote (const CFinalizedBudgetVote &vote)
 
void RemoveStaleVotesOnProposal (CBudgetProposal *prop)
 
void RemoveStaleVotesOnFinalBudget (CFinalizedBudget *fbud)
 
CDataStream GetProposalVoteSerialized (const uint256 &voteHash) const
 
CDataStream GetProposalSerialized (const uint256 &propHash) const
 
CDataStream GetFinalizedBudgetVoteSerialized (const uint256 &voteHash) const
 
CDataStream GetFinalizedBudgetSerialized (const uint256 &budgetHash) const
 
bool AddAndRelayProposalVote (const CBudgetVote &vote, std::string &strError)
 
void SetBudgetProposalsStr (CFinalizedBudget &finalizedBudget) const
 
std::string GetFinalizedBudgetStatus (const uint256 &nHash) const
 
void ResetSync ()
 
void MarkSynced ()
 
void Sync (CNode *node, bool fPartial)
 
void SyncSingleItem (CNode *pfrom, const uint256 &nProp)
 
void SetBestHeight (int height)
 
int GetBestHeight () const
 
bool ProcessMessage (CNode *pfrom, std::string &strCommand, CDataStream &vRecv, int &banScore)
 
int ProcessMessageInner (CNode *pfrom, std::string &strCommand, CDataStream &vRecv)
 Process the message and returns the ban score (0 if no banning is needed) More...
 
int ProcessBudgetVoteSync (const uint256 &nProp, CNode *pfrom)
 
int ProcessProposal (CBudgetProposal &proposal)
 
int ProcessFinalizedBudget (CFinalizedBudget &finalbudget, CNode *pfrom)
 
bool ProcessProposalVote (CBudgetVote &proposal, CNode *pfrom, CValidationState &state)
 
bool ProcessFinalizedBudgetVote (CFinalizedBudgetVote &vote, CNode *pfrom, CValidationState &state)
 
CBudgetProposalFindProposal (const uint256 &nHash)
 
CFinalizedBudgetFindFinalizedBudget (const uint256 &nHash)
 
bool GetProposal (const uint256 &nHash, CBudgetProposal &bp) const
 
bool GetFinalizedBudget (const uint256 &nHash, CFinalizedBudget &fb) const
 
const CBudgetProposalFindProposalByName (const std::string &strProposalName) const
 
bool HasAnyProposal () const
 
std::vector< CBudgetProposalGetBudget ()
 
std::vector< CBudgetProposal * > GetAllProposalsOrdered ()
 
std::vector< CFinalizedBudget * > GetFinalizedBudgets ()
 
bool GetExpectedPayeeAmount (int chainHeight, CAmount &nAmountRet) const
 
bool IsBudgetPaymentBlock (int nBlockHeight) const
 
bool IsBudgetPaymentBlock (int nBlockHeight, int &nCountThreshold) const
 
bool AddProposal (CBudgetProposal &budgetProposal)
 
bool AddFinalizedBudget (CFinalizedBudget &finalizedBudget, CNode *pfrom=nullptr)
 
void ForceAddFinalizedBudget (const uint256 &nHash, const uint256 &feeTxId, const CFinalizedBudget &finalizedBudget)
 
uint256 SubmitFinalBudget ()
 
bool UpdateProposal (const CBudgetVote &vote, CNode *pfrom, std::string &strError)
 
bool UpdateFinalizedBudget (const CFinalizedBudgetVote &vote, CNode *pfrom, std::string &strError)
 
TrxValidationStatus IsTransactionValid (const CTransaction &txNew, const uint256 &nBlockHash, int nBlockHeight) const
 
std::string GetRequiredPaymentsString (int nBlockHeight)
 
bool FillBlockPayee (CMutableTransaction &txCoinbase, CMutableTransaction &txCoinstake, const int nHeight, bool fProofOfStake) const
 
void VoteOnFinalizedBudgets ()
 
int CountProposals ()
 
void CheckOrphanVotes ()
 
void Clear ()
 
void CheckAndRemove ()
 
std::string ToString () const
 
void RemoveByFeeTxId (const uint256 &feeTxId)
 
 SERIALIZE_METHODS (CBudgetManager, obj)
 
- Public Member Functions inherited from CValidationInterface
virtual ~CValidationInterface ()=default
 
virtual void AcceptedBlockHeader (const CBlockIndex *pindexNew)
 

Static Public Member Functions

static CAmount GetTotalBudget (int nHeight)
 

Public Attributes

RecursiveMutex cs_budgets
 
RecursiveMutex cs_proposals
 
RecursiveMutex cs_finalizedvotes
 
RecursiveMutex cs_votes
 
std::string strBudgetMode
 

Protected Types

typedef std::pair< std::vector< CBudgetVote >, int64_t > PropVotesAndLastVoteReceivedTime
 
typedef std::pair< std::vector< CFinalizedBudgetVote >, int64_t > BudVotesAndLastVoteReceivedTime
 

Protected Member Functions

HighestFinBudget GetBudgetWithHighestVoteCount (int chainHeight) const
 
int GetHighestVoteCount (int chainHeight) const
 
bool GetPayeeAndAmount (int chainHeight, CScript &payeeRet, CAmount &nAmountRet) const
 
void SetSynced (bool synced)
 
- Protected Member Functions inherited from CValidationInterface
virtual void TransactionAddedToMempool (const CTransactionRef &ptxn)
 Notifies listeners of a transaction having been added to mempool. More...
 
virtual void TransactionRemovedFromMempool (const CTransactionRef &ptx, MemPoolRemovalReason reason)
 Notifies listeners of a transaction leaving mempool. More...
 
virtual void BlockConnected (const std::shared_ptr< const CBlock > &block, const CBlockIndex *pindex)
 Notifies listeners of a block being connected. More...
 
virtual void BlockDisconnected (const std::shared_ptr< const CBlock > &block, const uint256 &blockHash, int nBlockHeight, int64_t blockTime)
 Notifies listeners of a block being disconnected. More...
 
virtual void SetBestChain (const CBlockLocator &locator)
 Notifies listeners of the new active block chain on-disk. More...
 
virtual void ResendWalletTransactions (CConnman *connman)
 Tells listeners to broadcast their data. More...
 
virtual void BlockChecked (const CBlock &, const CValidationState &)
 
friend void ::RegisterSharedValidationInterface (std::shared_ptr< CValidationInterface >)
 
friend void ::UnregisterValidationInterface (CValidationInterface *)
 
friend void ::UnregisterAllValidationInterfaces ()
 
virtual void NotifyMasternodeListChanged (bool undo, const CDeterministicMNList &oldMNList, const CDeterministicMNListDiff &diff)
 Notifies listeners of updated deterministic masternode list. More...
 

Protected Attributes

std::map< uint256, uint256mapUnconfirmedFeeTx
 
std::map< uint256, uint256mapFeeTxToProposal
 
std::map< uint256, uint256mapFeeTxToBudget
 
std::map< uint256, CBudgetProposalmapProposals
 
std::map< uint256, CFinalizedBudgetmapFinalizedBudgets
 
std::map< uint256, CBudgetVotemapSeenProposalVotes
 
std::map< uint256, PropVotesAndLastVoteReceivedTimemapOrphanProposalVotes
 
std::map< uint256, CFinalizedBudgetVotemapSeenFinalizedBudgetVotes
 
std::map< uint256, BudVotesAndLastVoteReceivedTimemapOrphanFinalizedBudgetVotes
 
std::atomic< int > nBestHeight
 

Detailed Description

Definition at line 20 of file budgetmanager.h.

Member Typedef Documentation

◆ BudVotesAndLastVoteReceivedTime

typedef std::pair<std::vector<CFinalizedBudgetVote>, int64_t> CBudgetManager::BudVotesAndLastVoteReceivedTime
protected

Definition at line 39 of file budgetmanager.h.

◆ PropVotesAndLastVoteReceivedTime

typedef std::pair<std::vector<CBudgetVote>, int64_t> CBudgetManager::PropVotesAndLastVoteReceivedTime
protected

Definition at line 36 of file budgetmanager.h.

Constructor & Destructor Documentation

◆ CBudgetManager()

CBudgetManager::CBudgetManager ( )
inline

Definition at line 68 of file budgetmanager.h.

Member Function Documentation

◆ AddAndRelayProposalVote()

bool CBudgetManager::AddAndRelayProposalVote ( const CBudgetVote vote,
std::string &  strError 
)

Definition at line 961 of file budgetmanager.cpp.

Here is the call graph for this function:

◆ AddFinalizedBudget()

bool CBudgetManager::AddFinalizedBudget ( CFinalizedBudget finalizedBudget,
CNode pfrom = nullptr 
)

Definition at line 251 of file budgetmanager.cpp.

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

◆ AddProposal()

bool CBudgetManager::AddProposal ( CBudgetProposal budgetProposal)

Definition at line 328 of file budgetmanager.cpp.

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

◆ AddSeenFinalizedBudgetVote()

void CBudgetManager::AddSeenFinalizedBudgetVote ( const CFinalizedBudgetVote vote)

Definition at line 878 of file budgetmanager.cpp.

Here is the call graph for this function:

◆ AddSeenProposalVote()

void CBudgetManager::AddSeenProposalVote ( const CBudgetVote vote)

Definition at line 872 of file budgetmanager.cpp.

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

◆ CheckAndRemove()

void CBudgetManager::CheckAndRemove ( )

Definition at line 371 of file budgetmanager.cpp.

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

◆ CheckOrphanVotes()

void CBudgetManager::CheckOrphanVotes ( )

Definition at line 51 of file budgetmanager.cpp.

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

◆ Clear()

void CBudgetManager::Clear ( )
inline

Definition at line 158 of file budgetmanager.h.

Here is the caller graph for this function:

◆ CountProposals()

int CBudgetManager::CountProposals ( )
inline

Definition at line 155 of file budgetmanager.h.

Here is the caller graph for this function:

◆ FillBlockPayee()

bool CBudgetManager::FillBlockPayee ( CMutableTransaction txCoinbase,
CMutableTransaction txCoinstake,
const int  nHeight,
bool  fProofOfStake 
) const

Definition at line 518 of file budgetmanager.cpp.

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

◆ FindFinalizedBudget()

CFinalizedBudget * CBudgetManager::FindFinalizedBudget ( const uint256 nHash)

Definition at line 642 of file budgetmanager.cpp.

◆ FindProposal()

CBudgetProposal * CBudgetManager::FindProposal ( const uint256 nHash)

Definition at line 668 of file budgetmanager.cpp.

Here is the caller graph for this function:

◆ FindProposalByName()

const CBudgetProposal * CBudgetManager::FindProposalByName ( const std::string &  strProposalName) const

Definition at line 649 of file budgetmanager.cpp.

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

◆ ForceAddFinalizedBudget()

void CBudgetManager::ForceAddFinalizedBudget ( const uint256 nHash,
const uint256 feeTxId,
const CFinalizedBudget finalizedBudget 
)

Definition at line 317 of file budgetmanager.cpp.

Here is the caller graph for this function:

◆ GetAllProposalsOrdered()

std::vector< CBudgetProposal * > CBudgetManager::GetAllProposalsOrdered ( )

Definition at line 750 of file budgetmanager.cpp.

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

◆ GetBestHeight()

int CBudgetManager::GetBestHeight ( ) const
inline

Definition at line 108 of file budgetmanager.h.

Here is the caller graph for this function:

◆ GetBudget()

std::vector< CBudgetProposal > CBudgetManager::GetBudget ( )

Definition at line 763 of file budgetmanager.cpp.

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

◆ GetBudgetWithHighestVoteCount()

CBudgetManager::HighestFinBudget CBudgetManager::GetBudgetWithHighestVoteCount ( int  chainHeight) const
protected

Definition at line 477 of file budgetmanager.cpp.

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

◆ GetExpectedPayeeAmount()

bool CBudgetManager::GetExpectedPayeeAmount ( int  chainHeight,
CAmount nAmountRet 
) const

Definition at line 512 of file budgetmanager.cpp.

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

◆ GetFinalizedBudget()

bool CBudgetManager::GetFinalizedBudget ( const uint256 nHash,
CFinalizedBudget fb 
) const

Definition at line 684 of file budgetmanager.cpp.

Here is the caller graph for this function:

◆ GetFinalizedBudgets()

std::vector< CFinalizedBudget * > CBudgetManager::GetFinalizedBudgets ( )

Definition at line 814 of file budgetmanager.cpp.

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

◆ GetFinalizedBudgetSerialized()

CDataStream CBudgetManager::GetFinalizedBudgetSerialized ( const uint256 budgetHash) const

Definition at line 955 of file budgetmanager.cpp.

◆ GetFinalizedBudgetStatus()

std::string CBudgetManager::GetFinalizedBudgetStatus ( const uint256 nHash) const

Definition at line 214 of file budgetmanager.cpp.

Here is the call graph for this function:

◆ GetFinalizedBudgetVoteSerialized()

CDataStream CBudgetManager::GetFinalizedBudgetVoteSerialized ( const uint256 voteHash) const

Definition at line 946 of file budgetmanager.cpp.

◆ GetHighestVoteCount()

int CBudgetManager::GetHighestVoteCount ( int  chainHeight) const
protected

Definition at line 495 of file budgetmanager.cpp.

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

◆ GetPayeeAndAmount()

bool CBudgetManager::GetPayeeAndAmount ( int  chainHeight,
CScript payeeRet,
CAmount nAmountRet 
) const
protected

Definition at line 501 of file budgetmanager.cpp.

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

◆ GetProposal()

bool CBudgetManager::GetProposal ( const uint256 nHash,
CBudgetProposal bp 
) const

Definition at line 675 of file budgetmanager.cpp.

Here is the caller graph for this function:

◆ GetProposalSerialized()

CDataStream CBudgetManager::GetProposalSerialized ( const uint256 propHash) const

Definition at line 940 of file budgetmanager.cpp.

◆ GetProposalVoteSerialized()

CDataStream CBudgetManager::GetProposalVoteSerialized ( const uint256 voteHash) const

Definition at line 931 of file budgetmanager.cpp.

◆ GetRequiredPaymentsString()

std::string CBudgetManager::GetRequiredPaymentsString ( int  nBlockHeight)

Definition at line 829 of file budgetmanager.cpp.

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

◆ GetTotalBudget()

CAmount CBudgetManager::GetTotalBudget ( int  nHeight)
static

Definition at line 858 of file budgetmanager.cpp.

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

◆ HasAnyProposal()

bool CBudgetManager::HasAnyProposal ( ) const
inline

Definition at line 131 of file budgetmanager.h.

Here is the caller graph for this function:

◆ HaveFinalizedBudget()

bool CBudgetManager::HaveFinalizedBudget ( const uint256 budgetHash) const
inline

Definition at line 74 of file budgetmanager.h.

Here is the caller graph for this function:

◆ HaveProposal()

bool CBudgetManager::HaveProposal ( const uint256 propHash) const
inline

Definition at line 72 of file budgetmanager.h.

Here is the caller graph for this function:

◆ HaveSeenFinalizedBudgetVote()

bool CBudgetManager::HaveSeenFinalizedBudgetVote ( const uint256 voteHash) const
inline

Definition at line 75 of file budgetmanager.h.

Here is the caller graph for this function:

◆ HaveSeenProposalVote()

bool CBudgetManager::HaveSeenProposalVote ( const uint256 voteHash) const
inline

Definition at line 73 of file budgetmanager.h.

Here is the caller graph for this function:

◆ IsBudgetPaymentBlock() [1/2]

bool CBudgetManager::IsBudgetPaymentBlock ( int  nBlockHeight) const

Definition at line 710 of file budgetmanager.cpp.

Here is the caller graph for this function:

◆ IsBudgetPaymentBlock() [2/2]

bool CBudgetManager::IsBudgetPaymentBlock ( int  nBlockHeight,
int &  nCountThreshold 
) const

Definition at line 693 of file budgetmanager.cpp.

Here is the call graph for this function:

◆ IsTransactionValid()

TrxValidationStatus CBudgetManager::IsTransactionValid ( const CTransaction txNew,
const uint256 nBlockHash,
int  nBlockHeight 
) const

Definition at line 716 of file budgetmanager.cpp.

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

◆ MarkSynced()

void CBudgetManager::MarkSynced ( )
inline

Definition at line 102 of file budgetmanager.h.

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

◆ ProcessBudgetVoteSync()

int CBudgetManager::ProcessBudgetVoteSync ( const uint256 nProp,
CNode pfrom 
)

Definition at line 1048 of file budgetmanager.cpp.

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

◆ ProcessFinalizedBudget()

int CBudgetManager::ProcessFinalizedBudget ( CFinalizedBudget finalbudget,
CNode pfrom 
)

Definition at line 1175 of file budgetmanager.cpp.

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

◆ ProcessFinalizedBudgetVote()

bool CBudgetManager::ProcessFinalizedBudgetVote ( CFinalizedBudgetVote vote,
CNode pfrom,
CValidationState state 
)
Todo:
: remove after enforcement) –

Definition at line 1198 of file budgetmanager.cpp.

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

◆ ProcessMessage()

bool CBudgetManager::ProcessMessage ( CNode pfrom,
std::string &  strCommand,
CDataStream vRecv,
int &  banScore 
)

Definition at line 1283 of file budgetmanager.cpp.

Here is the call graph for this function:

◆ ProcessMessageInner()

int CBudgetManager::ProcessMessageInner ( CNode pfrom,
std::string &  strCommand,
CDataStream vRecv 
)

Process the message and returns the ban score (0 if no banning is needed)

Definition at line 1289 of file budgetmanager.cpp.

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

◆ ProcessProposal()

int CBudgetManager::ProcessProposal ( CBudgetProposal proposal)

Definition at line 1067 of file budgetmanager.cpp.

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

◆ ProcessProposalVote()

bool CBudgetManager::ProcessProposalVote ( CBudgetVote proposal,
CNode pfrom,
CValidationState state 
)
Todo:
: remove after enforcement) –

Definition at line 1089 of file budgetmanager.cpp.

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

◆ ReloadMapSeen()

void CBudgetManager::ReloadMapSeen ( )

Definition at line 31 of file budgetmanager.cpp.

Here is the caller graph for this function:

◆ RemoveByFeeTxId()

void CBudgetManager::RemoveByFeeTxId ( const uint256 feeTxId)

Definition at line 423 of file budgetmanager.cpp.

Here is the call graph for this function:

◆ RemoveStaleVotesOnFinalBudget()

void CBudgetManager::RemoveStaleVotesOnFinalBudget ( CFinalizedBudget fbud)
Todo:
: remove after enforcement) –

Definition at line 908 of file budgetmanager.cpp.

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

◆ RemoveStaleVotesOnProposal()

void CBudgetManager::RemoveStaleVotesOnProposal ( CBudgetProposal prop)
Todo:
: remove after enforcement) –

Definition at line 884 of file budgetmanager.cpp.

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

◆ ResetSync()

void CBudgetManager::ResetSync ( )
inline

Definition at line 101 of file budgetmanager.h.

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

◆ SERIALIZE_METHODS()

CBudgetManager::SERIALIZE_METHODS ( CBudgetManager  ,
obj   
)
inline

Definition at line 189 of file budgetmanager.h.

◆ SetBestHeight()

void CBudgetManager::SetBestHeight ( int  height)
inline

Definition at line 107 of file budgetmanager.h.

Here is the caller graph for this function:

◆ SetBudgetProposalsStr()

void CBudgetManager::SetBudgetProposalsStr ( CFinalizedBudget finalizedBudget) const

Definition at line 200 of file budgetmanager.cpp.

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

◆ SetSynced()

void CBudgetManager::SetSynced ( bool  synced)
protected

Definition at line 1376 of file budgetmanager.cpp.

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

◆ SubmitFinalBudget()

uint256 CBudgetManager::SubmitFinalBudget ( )

Definition at line 100 of file budgetmanager.cpp.

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

◆ Sync()

void CBudgetManager::Sync ( CNode node,
bool  fPartial 
)

Definition at line 1451 of file budgetmanager.cpp.

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

◆ SyncSingleItem()

void CBudgetManager::SyncSingleItem ( CNode pfrom,
const uint256 nProp 
)

Definition at line 1436 of file budgetmanager.cpp.

Here is the call graph for this function:

◆ ToString()

std::string CBudgetManager::ToString ( ) const

Definition at line 1553 of file budgetmanager.cpp.

◆ UpdatedBlockTip()

void CBudgetManager::UpdatedBlockTip ( const CBlockIndex pindexNew,
const CBlockIndex pindexFork,
bool  fInitialDownload 
)
overridevirtual

Notifies listeners when the block chain tip advances.

When multiple blocks are connected at once, UpdatedBlockTip will be called on the final tip but may not be called on every intermediate tip. If the latter behavior is desired, subscribe to BlockConnected() instead.

Called on a background thread.

Reimplemented from CValidationInterface.

Definition at line 971 of file budgetmanager.cpp.

Here is the call graph for this function:

◆ UpdateFinalizedBudget()

bool CBudgetManager::UpdateFinalizedBudget ( const CFinalizedBudgetVote vote,
CNode pfrom,
std::string &  strError 
)

Definition at line 1523 of file budgetmanager.cpp.

Here is the call graph for this function:

◆ UpdateProposal()

bool CBudgetManager::UpdateProposal ( const CBudgetVote vote,
CNode pfrom,
std::string &  strError 
)

Definition at line 1491 of file budgetmanager.cpp.

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

◆ VoteOnFinalizedBudgets()

void CBudgetManager::VoteOnFinalizedBudgets ( )

Definition at line 561 of file budgetmanager.cpp.

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

Member Data Documentation

◆ cs_budgets

RecursiveMutex CBudgetManager::cs_budgets
mutable

Definition at line 60 of file budgetmanager.h.

◆ cs_finalizedvotes

RecursiveMutex CBudgetManager::cs_finalizedvotes
mutable

Definition at line 62 of file budgetmanager.h.

◆ cs_proposals

RecursiveMutex CBudgetManager::cs_proposals
mutable

Definition at line 61 of file budgetmanager.h.

◆ cs_votes

RecursiveMutex CBudgetManager::cs_votes
mutable

Definition at line 63 of file budgetmanager.h.

◆ mapFeeTxToBudget

std::map<uint256, uint256> CBudgetManager::mapFeeTxToBudget
protected

Definition at line 30 of file budgetmanager.h.

◆ mapFeeTxToProposal

std::map<uint256, uint256> CBudgetManager::mapFeeTxToProposal
protected

Definition at line 29 of file budgetmanager.h.

◆ mapFinalizedBudgets

std::map<uint256, CFinalizedBudget> CBudgetManager::mapFinalizedBudgets
protected

Definition at line 33 of file budgetmanager.h.

◆ mapOrphanFinalizedBudgetVotes

std::map<uint256, BudVotesAndLastVoteReceivedTime> CBudgetManager::mapOrphanFinalizedBudgetVotes
protected

Definition at line 40 of file budgetmanager.h.

◆ mapOrphanProposalVotes

std::map<uint256, PropVotesAndLastVoteReceivedTime> CBudgetManager::mapOrphanProposalVotes
protected

Definition at line 37 of file budgetmanager.h.

◆ mapProposals

std::map<uint256, CBudgetProposal> CBudgetManager::mapProposals
protected

Definition at line 32 of file budgetmanager.h.

◆ mapSeenFinalizedBudgetVotes

std::map<uint256, CFinalizedBudgetVote> CBudgetManager::mapSeenFinalizedBudgetVotes
protected

Definition at line 38 of file budgetmanager.h.

◆ mapSeenProposalVotes

std::map<uint256, CBudgetVote> CBudgetManager::mapSeenProposalVotes
protected

Definition at line 35 of file budgetmanager.h.

◆ mapUnconfirmedFeeTx

std::map<uint256, uint256> CBudgetManager::mapUnconfirmedFeeTx
protected

Definition at line 25 of file budgetmanager.h.

◆ nBestHeight

std::atomic<int> CBudgetManager::nBestHeight
protected

Definition at line 43 of file budgetmanager.h.

◆ strBudgetMode

std::string CBudgetManager::strBudgetMode

Definition at line 66 of file budgetmanager.h.


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