Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
0dc88a9c36
  1. 2
      basilisk/basilisk.c
  2. 4
      basilisk/basilisk_ping.c
  3. 4
      iguana/confs/BTCD_peers.txt

2
basilisk/basilisk.c

@ -852,7 +852,7 @@ void basilisks_loop(void *arg)
} }
portable_mutex_unlock(&myinfo->messagemutex); portable_mutex_unlock(&myinfo->messagemutex);
if ( myinfo->RELAYID >= 0 ) if ( myinfo->RELAYID >= 0 )
usleep(1000000); usleep(100000);
else sleep(1); else sleep(1);
} }
} }

4
basilisk/basilisk_ping.c

@ -297,9 +297,9 @@ void basilisk_ping_send(struct supernet_info *myinfo,struct iguana_info *btcd)
{ {
if ( iguana_queue_send(addr,0,myinfo->pingbuf,"SuperNETPIN",datalen) <= 0 ) if ( iguana_queue_send(addr,0,myinfo->pingbuf,"SuperNETPIN",datalen) <= 0 )
printf("error sending %d to (%s)\n",datalen,addr->ipaddr); printf("error sending %d to (%s)\n",datalen,addr->ipaddr);
else if ( datalen > 200 ) else if ( 0 && datalen > 200 )
fprintf(stderr,"+(%s).%d ",ipaddr,i); fprintf(stderr,"+(%s).%d ",ipaddr,i);
} else fprintf(stderr,"-(%s).%d ",ipaddr,i); } //else fprintf(stderr,"-(%s).%d ",ipaddr,i);
} }
//printf("my RELAYID.%d of %d\n",myinfo->RELAYID,myinfo->numrelays); //printf("my RELAYID.%d of %d\n",myinfo->RELAYID,myinfo->numrelays);
} }

4
iguana/confs/BTCD_peers.txt

@ -2,6 +2,10 @@
89.248.160.238 89.248.160.238
89.248.160.239 89.248.160.239
89.248.160.240 89.248.160.240
89.248.160.241
89.248.160.242
89.248.160.243
89.248.160.244
85.25.217.233 85.25.217.233
65.15.37.140 65.15.37.140
62.75.145.171 62.75.145.171

Loading…
Cancel
Save