Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
de99d7ed78
  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);
if ( (peers= virt->peers) == 0 || (numranked= peers->numranked) == 0 )
{
while ( basilisk_blocksubmit(myinfo,btcd,virt,blockstr,hash2,height) < myinfo->numrelays-1 )
sleep(1);
if ( basilisk_blocksubmit(myinfo,btcd,virt,blockstr,hash2,height) < (myinfo->numrelays >> 1) )
return;
}
else // physical node for geckochain
{

Loading…
Cancel
Save