Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
2aea8085b3
  1. 2
      iguana/iguana_unspents.c

2
iguana/iguana_unspents.c

@ -1103,6 +1103,8 @@ int64_t iguana_utxoaddr_gen(struct supernet_info *myinfo,struct iguana_info *coi
} }
//for (utxoaddr=last; utxoaddr!=0; utxoaddr=utxoaddr->hh.prev) //for (utxoaddr=last; utxoaddr!=0; utxoaddr=utxoaddr->hh.prev)
max = 1024 * 1024; max = 1024 * 1024;
if ( strcmp("BTC",coin->symbol) == 0 )
max *= 1024;
unspents = calloc(1,max); unspents = calloc(1,max);
max /= sizeof(*unspents); max /= sizeof(*unspents);
HASH_ITER(hh,coin->utxoaddrs,utxoaddr,tmp) HASH_ITER(hh,coin->utxoaddrs,utxoaddr,tmp)

Loading…
Cancel
Save