From 460247bda8aaaf80488c41a9eb66524db4e501af Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 8 Mar 2016 01:38:54 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 2 +- iguana/iguana_ramchain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 3bfa5cba2..3b9579c0c 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -403,7 +403,7 @@ int64_t iguana_bundlecalcs(struct iguana_info *coin,struct iguana_bundle *bp) } //bp->metric = bp->numhashes; bp->metric = 1000 + sqrt(sqrt(bp->n * (1 + bp->numsaved + bp->numrecv)) * (10 + coin->bundlescount - bp->hdrsi)); - if ( bp->hdrsi > coin->bundlescount*.95 ) + if ( bp->hdrsi > coin->bundlescount*.9 ) bp->metric *= 1000; return(bp->estsize); } diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 1c5589f33..8a9abe342 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -2238,7 +2238,7 @@ int32_t iguana_ramchain_expandedsave(struct iguana_info *coin,RAMCHAIN_FUNC,stru uint8_t *destoffset,*srcoffset; firsthash2 = ramchain->H.data->firsthash2, lasthash2 = ramchain->H.data->lasthash2; height = ramchain->height, firsti = ramchain->H.data->firsti, hdrsi = ramchain->H.hdrsi, numblocks = ramchain->numblocks; - if ( bp->bundleheight == 32000 || bp->bundleheight == 150000 || bp->bundleheight == 116000 || bp->bundleheight == 166000 || bp->bundleheight == 130000 || bp->bundleheight == 180000 || bp->bundleheight == 140000 || bp->bundleheight == 90000 || bp->bundleheight == 176000 ) + if ( bp->bundleheight == 32000 || bp->bundleheight == 150000 || bp->bundleheight == 116000 || bp->bundleheight == 166000 || bp->bundleheight == 130000 || bp->bundleheight == 180000 || bp->bundleheight == 140000 || bp->bundleheight == 90000 || bp->bundleheight == 176000 || bp->bundleheight == 340000 ) { printf("skip ht.%d for now\n",bp->bundleheight); return(-1);