Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
01802d8421
  1. 2
      iguana/iguana_ramchain.c
  2. 2
      iguana/iguana_recv.c
  3. 2
      iguana/main.c

2
iguana/iguana_ramchain.c

@ -1550,7 +1550,7 @@ struct iguana_ramchain *iguana_ramchain_map(struct iguana_info *coin,char *fname
{
bp->balancefinish = (uint32_t)time(NULL);
//printf("found balances for %d\n",bp->hdrsi);
} else printf("error with extras\n");
} //else printf("error with extras\n");
}
}
if ( B != 0 && bp != 0 )

2
iguana/iguana_recv.c

@ -191,7 +191,7 @@ void iguana_gotblockM(struct iguana_info *coin,struct iguana_peer *addr,struct i
printf("got block that doesnt validate? %s\n",bits256_str(str,origtxdata->block.RO.hash2));
return;
}
else if ( 1 && coin->enableCACHE != 0 )
else if ( 0 && coin->enableCACHE != 0 )
printf("cache.%d validated.(%s)\n",coin->enableCACHE,bits256_str(str,origtxdata->block.RO.hash2));
copyflag = coin->enableCACHE;
bp = 0, bundlei = -2;

2
iguana/main.c

@ -471,7 +471,7 @@ void mainloop(struct supernet_info *myinfo)
printf("alloc A2.[%d]\n",bp->hdrsi);
bp->ramchain.A = calloc(sizeof(*bp->ramchain.A),bp->ramchain.H.data->numpkinds + 16);
}
iguana_balancecalc(ptr->coin,bp,bp->hdrsi >= coin->balanceswritten);
iguana_balancecalc(ptr->coin,bp,bp->hdrsi >= coin->longestchain/coin->chain->bundlesize && bp->hdrsi >= coin->balanceswritten);
bp->queued = 0;
if ( bp->hdrsi == coin->longestchain/coin->chain->bundlesize-1 )
{

Loading…
Cancel
Save