git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
12db855
)
PPCoin: Print full block hash to debug log with -printblocktree
author
Sunny King
<sunnyking9999@gmail.com>
Sun, 9 Sep 2012 20:08:58 +0000 (21:08 +0100)
committer
Sunny King
<sunnyking9999@gmail.com>
Sun, 9 Sep 2012 20:08:58 +0000 (21:08 +0100)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
e4e6acf
..
04886ed
100644
(file)
--- 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(),