From 080260fb7edd4d9917c6b77b7e68dc0887f2a7c0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 21 Jun 2016 20:41:36 -0300 Subject: [PATCH] test --- gecko/gecko_miner.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gecko/gecko_miner.c b/gecko/gecko_miner.c index 7942592f7..fedf64280 100755 --- a/gecko/gecko_miner.c +++ b/gecko/gecko_miner.c @@ -335,9 +335,9 @@ void gecko_miner(struct supernet_info *myinfo,struct iguana_info *btcd,struct ig return; if ( (virt->blocks.hwmchain.height % myinfo->numrelays) != myinfo->RELAYID ) { - //if ( myinfo->numrelays < 3 ) - // return; - gap = (int32_t)(time(NULL) - virt->backstoptime) / (10 * virt->chain->estblocktime); + if ( myinfo->numrelays < 3 ) + return; + gap = (int32_t)(time(NULL) - virt->backstoptime) / virt->chain->estblocktime; for (i=0; iblocks.hwmchain.height+i) % myinfo->numrelays) == myinfo->RELAYID ) @@ -374,8 +374,8 @@ void gecko_miner(struct supernet_info *myinfo,struct iguana_info *btcd,struct ig free(blockstr); else { - //virt->newblockstr = blockstr; - //virt->newblock = newblock; + virt->newblockstr = blockstr; + virt->newblock = newblock; } } if ( txptrs != (void *)space )