Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Stop losing channels when nodes are modified.#30

Open
baptr wants to merge 1 commit into
google:mainfrom
baptr:master
Open

Stop losing channels when nodes are modified.#30
baptr wants to merge 1 commit into
google:mainfrom
baptr:master

Conversation

@baptr

@baptr baptr commented Jun 30, 2018

Copy link
Copy Markdown
Contributor

SetNode was deleting the old copy of the node before writing the new
one, which cascaded to delete channels.

Now the new node is set up in place, which maintains more state. If it's
a rename or delete, the old node is cleaned up after.

This probably intersects with 717891c, but opening it for discussion anyway.

SetNode was deleting the old copy of the node before writing the new
one, which cascaded to delete channels.

Now the new node is set up in place, which maintains more state. If it's
a rename or delete, the old node is cleaned up after.
@baptr baptr requested a review from DrJosh9000 as a code owner June 30, 2018 11:19

@DrJosh9000 DrJosh9000 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, I think this is better than my solution. Will take another look tomorrow.

Base automatically changed from master to main January 25, 2021 00:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants