|
|
@ -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
|
|
|
|
{ |
|
|
|