mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
mnb/mnp debugging
This commit is contained in:
parent
aa996b2615
commit
f36e4251ab
@ -409,7 +409,7 @@ bool CMasternodeBroadcast::CheckInputsAndAdd(int& nDoS)
|
||||
}
|
||||
}
|
||||
|
||||
LogPrintf("mnb - Got NEW Masternode entry %s %s\n", addr.ToString(), vin.ToString());
|
||||
LogPrintf("mnb - Got NEW Masternode entry - %s - %s - %s - %lli \n", GetHash().ToString(), addr.ToString(), vin.ToString(), sigTime);
|
||||
CMasternode mn(*this);
|
||||
mnodeman.Add(mn);
|
||||
|
||||
@ -514,6 +514,8 @@ bool CMasternodePing::CheckAndUpdate(int& nDos, bool fRequireEnabled)
|
||||
return false;
|
||||
}
|
||||
|
||||
if(fDebug) LogPrintf("CMasternodePing::CheckAndUpdate - New Ping - %s - %s - %lli\n", GetHash().ToString(), blockHash.ToString(), sigTime);
|
||||
|
||||
// see if we have this Masternode
|
||||
CMasternode* pmn = mnodeman.Find(vin);
|
||||
fRequireEnabled = (fRequireEnabled && pmn->IsEnabled()) || !fRequireEnabled;
|
||||
|
Loading…
Reference in New Issue
Block a user