Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
4684647b26
  1. 2
      iguana/iguana_bundles.c
  2. 2
      iguana/iguana_ramchain.c

2
iguana/iguana_bundles.c

@ -814,7 +814,7 @@ int32_t iguana_bundlefinalize(struct iguana_info *coin,struct iguana_bundle *bp,
}
bp->emitfinish = 1;
iguana_bundletweak(coin,bp);
sleep(1); // just in case data isnt totally sync'ed to HDD
sleep(3); // just in case data isnt totally sync'ed to HDD
coin->emitbusy++;
if ( iguana_bundlesaveHT(coin,mem,memB,bp,(uint32_t)time(NULL)) == 0 )
{

2
iguana/iguana_ramchain.c

@ -2304,7 +2304,7 @@ int32_t iguana_bundlesaveHT(struct iguana_info *coin,struct OS_memspace *mem,str
if ( (num= iguana_bundlefiles(coin,ipbits,ptrs,filesizes,bp,starti,endi)) != bp->n )
{
iguana_bundlemapfree(coin,0,0,ipbits,ptrs,filesizes,num,R,starti,endi);
printf("iguana_bundlesaveHT: no bundlefiles error\n");
printf("iguana_bundlesaveHT: no bundlefiles error.[%d]\n",bp->hdrsi);
return(-1);
}
if ( bp == coin->current )

Loading…
Cancel
Save