From 5590655121085a9e94e514450d69f3750854e9a6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 15 Nov 2016 18:21:48 -0300 Subject: [PATCH] test --- src/pow.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/pow.cpp b/src/pow.cpp index 69789f5fa..e9d092bb2 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -127,7 +127,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in } if ( nonz == 0 ) return(true); // will come back via different path with pubkey set - if ( height > 60000 ) + //if ( height > 60000 ) { if ( notaryid >= 0 ) { @@ -142,7 +142,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in } } } - else + /*else { if ( special > 0 ) // special notary id == (height % numnotaries) { @@ -151,12 +151,10 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in bnTarget.SetCompact(KOMODO_MINDIFF_NBITS,&fNegative,&fOverflow); flag = 1; } - } + }*/ } if (fNegative || bnTarget == 0 || fOverflow || bnTarget > UintToArith256(params.powLimit)) return error("CheckProofOfWork(): nBits below minimum work"); - //if ( height > 70000 ) - // bnTarget /= 64; // Check proof of work matches claimed amount if ( UintToArith256(hash) > bnTarget ) {