 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
7 #ifndef MASTERNODE_SYNC_H
8 #define MASTERNODE_SYNC_H
10 #define MASTERNODE_SYNC_INITIAL 0
11 #define MASTERNODE_SYNC_LIST 1
12 #define MASTERNODE_SYNC_MNW 2
13 #define MASTERNODE_SYNC_BUDGET 3
14 #define MASTERNODE_SYNC_BUDGET_PROP 10
15 #define MASTERNODE_SYNC_BUDGET_FIN 11
16 #define MASTERNODE_SYNC_FAILED 998
17 #define MASTERNODE_SYNC_FINISHED 999
19 #define MASTERNODE_SYNC_TIMEOUT 5
20 #define MASTERNODE_SYNC_THRESHOLD 2
std::map< uint256, int > mapSeenSyncBudget
int RequestedMasternodeAssets
bool IsBlockchainSynced()
Information about a peer.
int64_t lastMasternodeWinner
void AddedMasternodeList(uint256 hash)
int countMasternodeWinner
int RequestedMasternodeAttempt
void ClearFulfilledRequest()
CMasternodeSync masternodeSync
int64_t nAssetSyncStarted
std::atomic< bool > fBlockchainSynced
std::atomic< int64_t > lastProcess
void AddedMasternodeWinner(uint256 hash)
256-bit unsigned big integer.
std::string GetSyncStatus()
void AddedBudgetItem(uint256 hash)
int64_t lastMasternodeList
bool IsMasternodeListSynced()
std::map< uint256, int > mapSeenSyncMNB
void ProcessMessage(CNode *pfrom, std::string &strCommand, CDataStream &vRecv)
Double ended buffer combining vector and stream-like interfaces.
#define MASTERNODE_SYNC_LIST
std::map< uint256, int > mapSeenSyncMNW