Skip to content

discovery+lnwire: implement new SPV proofs along side channel announcements for light clients #3941

Open
@Roasbeef

Description

@Roasbeef

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)

Metadata

Metadata

Assignees

Labels

brainstormingLong term ideas/discussion/requests for feedbackcryptoRelated to the cryptography underlying LNDdiscoveryPeer and route discovery / whisper protocol related issues/PRsfundingRelated to the opening of new channels with funding transactions on the blockchainp2pCode related to the peer-to-peer behaviour

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions