git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c9b3fc7
)
Hide debug info
author
alex
<alex@alex-VirtualBox.(none)>
Fri, 19 Apr 2013 22:58:57 +0000 (
02:58
+0400)
committer
alex
<alex@alex-VirtualBox.(none)>
Fri, 19 Apr 2013 22:58:57 +0000 (
02:58
+0400)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
18d85f2
..
3b7652e
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-4121,7
+4121,9
@@
CBlock* CreateNewBlock(CWallet* pwallet, bool fProofOfStake)
nLastBlockTx = nBlockTx;
nLastBlockSize = nBlockSize;
- printf("CreateNewBlock(): total size %"PRI64u"\n", nBlockSize);
+
+ if (fDebug && GetBoolArg("-printpriority"))
+ printf("CreateNewBlock(): total size %"PRI64u"\n", nBlockSize);
if (pblock->IsProofOfWork())
pblock->vtx[0].vout[0].nValue = GetProofOfWorkReward(pblock->nBits);