From: Sunny King Date: Sun, 9 Sep 2012 20:08:58 +0000 (+0100) Subject: PPCoin: Print full block hash to debug log with -printblocktree X-Git-Tag: v0.4.0-unstable~70 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=6776c5017b60e9ada65a00a3878b8942ddcc68de PPCoin: Print full block hash to debug log with -printblocktree --- diff --git a/src/main.cpp b/src/main.cpp index e4e6acf..04886ed 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2388,11 +2388,11 @@ void PrintBlockTree() // print item CBlock block; block.ReadFromDisk(pindex); - printf("%d (%u,%u) %s %08lx %s mint %s tx %d", + printf("%d (%u,%u) %s %08lx %s mint %7s tx %d", pindex->nHeight, pindex->nFile, pindex->nBlockPos, - block.GetHash().ToString().substr(0,20).c_str(), + block.GetHash().ToString().c_str(), block.nBits, DateTimeStrFormat(block.GetBlockTime()).c_str(), FormatMoney(pindex->nMint).c_str(),