Test
This commit is contained in:
@@ -171,8 +171,10 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
|
|||||||
printf("%d ",mids[i]);
|
printf("%d ",mids[i]);
|
||||||
printf(" minerids from ht.%d\n",height);
|
printf(" minerids from ht.%d\n",height);
|
||||||
if ( KOMODO_REWIND == 0 && (notaryid >= 0 || height > 225000) )
|
if ( KOMODO_REWIND == 0 && (notaryid >= 0 || height > 225000) )
|
||||||
|
{
|
||||||
|
fprintf(stderr,"pow error height.%d loading.%d notaryid.%d\n",height,KOMODO_LOADINGBLOCKS,notaryid);
|
||||||
return error("CheckProofOfWork(): hash doesn't match nBits");
|
return error("CheckProofOfWork(): hash doesn't match nBits");
|
||||||
else fprintf(stderr,"skip return error height.%d loading.%d\n",height,KOMODO_LOADINGBLOCKS);
|
} else fprintf(stderr,"skip return error height.%d loading.%d\n",height,KOMODO_LOADINGBLOCKS);
|
||||||
} else fprintf(stderr,"skip height.%d loading.%d\n",height,KOMODO_LOADINGBLOCKS);
|
} else fprintf(stderr,"skip height.%d loading.%d\n",height,KOMODO_LOADINGBLOCKS);
|
||||||
}
|
}
|
||||||
if ( height > 240000 )
|
if ( height > 240000 )
|
||||||
|
|||||||
Reference in New Issue
Block a user