Repository navigation
Better handling of closed channels #944
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
950c55a
Channel: add helper method to check if a channel is closed
sstone bab7ee1
Remove closed channels when application starts
sstone ee66e8a
Channels Database: tag closed channels but don't delete them
sstone 83d6cc3
Update eclair-core/src/main/scala/fr/acinq/eclair/channel/Helpers.scala
pm47 fec1ba6
Update eclair-core/src/main/scala/fr/acinq/eclair/channel/Helpers.scala
pm47 9c230e4
Update eclair-core/src/main/scala/fr/acinq/eclair/channel/Helpers.scala
pm47 68153fd
Update eclair-core/src/main/scala/fr/acinq/eclair/channel/Helpers.scala
pm47 444a83c
Update eclair-core/src/main/scala/fr/acinq/eclair/db/sqlite/SqliteCha…
pm47 e482f8d
Update eclair-core/src/main/scala/fr/acinq/eclair/channel/Helpers.scala
pm47 7a7d8bd
Update eclair-core/src/main/scala/fr/acinq/eclair/channel/Helpers.scala
pm47 338c324
Update eclair-core/src/main/scala/fr/acinq/eclair/channel/Helpers.scala
pm47 3b9857e
Make helper functions handle all possible closing types
sstone 8fa0bf9
ChannelsDb: rename `closed` field to `is_closed`
sstone f0a7620
Document how we check and remove closed channels on startup
sstone 819b632
Merge branch 'master' into channel-check-closed
sstone 0ad8d9f
Minor: comment
pm47 6867e03
removed unnecessary blank lines
pm47 c9b1d1f
removed unused code
pm47 bd3c218
refactored `isClosed`
pm47 da91613
Channels db: clean-up migration code
sstone 89d7949
Merge branch 'master' into channel-check-closed
sstone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.