Browse Source
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>json-streaming
Rusty Russell
6 years ago
committed by
Christian Decker
1 changed files with 19 additions and 9 deletions
Loading…
Reference in new issue