Skip to content

lnmsg/bolt12: merkle root signing, onion_wire types#10597

Open
f321x wants to merge 5 commits into
spesmilo:masterfrom
f321x:bolt12_lnmsg
Open

lnmsg/bolt12: merkle root signing, onion_wire types#10597
f321x wants to merge 5 commits into
spesmilo:masterfrom
f321x:bolt12_lnmsg

Conversation

@f321x
Copy link
Copy Markdown
Member

@f321x f321x commented Apr 22, 2026

Implements the signing scheme required for bolt 12 (invoice_request and invoice signatures).
Adds bolt 12 types to onion_wire.csv.

Test coverage will indirectly increase further when introducing the bolt 12 test vectors.

@f321x f321x changed the title lnmsg/bolt12: merkle root signing lnmsg/bolt12: merkle root signing, onion_wire types Apr 22, 2026
accumulator and others added 5 commits April 24, 2026 13:53
…ation and schnorr-sign over tlvs,

implicit en/decode utf8 fields, schnorr signature verification.

Co-Authored-By: f321x <f@f321x.com>
Validate points to be valid ECPubkeys in lnmsg._read_primitive_field.
There are failing bolt12 test vectors that contain offers with invalid
points.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants