From f5927d73a78f406d4b3648bb1b35f9896ddd2f1f Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 8 Nov 2016 13:17:53 -0300 Subject: [PATCH] test --- src/pow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pow.cpp b/src/pow.cpp index 85d88eed2..54959c2b0 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -124,6 +124,12 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in //fprintf(stderr," height.%d special.%d nonz.%d\n",height,special,nonz); if ( nonz == 0 ) return(true); // will come back via different path with pubkey set + else + { + for (i=0; i<33; i++) + fprintf(stderr,"%02x",pubkey33[i]); + fprintf(stderr," special.%d notaryid.%d ht.%d mod.%d\n",special,notaryid,height,(height % 35)); + } if ( special > 0 ) // special notary id == (height % numnotaries) { if (UintToArith256(hash) <= bnTarget) // accept normal diff