ElementsProject / ElementsProject/lightning
Add Block Filtering to bcli Plugin
- Dominant language
- C
- Stars
- 3.1k
- Forks
- 1k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 13
Description
### Problem
Currently, Core Lightning processes every transaction in every block, regardless of relevance to the node. `chaintopology `has a 30-second timer that makes an RPC calls to bcli. `bcli` acted as a simple wrapper around bitcoin-cli commands. All transactions processed by chaintopology regardless of relevance.
### Proposed solution
- `bcli` polls bitcoind independently every 10/30 seconds and publishes a notification to lightningd
- `bcli` filters registers watches and filters blocks for relevant transactions
- `bcli` also sends mempool and fee rate notifications to lightnings.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.