This commit is contained in:
jl777
2018-04-13 17:28:49 +03:00
parent 6511626015
commit bab2f263a2
2 changed files with 2 additions and 2 deletions

View File

@@ -740,7 +740,7 @@ void komodo_pindex_init(CBlockIndex *pindex,int32_t height)
komodo_block2pubkey33(pindex->pubkey33,block);
for (i=0; i<33; i++)
fprintf(stderr,"%02x",pindex->pubkey33[i]);
fprintf(stderr," set pubkey at height %d/%d tip.%d\n",pindex->nHeight,height,chainActive.Tip()->nHeight);
fprintf(stderr," set pubkey at height %d/%d\n",pindex->nHeight,height);
}
}
if ( (pindex->pubkey33[0] == 2 || pindex->pubkey33[0] == 3) && pindex->nHeight >= 0 && (num= komodo_notaries(pubkeys,(int32_t)pindex->nHeight,(uint32_t)pindex->nTime)) > 0 )

View File

@@ -205,7 +205,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
printf(" <- pubkey\n");
for (i=0; i<66; i++)
printf("%d ",mids[i]);
printf(" minerids from ht.%d pindex.%p\n",height,pindex);
printf(" minerids from ht.%d pindex.%p %d\n",height,pindex,chainActive.Tip()!=0?chainActive.Tip()->nHeight:-1);
if ( KOMODO_LOADINGBLOCKS == 0 )
return false;
}