printf for testing on server

This commit is contained in:
Michael Toutonghi
2018-05-16 07:18:54 -07:00
parent d942c58d4a
commit 01ff13ceb7

View File

@@ -6024,6 +6024,8 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
pfrom->lasthdrsreq = (int32_t)(pindex ? pindex->nHeight : -1);
for (; pindex; pindex = chainActive.Next(pindex))
{
CBlockHeader h = pindex->GetBlockHeader();
printf("size.%i, solution size.%i", sizeof(h), h.nSolution.size());
vHeaders.push_back(pindex->GetBlockHeader());
if (--nLimit <= 0 || pindex->GetBlockHash() == hashStop)
break;