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

Purge channels from the DB after they have been irrevocably committed #740

Merged
merged 2 commits into from
Jan 25, 2018

Conversation

cdecker
Copy link
Member

@cdecker cdecker commented Jan 23, 2018

This may cause the lingering onchaind_mutual channels in #721. Channels didn't get removed from the DB even though they were removed in memory. Alternatively we could mark the channels as resolved by setting their status to something that we ignore when loading.

Dropping the channels cascades to remove all dependent tables, so this suffices to clear everything.

@cdecker cdecker added this to the v0.6 milestone Jan 23, 2018
@cdecker cdecker requested a review from rustyrussell January 23, 2018 15:00
@rustyrussell rustyrussell merged commit 7b0d806 into ElementsProject:master Jan 25, 2018
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 12, 2020
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 12, 2020
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 12, 2020
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 12, 2020
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 12, 2020
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 12, 2020
Changelog-Fixed: Use lightning-rfc ElementsProject#740 feespike margin factor of 2
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 12, 2020
Changelog-Fixed: Use lightning-rfc ElementsProject#740 feespike margin factor of 2
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 13, 2020
Changelog-Fixed: Use lightning-rfc ElementsProject#740 feespike margin factor of 2
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 13, 2020
Changelog-Fixed: Use lightning-rfc ElementsProject#740 feespike margin factor of 2
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 13, 2020
Changelog-Fixed: Use lightning-rfc ElementsProject#740 feespike margin factor of 2
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 16, 2020
Changelog-Fixed: Use lightning-rfc ElementsProject#740 feespike margin factor of 2
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 19, 2020
Changelog-Fixed: Use lightning-rfc ElementsProject#740 feespike margin factor of 2
m-schmoock added a commit to m-schmoock/lightning that referenced this pull request Mar 19, 2020
Changelog-Fixed: Use lightning-rfc ElementsProject#740 feespike margin factor of 2
cdecker pushed a commit that referenced this pull request Mar 19, 2020
Changelog-Fixed: Use lightning-rfc #740 feespike margin factor of 2
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