Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
986079ef24
  1. 4
      gecko/gecko_miner.c

4
gecko/gecko_miner.c

@ -344,8 +344,8 @@ void gecko_miner(struct supernet_info *myinfo,struct iguana_info *btcd,struct ig
} }
if ( (virt->blocks.hwmchain.height % myinfo->numrelays) != myinfo->RELAYID ) if ( (virt->blocks.hwmchain.height % myinfo->numrelays) != myinfo->RELAYID )
{ {
if ( myinfo->numrelays < 3 ) //if ( myinfo->numrelays < 3 )
// return; return;
gap = (int32_t)(time(NULL) - virt->blocks.hwmchain.RO.timestamp) / 10;//virt->chain->estblocktime; gap = (int32_t)(time(NULL) - virt->blocks.hwmchain.RO.timestamp) / 10;//virt->chain->estblocktime;
for (i=0; i<gap; i++) for (i=0; i<gap; i++)
{ {

Loading…
Cancel
Save