|
|
@ -207,6 +207,7 @@ void LP_peer_utxosquery(struct LP_peerinfo *mypeer,uint16_t myport,int32_t pubso |
|
|
|
if ( mypeer == 0 || strcmp(peer->ipaddr,mypeer->ipaddr) != 0 ) |
|
|
|
{ |
|
|
|
peer->lastutxos = now; |
|
|
|
printf("query utxos from %s\n",peer->ipaddr); |
|
|
|
LP_utxosquery(mypeer,pubsock,peer->ipaddr,peer->port,"",lastn,mypeer != 0 ? mypeer->ipaddr : "127.0.0.1",myport,profitmargin); |
|
|
|
} |
|
|
|
} //else printf("LP_peer_utxosquery skip.(%s) %u\n",peer->ipaddr,peer->lastutxos);
|
|
|
|