Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
d836d2366d
  1. 2
      basilisk/basilisk.c
  2. 6
      iguana/iguana_volatiles.c

2
basilisk/basilisk.c

@ -778,7 +778,7 @@ void basilisks_loop(void *arg)
{
if ( pending != 0 && (pending->finished != 0 || OS_milliseconds() > pending->expiration+60000) )
{
printf("enable free for HASH_DELETE.(%p)\n",pending);
//printf("enable free for HASH_DELETE.(%p)\n",pending);
HASH_DELETE(hh,myinfo->basilisks.issued,pending);
memset(pending,0,sizeof(*pending));
free(pending);

6
iguana/iguana_volatiles.c

@ -218,9 +218,9 @@ int32_t iguana_volatileupdate(struct iguana_info *coin,int32_t incremental,struc
}
if ( coin->current != 0 && spent_hdrsi != coin->current->hdrsi )
iguana_bundleremove(coin,spent_hdrsi,0);
coin->spendvectorsaved = 0;
coin->started = 0;
coin->active = 0;
//coin->spendvectorsaved = 0;
//coin->started = 0;
//coin->active = 0;
}
else if ( coin->spendvectorsaved > 1 )
printf("volatileupdate skip null rdata [%d]\n",spentchain->height/coin->current->bundleheight);

Loading…
Cancel
Save