This commit is contained in:
jl777
2016-10-18 13:48:03 -03:00
parent 68916cc674
commit e156b049a5

View File

@@ -27,7 +27,7 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp)
{
// 1 -> valid notary block, change nBits to KOMODO_MINDIFF_NBITS
// -1 -> invalid, ie, prior to notarized block
/*CBlock block; int32_t height; char *coinbasestr;
CBlock block; int32_t height; char *coinbasestr;
if ( pindex == 0 )
return(0);
if ( ReadBlockFromDisk(block,pindex,1) == 0 )
@@ -36,8 +36,8 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp)
{
height = pindex->nHeight;
coinbasestr = (char *)block.vtx[0].vout[0].scriptPubKey.ToString().c_str();
//printf("ht.%d (%s)\n",height,coinbasestr);
}*/
printf("komodo_blockindexcheck ht.%d (%s)\n",height,coinbasestr);
}
// compare against elected notary pubkeys as of height
return(0);
}