CMasternodeMan - masternode manager class - part3 - connect ProcessMessage from mnodeman(rpc still broken)

This commit is contained in:
UdjinM6 2015-02-23 23:12:33 +03:00
parent 14e122cbfa
commit dd1c1b7d1c
3 changed files with 3 additions and 3 deletions

View File

@ -4825,7 +4825,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
{ {
//probably one the extensions //probably one the extensions
ProcessMessageDarksend(pfrom, strCommand, vRecv); ProcessMessageDarksend(pfrom, strCommand, vRecv);
ProcessMessageMasternode(pfrom, strCommand, vRecv); mnodeman.ProcessMessage(pfrom, strCommand, vRecv);
ProcessMessageInstantX(pfrom, strCommand, vRecv); ProcessMessageInstantX(pfrom, strCommand, vRecv);
ProcessSpork(pfrom, strCommand, vRecv); ProcessSpork(pfrom, strCommand, vRecv);
} }

View File

@ -15,7 +15,7 @@ map<uint256, int> mapSeenMasternodeScanningErrors;
// cache block hashes as we calculate them // cache block hashes as we calculate them
std::map<int64_t, uint256> mapCacheBlockHashes; 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 (strCommand == "mnget") { //Masternode Payments Request Sync
if(fLiteMode) return; //disable all darksend/masternode related functionality if(fLiteMode) return; //disable all darksend/masternode related functionality

View File

@ -51,7 +51,7 @@ enum masternodeState {
MASTERNODE_REMOVE = 4 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 // The Masternode Class. For managing the darksend process. It contains the input of the 1000DRK, signature to prove