lightning
lightning copied to clipboard
Blinded payments spec update and infrastructure for forwarding
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.
ACK https://github.com/ElementsProject/lightning/pull/5646/commits/df9cc4a9a8c72bd8ce1cb2a3c45878ee19fc7759
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
Yep, fixed: this is actually a quote from the route-blinding branch only.
Trivial rebase on master, those simple typo fixes, and added (as first two commits) a new API system for hsmd_wire.csv
Ack https://github.com/ElementsProject/lightning/pull/5646/commits/4c25d7c0d9e638df18962c8a6bb0b795e64b0ae1
Since @cdecker approved and I need to get moving on the next PR :)