Skip to content

lnmsg rewrite, implement TLV, invoice features, varonion, payment secret#6050

Merged
SomberNight merged 17 commits into
spesmilo:masterfrom
SomberNight:202003_lnmsg_rewrite
Apr 1, 2020
Merged

lnmsg rewrite, implement TLV, invoice features, varonion, payment secret#6050
SomberNight merged 17 commits into
spesmilo:masterfrom
SomberNight:202003_lnmsg_rewrite

Conversation

@SomberNight
Copy link
Copy Markdown
Member

This PR includes

  • a complete rewrite of lnmsg.py (encoding/decoding of lightning wire messages)
    • so that we no longer need the intermediate representation (lightning.json) of the spec but rather can directly use the output of rusty's script from the BOLTs (extract-formats.py )
    • support for TLVs is also implemented now
  • feature bit unification (of global and local features)
  • BOLT11 invoices now support feature bits
  • option varonion
  • option payment_secret

closes #6006

@SomberNight SomberNight added this to the 4.0 milestone Mar 25, 2020
@SomberNight SomberNight force-pushed the 202003_lnmsg_rewrite branch from 7b6a93b to 3ae7b5d Compare March 25, 2020 13:14
@SomberNight SomberNight force-pushed the 202003_lnmsg_rewrite branch from b5bc104 to eecdd05 Compare April 1, 2020 19:50
@SomberNight SomberNight merged commit 158854f into spesmilo:master Apr 1, 2020
sidhujag pushed a commit to syscoin/electrumsys that referenced this pull request Apr 2, 2020
lnmsg rewrite, implement TLV, invoice features, varonion, payment secret
sidhujag pushed a commit to syscoin/electrumsys that referenced this pull request Apr 4, 2020
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.

lnmsg decode/encode message needs rewrite; to support TLVs

1 participant