diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 84981f97c..fbd7da318 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -843,7 +843,7 @@ int32_t iguana_bundlefinalize(struct iguana_info *coin,struct iguana_bundle *bp, return(0); } bp->emitfinish = 1; - usleep(100000); // make sure new incoming packet didnt overwrite + sleep(2); // make sure new incoming packet didnt overwrite if ( iguana_bundleready(coin,bp,1) == bp->n ) { coin->emitbusy++; diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index b34f5e2eb..beff070c3 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -1150,7 +1150,7 @@ int32_t iguana_reqblocks(struct iguana_info *coin) } } } - if ( strcmp("BTC",coin->symbol) == 0 && bits256_nonz(hash2) > 0 ) + if ( bits256_nonz(hash2) > 0 ) //strcmp("BTC",coin->symbol) == 0 && { coin->backstopmillis = OS_milliseconds(); iguana_blockQ("mainchain",coin,0,-1,hash2,1);//lag > threshold); diff --git a/iguana/main.c b/iguana/main.c index 692da75bb..800c2b9b9 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -1243,7 +1243,7 @@ void iguana_main(void *arg) if ( 1 ) { sleep(1); - if ( 1 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"VALIDATE\":1,\"prefetchlag\":13,\"startpend\":128,\"endpend\":128,\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":0,\"maxpeers\":256,\"newcoin\":\"BTCD\",\"active\":1,\"numhelpers\":8,\"poll\":10}"),0,myinfo->rpcport)) != 0 ) + if ( 1 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"VALIDATE\":1,\"prefetchlag\":13,\"startpend\":512,\"endpend\":512,\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":0,\"maxpeers\":256,\"newcoin\":\"BTCD\",\"active\":1,\"numhelpers\":8,\"poll\":10}"),0,myinfo->rpcport)) != 0 ) { free(str); if ( 0 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":1024,\"maxpeers\":256,\"newcoin\":\"BTCD\",\"active\":1}"),0,myinfo->rpcport)) != 0 )