From 99dd19d43e2490e9a325c458fa0ede8ed3d472ca Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 23 Apr 2018 20:04:54 +0300 Subject: [PATCH] Test --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 456ed9b22..8681bf44a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6700,8 +6700,10 @@ bool SendMessages(CNode* pto, bool fSendTrickle) } } } + CBlockIndex *pindex; if ( komodo_requestedhash != zero && (pindex= mapBlockIndex[komodo_requestedhash]) != 0 ) { + LogPrint("net","request %s to nodeid.%d\n",komodo_requestedhash.ToString().c_str(),pto->GetId()); fprintf(stderr,"request %s to nodeid.%d\n",komodo_requestedhash.ToString().c_str(),pto->GetId()); vGetData.push_back(CInv(MSG_BLOCK, komodo_requestedhash)); MarkBlockAsInFlight(pto->GetId(), komodo_requestedhash, consensusParams, pindex);