Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TlvStream for encrypted channel backup #260

Merged
merged 2 commits into from
Apr 26, 2021
Merged

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Apr 23, 2021

In order to support extensions to standard LN messages, we must put our custom fields in a TlvStream.
The only field that didn't respect that was the encrypted channel backup.
This change is a required preliminary step to be able to implement lightning/bolts#847

We also fix a bug where we didn't send our backup in shutdown messages.

In order to support extensions to standard LN messages, we must put our
custom fields in a TlvStream. The only field that didn't respect that was
the encrypted channel backup.

We also fix a bug where we didn't send our backup in `shutdown` messages.
@t-bast t-bast requested review from sstone and pm47 April 23, 2021 10:49
Copy link
Member

@sstone sstone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a nit

@t-bast t-bast merged commit a852f1d into master Apr 26, 2021
@t-bast t-bast deleted the channel-data-tlv-stream branch April 26, 2021 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants