@ -18,13 +18,13 @@
// marketmaker
//
// prune expired/spent deposits from instantdex.json
// CPU usage spike after 12 hours
// verify claim works
// big BTC swaps
// https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki for signing BCH/BTG
// compress packets
// cancel bid/ask
// portfolio:
// portfolio to set prices from historical
// portfolio value based on ask?
// USD paxprice based USDvalue in portfolio
@ -1016,6 +1016,19 @@ void LP_dedicatedloop(void *arg)
len += n;
if ( ep->buf[len - 1] == '\n' )
break;
memset(&fds,0,sizeof(fds));
fds.fd = ep->sock;
fds.events = POLLIN;
if ( poll(&fds,1,1000) <= 0 )
{
printf("no more electrum data after a second\n");
}
else
printf("no more electrum data when expected\n");
if ( len > 0 )