This commit is contained in:
jl777
2019-07-03 07:03:28 -11:00
parent 1a16cdc29c
commit bc89c1de30
2 changed files with 4 additions and 3 deletions

View File

@@ -7052,7 +7052,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);
fprintf(stderr, "recv: %s peer=%d\n", SanitizeString(strCommand).c_str(), (int32_t)pfrom->GetId());
if ( KOMODO_NSPV != 0 )
fprintf(stderr, "recv: %s peer=%d\n", SanitizeString(strCommand).c_str(), (int32_t)pfrom->GetId());
if (mapArgs.count("-dropmessagestest") && GetRand(atoi(mapArgs["-dropmessagestest"])) == 0)
{
LogPrintf("dropmessagestest DROPPING RECV MESSAGE\n");

View File

@@ -463,7 +463,7 @@ public:
void PushMessage(const char* pszCommand)
{
fprintf(stderr,"push.(%s)\n",pszCommand);
//fprintf(stderr,"push.(%s)\n",pszCommand);
try
{
BeginMessage(pszCommand);
@@ -479,7 +479,7 @@ public:
template<typename T1>
void PushMessage(const char* pszCommand, const T1& a1)
{
fprintf(stderr,"push.(%s)\n",pszCommand);
//fprintf(stderr,"push.(%s)\n",pszCommand);
try
{
BeginMessage(pszCommand);