Skip to content

Remove direct bitcoind dependency, sync via electrum/esplora indexer#126

Draft
bitwalt wants to merge 1 commit intoRGB-Tools:masterfrom
bitwalt:bitcoind-removal-indexer
Draft

Remove direct bitcoind dependency, sync via electrum/esplora indexer#126
bitwalt wants to merge 1 commit intoRGB-Tools:masterfrom
bitwalt:bitcoind-removal-indexer

Conversation

@bitwalt
Copy link
Copy Markdown
Contributor

@bitwalt bitwalt commented May 1, 2026

Implements #125.

Routes block + transaction sync through the configured indexer (electrum or esplora) via lightning-transaction-sync, dropping lightning-block-sync (RPC mode) and removing the four bitcoind_rpc_* fields from the unlock/init API, OpenAPI spec, README and Dockerfile. Async gossip verification, fee estimation, broadcast and UTXO lookup all go through the indexer client.

Sync block/tx state via the configured indexer (electrum or esplora)
through lightning-transaction-sync, dropping the lightning-block-sync
RPC client and removing the bitcoind RPC fields from the unlock API,
OpenAPI spec, README and Dockerfile. Async gossip verification is
preserved on top of the new indexer client.

Also stabilises two integration-test flakes that surface in long
sequential runs: swap_roundtrip_multihop_asset_asset waits for all
four channels to be usable before maker_init (both swap legs route
over distinct RGB-asset channels), and upload_asset_media::fail
tolerates the connection-reset that RequestBodyLimitLayer can produce
mid-stream instead of a 413 response.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant