This commit is contained in:
jl777
2019-08-02 05:01:38 -11:00
parent 40f18eeca5
commit 3cf10af4ee
3 changed files with 8 additions and 7 deletions

View File

@@ -89,7 +89,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
{
blocktime = pindexFirst->nTime;
diff = (pblock->nTime - blocktime);
fprintf(stderr,"%d ",diff);
//fprintf(stderr,"%d ",diff);
if ( i < 12 )
{
if ( i == 3 )
@@ -104,7 +104,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
}
pindexFirst = pindexFirst->pprev;
}
fprintf(stderr,"diffs %d\n",(int32_t) pindexLast->GetHeight());
//fprintf(stderr,"diffs %d\n",(int32_t) pindexLast->GetHeight());
// Check we have enough blocks
if (pindexFirst == NULL)
return nProofOfWorkLimit;