Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
560577b807
  1. 2
      basilisk/basilisk_bitcoin.c
  2. 2
      iguana/iguana_realtime.c

2
basilisk/basilisk_bitcoin.c

@ -1004,7 +1004,7 @@ void basilisk_unspent_update(struct supernet_info *myinfo,struct iguana_info *co
already_spent = spentheight;
if ( (bu.spentheight= already_spent) != 0 )
bu.status = 1;
printf("i.%d n.%d\n",i,n);
//printf("i.%d n.%d\n",i,n);
if ( i == n )
{
if ( i >= waddr->maxunspents )

2
iguana/iguana_realtime.c

@ -513,7 +513,7 @@ void iguana_RTreset(struct iguana_info *coin)
coin->RTheight = coin->firstRTheight;
iguana_RTdataset_free(coin);
if ( coin->RTHASHMEM.ptr == 0 )
iguana_meminit(&coin->RTHASHMEM,"RTHASHMEM",0,1024*1024*1024 + ((strcmp(coin->symbol,"BTC") == 0) ? 2*1024*1024*1024 : 0),0);
iguana_meminit(&coin->RTHASHMEM,"RTHASHMEM",0,1024*1024*1024 + ((strcmp(coin->symbol,"BTC") == 0) ? ((uint64_t)3)*1024*1024*1024 : 0),0);
iguana_memreset(&coin->RTHASHMEM);
printf("%s RTreset %d\n",coin->symbol,coin->RTheight);
}

Loading…
Cancel
Save