4 #ifndef MASTERNODE_SYNC_H 5 #define MASTERNODE_SYNC_H static const int MASTERNODE_SYNC_GOVOBJ_VOTE
void AcceptedBlockHeader(const CBlockIndex *pindexNew)
int64_t GetAssetStartTime()
void ProcessTick(CConnman &connman)
int nRequestedMasternodeAssets
int64_t nTimeAssetSyncStarted
bool IsWinnersListSynced()
static const int MASTERNODE_SYNC_FINISHED
static const int MASTERNODE_SYNC_GOVERNANCE
void UpdatedBlockTip(const CBlockIndex *pindexNew, bool fInitialDownload, CConnman &connman)
static const int MASTERNODE_SYNC_MNW
void SendGovernanceSyncRequest(CNode *pnode, CConnman &connman)
int nRequestedMasternodeAttempt
static const int MASTERNODE_SYNC_INITIAL
std::string GetSyncStatus()
static const int MASTERNODE_SYNC_TIMEOUT_SECONDS
std::string GetAssetName()
static const int MASTERNODE_SYNC_GOVOBJ
static const int MASTERNODE_SYNC_LIST
static const int MASTERNODE_SYNC_ENOUGH_PEERS
CMasternodeSync masternodeSync
static const int MASTERNODE_SYNC_WAITING
void ProcessMessage(CNode *pfrom, std::string &strCommand, CDataStream &vRecv)
static const int MASTERNODE_SYNC_TICK_SECONDS
void NotifyHeaderTip(const CBlockIndex *pindexNew, bool fInitialDownload, CConnman &connman)
void SwitchToNextAsset(CConnman &connman)
bool IsBlockchainSynced()
void ClearFulfilledRequests(CConnman &connman)
void BumpAssetLastTime(std::string strFuncName)
bool IsMasternodeListSynced()
static const int MASTERNODE_SYNC_FAILED