This commit is contained in:
jl777
2018-04-16 20:50:13 +03:00
parent 958ee90a65
commit 973793f757

View File

@@ -213,6 +213,11 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash,unsigned int
return false; return false;
} }
} }
for (i=31; i>=0; i--)
fprintf(stderr,"%02x",((uint8_t *)&hash)[i]);
fprintf(stderr," hash vs ");
for (i=31; i>=0; i--)
fprintf(stderr,"%02x",((uint8_t *)&bnTarget)[i]);
fprintf(stderr," height.%d notaryid.%d PoW valid\n",height,notaryid); fprintf(stderr," height.%d notaryid.%d PoW valid\n",height,notaryid);
return true; return true;
} }