Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Static Channel Backups#607

Merged
benthecarman merged 4 commits into
masterfrom
scb
Jun 27, 2023
Merged

Static Channel Backups#607
benthecarman merged 4 commits into
masterfrom
scb

Conversation

@benthecarman
Copy link
Copy Markdown
Collaborator

@benthecarman benthecarman commented Jun 20, 2023

Part of #237

Initial implementation of static channel backups, stores the channel monitors and when you attempt to recover it'll send a dummy channel re-establish event to tell the counter party to force close the channel.

Things still todo in follow ups:

  • save to server
  • automate backups
  • encrypt backups
  • automate recovery flow

@benthecarman benthecarman force-pushed the scb branch 3 times, most recently from 483747e to 7b01cca Compare June 21, 2023 19:28
Copy link
Copy Markdown
Contributor

@AnthonyRonning AnthonyRonning left a comment

Choose a reason for hiding this comment

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

Still reviewing and need to test but here's a few initial things

Comment thread mutiny-core/src/node.rs Outdated
Comment thread mutiny-core/src/node.rs
Comment thread mutiny-core/src/node.rs
Comment thread mutiny-core/src/nodemanager.rs Outdated
Comment thread mutiny-core/src/nodemanager.rs Outdated
@AnthonyRonning
Copy link
Copy Markdown
Contributor

Do you think this is something we can use? I really like this idea: ElementsProject/lightning#5361

@benthecarman
Copy link
Copy Markdown
Collaborator Author

Do you think this is something we can use? I really like this idea: ElementsProject/lightning#5361

Made an issue, would be cool to do eventually, probably easier to ignore for now

@benthecarman benthecarman force-pushed the scb branch 2 times, most recently from 7223298 to c60c94f Compare June 23, 2023 21:57
Comment thread mutiny-core/src/nodemanager.rs
Comment thread mutiny-core/src/scb/message_handler.rs Outdated
Comment thread mutiny-core/src/scb/mod.rs
Copy link
Copy Markdown
Contributor

@AnthonyRonning AnthonyRonning left a comment

Choose a reason for hiding this comment

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

Code looks solid. Will come down to more testing I think but I think we can go ahead and merge and get this in the settings and emergency page.

@benthecarman benthecarman merged commit 17c793d into master Jun 27, 2023
@benthecarman benthecarman deleted the scb branch June 27, 2023 16:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants