|
|
@ -525,7 +525,6 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int |
|
|
|
if ( peer->needping != 0 ) |
|
|
|
{ |
|
|
|
nonz++; |
|
|
|
needpings++; |
|
|
|
if ( (retstr= issue_LP_notify(peer->ipaddr,peer->port,"127.0.0.1",0,numpeers,G.LP_sessionid,G.LP_myrmd160str,G.LP_mypub25519)) != 0 ) |
|
|
|
free(retstr); |
|
|
|
peer->needping = 0; |
|
|
@ -534,7 +533,7 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int |
|
|
|
if ( needpings != 0 || (counter % 6000) == 5 ) |
|
|
|
{ |
|
|
|
nonz++; |
|
|
|
//printf("needpings.%d send notify\n",needpings);
|
|
|
|
printf("needpings.%d send notify\n",needpings); |
|
|
|
LP_notify_pubkeys(ctx,pubsock); |
|
|
|
} |
|
|
|
if ( (counter % 6000) == 10 ) |
|
|
|