This commit is contained in:
jl777
2019-07-19 05:51:56 -11:00
parent 59d4e939bd
commit 9e55b41979
2 changed files with 5 additions and 6 deletions

View File

@@ -7090,8 +7090,8 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
const CChainParams& chainparams = Params();
LogPrint("net", "received: %s (%u bytes) peer=%d\n", SanitizeString(strCommand), vRecv.size(), pfrom->id);
//if ( KOMODO_NSPV != 0 )
if ( strCommand != "version" && strCommand != "verack" && strCommand != "ping" && strCommand != "pong" )
fprintf(stderr, "recv: %s (%u bytes) peer=%d\n", SanitizeString(strCommand).c_str(), vRecv.size(), (int32_t)pfrom->GetId());
//if ( strCommand != "version" && strCommand != "verack" )
fprintf(stderr, "recv: %s (%u bytes) peer=%d\n", SanitizeString(strCommand).c_str(), (int32_t)vRecv.size(), (int32_t)pfrom->GetId());
if (mapArgs.count("-dropmessagestest") && GetRand(atoi(mapArgs["-dropmessagestest"])) == 0)
{
LogPrintf("dropmessagestest DROPPING RECV MESSAGE\n");
@@ -7464,7 +7464,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
}
else if (strCommand == "getnSPV")
{
fprintf(stderr,"got getnSPV\n");
std::vector<uint8_t> payload;
vRecv >> payload;
komodo_nSPVreq(pfrom,payload);