mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
CMasternodeMan - masternode manager class - part3 - connect ProcessMessage from mnodeman(rpc still broken)
This commit is contained in:
parent
14e122cbfa
commit
dd1c1b7d1c
@ -4825,7 +4825,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
||||
{
|
||||
//probably one the extensions
|
||||
ProcessMessageDarksend(pfrom, strCommand, vRecv);
|
||||
ProcessMessageMasternode(pfrom, strCommand, vRecv);
|
||||
mnodeman.ProcessMessage(pfrom, strCommand, vRecv);
|
||||
ProcessMessageInstantX(pfrom, strCommand, vRecv);
|
||||
ProcessSpork(pfrom, strCommand, vRecv);
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ map<uint256, int> mapSeenMasternodeScanningErrors;
|
||||
// cache block hashes as we calculate them
|
||||
std::map<int64_t, uint256> mapCacheBlockHashes;
|
||||
|
||||
void ProcessMessageMasternode(CNode* pfrom, std::string& strCommand, CDataStream& vRecv)
|
||||
void ProcessMessageMasternodePayments(CNode* pfrom, std::string& strCommand, CDataStream& vRecv)
|
||||
{
|
||||
if (strCommand == "mnget") { //Masternode Payments Request Sync
|
||||
if(fLiteMode) return; //disable all darksend/masternode related functionality
|
||||
|
@ -51,7 +51,7 @@ enum masternodeState {
|
||||
MASTERNODE_REMOVE = 4
|
||||
};
|
||||
|
||||
void ProcessMessageMasternode(CNode* pfrom, std::string& strCommand, CDataStream& vRecv);
|
||||
void ProcessMessageMasternodePayments(CNode* pfrom, std::string& strCommand, CDataStream& vRecv);
|
||||
|
||||
//
|
||||
// The Masternode Class. For managing the darksend process. It contains the input of the 1000DRK, signature to prove
|
||||
|
Loading…
Reference in New Issue
Block a user