diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index bd525f60b..9cc2ccf1e 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -289,7 +289,7 @@ void basilisk_p2p(void *_myinfo,void *_addr,char *senderip,uint8_t *data,int32_t len += iguana_rwnum(0,data,sizeof(basilisktag),&basilisktag); //int32_t i; for (i=0; ireceived.%d basilisk_p2p.(%s) from %s tag.%d\n",datalen,type,senderip!=0?senderip:"?",basilisktag); + printf(" ->received.%d basilisk_p2p.(%s) from %s tag.%d\n",datalen,type,senderip!=0?senderip:"?",basilisktag); basilisk_msgprocess(myinfo,_addr,ipbits,type,basilisktag,&data[len],datalen - len); if ( ptr != 0 ) free(ptr); diff --git a/gecko/gecko_miner.c b/gecko/gecko_miner.c index 15783c9e9..40f531603 100755 --- a/gecko/gecko_miner.c +++ b/gecko/gecko_miner.c @@ -334,6 +334,8 @@ 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) / virt->chain->estblocktime; for (i=0; i