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

#include <masternode-sync.h>

Public Member Functions

 CMasternodeSync ()
 
void AddedMasternodeList (uint256 hash)
 
void AddedMasternodeWinner (uint256 hash)
 
void AddedBudgetItem (uint256 hash)
 
void GetNextAsset ()
 
std::string GetSyncStatus ()
 
void ProcessMessage (CNode *pfrom, std::string &strCommand, CDataStream &vRecv)
 
bool IsBudgetFinEmpty ()
 
bool IsBudgetPropEmpty ()
 
void Reset ()
 
void Process ()
 
bool IsSynced ()
 
bool IsBlockchainSynced ()
 
bool IsMasternodeListSynced ()
 
void ClearFulfilledRequest ()
 

Public Attributes

std::map< uint256, int > mapSeenSyncMNB
 
std::map< uint256, int > mapSeenSyncMNW
 
std::map< uint256, int > mapSeenSyncBudget
 
int64_t lastMasternodeList
 
int64_t lastMasternodeWinner
 
int64_t lastBudgetItem
 
int64_t lastFailure
 
int nCountFailures
 
std::atomic< int64_t > lastProcess
 
std::atomic< bool > fBlockchainSynced
 
int sumMasternodeList
 
int sumMasternodeWinner
 
int sumBudgetItemProp
 
int sumBudgetItemFin
 
int countMasternodeList
 
int countMasternodeWinner
 
int countBudgetItemProp
 
int countBudgetItemFin
 
int RequestedMasternodeAssets
 
int RequestedMasternodeAttempt
 
int64_t nAssetSyncStarted
 

Detailed Description

Definition at line 29 of file masternode-sync.h.

Constructor & Destructor Documentation

◆ CMasternodeSync()

CMasternodeSync::CMasternodeSync ( )

Definition at line 22 of file masternode-sync.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ AddedBudgetItem()

void CMasternodeSync::AddedBudgetItem ( uint256  hash)

Definition at line 115 of file masternode-sync.cpp.

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

◆ AddedMasternodeList()

void CMasternodeSync::AddedMasternodeList ( uint256  hash)

Definition at line 89 of file masternode-sync.cpp.

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

◆ AddedMasternodeWinner()

void CMasternodeSync::AddedMasternodeWinner ( uint256  hash)

Definition at line 102 of file masternode-sync.cpp.

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

◆ ClearFulfilledRequest()

void CMasternodeSync::ClearFulfilledRequest ( )

Definition at line 217 of file masternode-sync.cpp.

Here is the caller graph for this function:

◆ GetNextAsset()

void CMasternodeSync::GetNextAsset ( )

Definition at line 139 of file masternode-sync.cpp.

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

◆ GetSyncStatus()

std::string CMasternodeSync::GetSyncStatus ( )

Definition at line 161 of file masternode-sync.cpp.

Here is the call graph for this function:

◆ IsBlockchainSynced()

bool CMasternodeSync::IsBlockchainSynced ( )

Definition at line 32 of file masternode-sync.cpp.

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

◆ IsBudgetFinEmpty()

bool CMasternodeSync::IsBudgetFinEmpty ( )

Definition at line 134 of file masternode-sync.cpp.

◆ IsBudgetPropEmpty()

bool CMasternodeSync::IsBudgetPropEmpty ( )

Definition at line 129 of file masternode-sync.cpp.

◆ IsMasternodeListSynced()

bool CMasternodeSync::IsMasternodeListSynced ( )
inline

Definition at line 78 of file masternode-sync.h.

Here is the caller graph for this function:

◆ IsSynced()

bool CMasternodeSync::IsSynced ( )

Definition at line 27 of file masternode-sync.cpp.

Here is the caller graph for this function:

◆ Process()

void CMasternodeSync::Process ( )

Definition at line 229 of file masternode-sync.cpp.

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

◆ ProcessMessage()

void CMasternodeSync::ProcessMessage ( CNode pfrom,
std::string &  strCommand,
CDataStream vRecv 
)

Definition at line 180 of file masternode-sync.cpp.

◆ Reset()

void CMasternodeSync::Reset ( )

Definition at line 64 of file masternode-sync.cpp.

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

Member Data Documentation

◆ countBudgetItemFin

int CMasternodeSync::countBudgetItemFin

Definition at line 54 of file masternode-sync.h.

◆ countBudgetItemProp

int CMasternodeSync::countBudgetItemProp

Definition at line 53 of file masternode-sync.h.

◆ countMasternodeList

int CMasternodeSync::countMasternodeList

Definition at line 51 of file masternode-sync.h.

◆ countMasternodeWinner

int CMasternodeSync::countMasternodeWinner

Definition at line 52 of file masternode-sync.h.

◆ fBlockchainSynced

std::atomic<bool> CMasternodeSync::fBlockchainSynced

Definition at line 43 of file masternode-sync.h.

◆ lastBudgetItem

int64_t CMasternodeSync::lastBudgetItem

Definition at line 38 of file masternode-sync.h.

◆ lastFailure

int64_t CMasternodeSync::lastFailure

Definition at line 39 of file masternode-sync.h.

◆ lastMasternodeList

int64_t CMasternodeSync::lastMasternodeList

Definition at line 36 of file masternode-sync.h.

◆ lastMasternodeWinner

int64_t CMasternodeSync::lastMasternodeWinner

Definition at line 37 of file masternode-sync.h.

◆ lastProcess

std::atomic<int64_t> CMasternodeSync::lastProcess

Definition at line 42 of file masternode-sync.h.

◆ mapSeenSyncBudget

std::map<uint256, int> CMasternodeSync::mapSeenSyncBudget

Definition at line 34 of file masternode-sync.h.

◆ mapSeenSyncMNB

std::map<uint256, int> CMasternodeSync::mapSeenSyncMNB

Definition at line 32 of file masternode-sync.h.

◆ mapSeenSyncMNW

std::map<uint256, int> CMasternodeSync::mapSeenSyncMNW

Definition at line 33 of file masternode-sync.h.

◆ nAssetSyncStarted

int64_t CMasternodeSync::nAssetSyncStarted

Definition at line 61 of file masternode-sync.h.

◆ nCountFailures

int CMasternodeSync::nCountFailures

Definition at line 40 of file masternode-sync.h.

◆ RequestedMasternodeAssets

int CMasternodeSync::RequestedMasternodeAssets

Definition at line 57 of file masternode-sync.h.

◆ RequestedMasternodeAttempt

int CMasternodeSync::RequestedMasternodeAttempt

Definition at line 58 of file masternode-sync.h.

◆ sumBudgetItemFin

int CMasternodeSync::sumBudgetItemFin

Definition at line 49 of file masternode-sync.h.

◆ sumBudgetItemProp

int CMasternodeSync::sumBudgetItemProp

Definition at line 48 of file masternode-sync.h.

◆ sumMasternodeList

int CMasternodeSync::sumMasternodeList

Definition at line 46 of file masternode-sync.h.

◆ sumMasternodeWinner

int CMasternodeSync::sumMasternodeWinner

Definition at line 47 of file masternode-sync.h.


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