Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
9605e3d6b9
  1. 2
      iguana/iguana_unspents.c
  2. 1
      iguana/main.c

2
iguana/iguana_unspents.c

@ -338,7 +338,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,struct iguana_bundle *bp)
{
emitted += emit;
memset(zero.bytes,0,sizeof(zero));
sprintf(fname,"DB/%s/spends/%s_%d.%d",coin->symbol,bits256_str(str,bp->hashes[0]),bp->n,bp->hdrsi);
sprintf(fname,"DB/%s/spends/%s.%d",coin->symbol,bits256_str(str,bp->hashes[0]),bp->bundleheight);
vcalc_sha256(0,sha256.bytes,(void *)ptr,(int32_t)(sizeof(*ptr) * emit));
//if ( iguana_peerfname(coin,&hdrsi,dirname,fname,0,bp->hashes[0],zero,bp->n) >= 0 )
{

1
iguana/main.c

@ -337,6 +337,7 @@ mksquashfs DB/BTC BTC.lzo1m -comp lzo -b 1048576
mksquashfs DB/BTC BTC.squash
mksquashfs DB/BTC BTC.squash1M -b 1048576
mksquashfs DB/BTC BTC.xz -comp xz
sudo mount BTC.xz DB/ro/BTC -t squashfs -o loop
*/

Loading…
Cancel
Save