Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
bafd76d0bc
  1. 2
      iguana/iguana_peers.c

2
iguana/iguana_peers.c

@ -711,7 +711,7 @@ uint32_t iguana_possible_peer(struct iguana_info *coin,char *ipaddr)
char checkaddr[64]; uint64_t ipbits; uint32_t now = (uint32_t)time(NULL); int32_t i,n; struct iguana_iAddr *iA; char checkaddr[64]; uint64_t ipbits; uint32_t now = (uint32_t)time(NULL); int32_t i,n; struct iguana_iAddr *iA;
if ( ipaddr != 0 ) if ( ipaddr != 0 )
{ {
printf("%p Q possible peer.%s\n",coin,ipaddr); //printf("%p Q possible peer.%s\n",coin,ipaddr);
queue_enqueue("possibleQ",&coin->possibleQ,queueitem(ipaddr),1); queue_enqueue("possibleQ",&coin->possibleQ,queueitem(ipaddr),1);
return((uint32_t)time(NULL)); return((uint32_t)time(NULL));
} }

Loading…
Cancel
Save