test
This commit is contained in:
@@ -496,7 +496,8 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block)
|
||||
hwmheight = pindex->nHeight;
|
||||
else
|
||||
{
|
||||
printf("%s hwmheight.%d vs pindex->nHeight.%d t.%u reorg.%d\n",ASSETCHAINS_SYMBOL,hwmheight,pindex->nHeight,(uint32_t)pindex->nTime,hwmheight-pindex->nHeight);
|
||||
if ( pindex->nHeight != hwmheight )
|
||||
printf("%s hwmheight.%d vs pindex->nHeight.%d t.%u reorg.%d\n",ASSETCHAINS_SYMBOL,hwmheight,pindex->nHeight,(uint32_t)pindex->nTime,hwmheight-pindex->nHeight);
|
||||
komodo_event_rewind(sp,symbol,pindex->nHeight);
|
||||
komodo_stateupdate(pindex->nHeight,0,0,0,zero,0,0,0,0,-pindex->nHeight,pindex->nTime,0,0,0,0);
|
||||
}
|
||||
|
||||
@@ -818,7 +818,7 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
|
||||
if ( (pax= komodo_paxmark(height,txids[i],vouts[i],'D',height)) != 0 )
|
||||
komodo_paxdelete(pax);
|
||||
}
|
||||
} else printf("opreturn none issued?\n");
|
||||
} //else printf("opreturn none issued?\n");
|
||||
}
|
||||
}
|
||||
else if ( opretbuf[0] == 'W' )//&& opretlen >= 38 )
|
||||
|
||||
@@ -177,7 +177,7 @@ void komodo_kvupdate(uint8_t *opretbuf,int32_t opretlen,uint64_t value)
|
||||
ptr->height = height;
|
||||
ptr->flags = flags | 1;
|
||||
portable_mutex_unlock(&KOMODO_KV_mutex);
|
||||
} else printf("size mismatch %d vs %d\n",opretlen,coresize);
|
||||
} //else printf("size mismatch %d vs %d\n",opretlen,coresize);
|
||||
} else printf("insufficient fee %.8f vs %.8f flags.%d keylen.%d valuesize.%d height.%d (%02x %02x %02x) (%02x %02x %02x)\n",(double)fee/COIN,(double)value/COIN,flags,keylen,valuesize,height,key[0],key[1],key[2],valueptr[0],valueptr[1],valueptr[2]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user