diff --git a/iguana/coins/genbtc b/iguana/coins/genbtc index 621bac7ce..4179c8fea 100755 --- a/iguana/coins/genbtc +++ b/iguana/coins/genbtc @@ -1 +1 @@ -curl --url "http://127.0.0.1:7778" --data "{\"prefetchlag\":-1,\"poll\":1,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTC\",\"startpend\":16,\"endpend\":16,\"services\":129,\"maxpeers\":512,\"RELAY\":1,\"VALIDATE\":1,\"portp2p\":8333}" +curl --url "http://127.0.0.1:7778" --data "{\"prefetchlag\":-1,\"poll\":1,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"newcoin\":\"BTC\",\"startpend\":64,\"endpend\":64,\"services\":129,\"maxpeers\":512,\"RELAY\":1,\"VALIDATE\":1,\"portp2p\":8333}" diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 8b5e6173d..8d0ba429c 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -879,9 +879,9 @@ int32_t iguana_bundlehdr(struct supernet_info *myinfo,struct iguana_info *coin,s if ( bp->numhashes < bp->n && bp->numcached < bp->n ) { //printf("issue current hdr.[%d]\n",bp->hdrsi); - //for (i=0; in; i++) - // if ( GETBIT(bp->haveblock,i) == 0 ) - // bp->issued[i] = 0; + for (i=0; in; i++) + if ( GETBIT(bp->haveblock,i) == 0 ) + bp->issued[i] = 0; queue_enqueue("hdrsQ",&coin->hdrsQ,queueitem(bits256_str(str,bp->hashes[0])),1); } iguana_bundleissuemissing(myinfo,coin,bp,3,3.); @@ -1207,7 +1207,7 @@ void iguana_unstickhdr(struct iguana_info *coin,struct iguana_bundle *bp,int32_t void iguana_bundlemissings(struct supernet_info *myinfo,struct iguana_info *coin,struct iguana_bundle *bp,uint32_t now) { int32_t mult = 7,n=0,priority = 1; - if ( now > bp->missingstime+30 ) + if ( now > bp->missingstime+13 ) { if ( coin->current != 0 ) {