From 3d3f275f1479cb3500073ecc837da947414ff50a Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 Apr 2018 02:45:36 +0300 Subject: [PATCH] +prints --- src/main.cpp | 2 +- src/pow.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 79ac0cafe..a7e3a3aab 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4529,7 +4529,7 @@ bool RewindBlockIndex(const CChainParams& params) setDirtyBlockIndex.insert(pindexIter); if (pindexIter == pindexBestInvalid) { - fprintf(stderr,"Reset invalid block marker if it was pointing to this block\n"); + //fprintf(stderr,"Reset invalid block marker if it was pointing to this block\n"); pindexBestInvalid = NULL; } diff --git a/src/pow.cpp b/src/pow.cpp index 92f1da3ce..b118b94d9 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -177,7 +177,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in } if ( flag != 0 || special2 > 0 ) { - //fprintf(stderr,"EASY MINING ht.%d\n",height); + fprintf(stderr,"EASY MINING ht.%d\n",height); bnTarget.SetCompact(KOMODO_MINDIFF_NBITS,&fNegative,&fOverflow); } } @@ -191,7 +191,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in return true; if ( ASSETCHAINS_SYMBOL[0] == 0 ) { - if ( 0 && height > 792000 ) + if ( 1 && height > 792000 ) { for (i=31; i>=0; i--) printf("%02x",((uint8_t *)&hash)[i]);