Files
lightning/lightningd
Rusty Russell 2cdc5fb964 lightningd: make some bitcoind requests high priority.
fiatjaf has a cheap VPS, connecting remotely to his home bitcoind node.
    fiatjaf's latency on bitcoin-cli getblock is between 10 and 37 seconds.
    fiatjaf's c-lightning node is getting one block per hour.
    fiatjaf is sad.

We single-file our bitcoind requests, because bitcoind has a limited
thread pool and it *fails* rather than queueing if you upset it.  We
probably be fine using separate queues for each command type, but simply
allowing some requests to cut in line should prove my theory that we're
getting stuck behind gossip verification requests.

    fiatjaf now gets one block per 2 minutes.
    fiatjaf is less sad.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-09-19 13:21:21 +02:00
..
2018-09-03 05:01:40 +00:00
2017-10-20 18:31:32 +02:00
2018-09-03 00:40:27 +00:00
2018-09-03 00:40:27 +00:00
2018-09-03 00:40:27 +00:00
2018-09-03 00:40:27 +00:00
2018-07-29 16:27:38 +02:00
2018-09-03 05:01:40 +00:00
2018-08-20 01:02:25 +00:00
2018-09-14 22:12:13 +02:00
2018-08-20 01:02:25 +00:00
2018-09-04 14:36:05 +02:00
2018-05-05 17:55:10 +02:00
2018-09-03 00:40:27 +00:00
2018-07-30 03:04:45 +00:00
2018-09-03 00:40:27 +00:00
2018-02-16 13:08:29 +01:00
2018-09-03 05:01:40 +00:00
2018-09-03 05:01:40 +00:00