lightning icon indicating copy to clipboard operation
lightning copied to clipboard

Blinded payments spec update and infrastructure for forwarding

Open rustyrussell opened this issue 3 years ago • 4 comments
trafficstars

This does a pile of updates:

  • Remove x-only pubkeys from offers.
  • Update onion message and blinded payments to latest spec
  • Implement forwarding of blinded payments

This PR does not include:

  • Generating and actually paying invoices with blinded payments
  • All the offers changes after removing x-only pubkeys.

rustyrussell avatar Oct 04 '22 00:10 rustyrussell

ACK https://github.com/ElementsProject/lightning/pull/5646/commits/df9cc4a9a8c72bd8ce1cb2a3c45878ee19fc7759

cdecker avatar Oct 11 '22 12:10 cdecker

There seems to be a BOLT-quote mismatch somewhere:

2022-10-06T05:55:25.5455402Z common/blindedpay.c:20:mismatch:		/* BOLT #4:
2022-10-06T05:55:25.5470757Z Closest match: - For every node...[: - MUST include `am]
2022-10-06T05:55:25.5484524Z make: *** [Makefile:502: bolt-check/common/blindedpay.c] Error 1

cdecker avatar Oct 11 '22 12:10 cdecker

Yep, fixed: this is actually a quote from the route-blinding branch only.

rustyrussell avatar Oct 17 '22 00:10 rustyrussell

Trivial rebase on master, those simple typo fixes, and added (as first two commits) a new API system for hsmd_wire.csv

rustyrussell avatar Oct 17 '22 00:10 rustyrussell

Ack https://github.com/ElementsProject/lightning/pull/5646/commits/4c25d7c0d9e638df18962c8a6bb0b795e64b0ae1

Since @cdecker approved and I need to get moving on the next PR :)

rustyrussell avatar Oct 26 '22 00:10 rustyrussell