clightning4j / clightning4j/esplora_clnd_plugin

A cache for a quicker initial catch-up with bitcoind

Open
#12 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
9
Forks
11
PR merge metrics
No merged PRs in 30d

Description

On [Lamp](https://github.com/lvaccaro/lamp) the startup sync with `bitcoind` takes approximatively 2 orders of magnitudes more time using my Esplora instance or bs.info than using a local bitcoind RPC.

I think we should detect by how much block is `lightningd` far from the tip and cache blocks from Esplora so that the biggest above bottleneck (bandwidth) is compensated.

This is halfly a self-assignment and remainder but if someone wants to work on this feel free (just comment here).

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin by tracing the startup synchronization between lightningd and the Esplora or bs.info backend, using local bitcoind RPC as the performance comparison. Done means an agreed cache design that reduces the initial catch-up bandwidth bottleneck while keeping the chain-tip gap and fetched blocks correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.