Browse Source

test

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

4
gecko/gecko_miner.c

@ -309,8 +309,8 @@ void gecko_blocksubmit(struct supernet_info *myinfo,struct iguana_info *btcd,str
//printf("submit.(%s)\n",blockstr); //printf("submit.(%s)\n",blockstr);
if ( (peers= virt->peers) == 0 || (numranked= peers->numranked) == 0 ) if ( (peers= virt->peers) == 0 || (numranked= peers->numranked) == 0 )
{ {
if ( basilisk_blocksubmit(myinfo,btcd,virt,blockstr,hash2,height) < (myinfo->numrelays >> 1) ) while ( basilisk_blocksubmit(myinfo,btcd,virt,blockstr,hash2,height) < (myinfo->numrelays >> 1) )
return; sleep(1);
} }
else // physical node for geckochain else // physical node for geckochain
{ {

Loading…
Cancel
Save