test
This commit is contained in:
@@ -364,7 +364,12 @@ uint32_t komodo_txtime(uint256 hash)
|
|||||||
|
|
||||||
void komodo_disconnect(CBlockIndex *pindex,CBlock& block)
|
void komodo_disconnect(CBlockIndex *pindex,CBlock& block)
|
||||||
{
|
{
|
||||||
|
int32_t i; uint256 hash;
|
||||||
komodo_init();
|
komodo_init();
|
||||||
|
hash = block.GetHash();
|
||||||
|
for (i=0; i<32; i++)
|
||||||
|
printf("%02x",((uint8_t *)&hash)[i]);
|
||||||
|
printf(" <- disconnect block\n");
|
||||||
//uint256 zero;
|
//uint256 zero;
|
||||||
//printf("disconnect ht.%d\n",pindex->nHeight);
|
//printf("disconnect ht.%d\n",pindex->nHeight);
|
||||||
//memset(&zero,0,sizeof(zero));
|
//memset(&zero,0,sizeof(zero));
|
||||||
|
|||||||
Reference in New Issue
Block a user