komodo_netevent

This commit is contained in:
jl777
2019-03-22 08:51:37 -11:00
parent 08f197fff3
commit b7cd7f4006
4 changed files with 14 additions and 3 deletions

View File

@@ -7045,9 +7045,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
}
std::vector<uint8_t> payload;
vRecv >> payload;
for (i=0; i<payload.size(); i++)
fprintf(stderr,"%02x",payload[i]);
fprintf(stderr," got event[%d]\n",(int32_t)payload.size());
komodo_netevent(payload);
return(true);
}
else if (strCommand == "verack")