Description
This is another master tracking issue that'll likely spawn several follow up issues across distinct repos, but we chose to track it here within lnd
so we can track overarching progress towards a release of lnd
.
At a high level, the goal is to extend the existing gossip query flow within the protocol to support optionally requesting for an including SPV proofs along side the channel announcements. With these proofs, light clients will be able to more easily verify the existence of outputs used to allegedly fund channels. Once this issue is complete, we'll largely no longer need the current assumechanvalid
flag as clients will be able to use this new feature instead.
A forthcoming post to the lightning-dev
mailing list will fill in the relevant details, and we only wish to track progress in this issue. To provide a brief overview of the feature set we aim to have the proofs be:
- purely opt-in
- easily discoverable
- aggregatable within a block (all proofs for a single block are constructed and can then be pruned to provide clients with proofs of only a subset of the contents of a block)