jl777
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
2 deletions
-
iguana/exchanges/LP_commands.c
-
iguana/exchanges/LP_nativeDEX.c
|
|
@ -554,10 +554,11 @@ bot_resume(botid)\n\ |
|
|
|
//printf("network invoked\n");
|
|
|
|
LP_privkey_init(-1,ptr,G.LP_privkey,G.LP_mypub25519); |
|
|
|
//LP_smartutxos_push(ptr);
|
|
|
|
return(jprint(LP_address_utxos(ptr,coinaddr,1),1)); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
|
|
|
|
return(clonestr("{\"error\":\"not my address\"}")); |
|
|
|
} |
|
|
|
} |
|
|
|
return(jprint(LP_address_utxos(ptr,coinaddr,1),1)); |
|
|
|
|
|
@ -724,7 +724,7 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int |
|
|
|
} |
|
|
|
HASH_ITER(hh,LP_coins,coin,ctmp) // firstrefht,firstscanht,lastscanht
|
|
|
|
{ |
|
|
|
if ( coin->addr_listunspent_requested != 0 && time(NULL) > coin->lastpushtime+10 ) |
|
|
|
if ( coin->addr_listunspent_requested != 0 && time(NULL) > coin->lastpushtime+LP_ORDERBOOK_DURATION ) |
|
|
|
{ |
|
|
|
//printf("PUSH addr_listunspent_requested %u\n",coin->addr_listunspent_requested);
|
|
|
|
coin->lastpushtime = (uint32_t)time(NULL); |
|
|
|