Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
42585cf824
  1. 2
      iguana/iguana_ramchain.c
  2. 2
      iguana/main.c

2
iguana/iguana_ramchain.c

@ -1325,7 +1325,7 @@ int32_t iguana_ramchain_extras(struct iguana_info *coin,struct iguana_ramchain *
{
numhdrsi = *(int32_t *)ramchain->debitsfileptr;
memcpy(balancehash.bytes,(void *)((long)ramchain->debitsfileptr + sizeof(numhdrsi)),sizeof(balancehash));
if ( coin->balanceswritten == 0 && numhdrsi > 0 && numhdrsi <= coin->bundlescount )
if ( coin->balanceswritten == 0 )
{
coin->balanceswritten = numhdrsi;
coin->balancehash = balancehash;

2
iguana/main.c

@ -323,6 +323,8 @@ void sigalarm_func() { printf("\nSIGALRM\n"); signal(SIGALRM,sigalarm_func); }
void sigcontinue_func() { printf("\nSIGCONT\n"); signal(SIGCONT,sigcontinue_func); }
#endif
// mksquashfs DB/BTC BTC.lzo -comp lzo -b 1048576
// mksquashfs DB/BTC BTC.xz -b 1048576 -comp xz -Xdict-size 512K
int32_t iguana_balanceflush(struct iguana_info *coin,int32_t refhdrsi,int32_t purgedist)
{
int32_t hdrsi,numpkinds,iter,numhdrsi,numunspents,err; struct iguana_bundle *bp;

Loading…
Cancel
Save