-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close and remove pending inbound/outbound channels that are older tha…
…n an hour We introduce a `PendingChannelContext` which contains a counter for the current age of a pending channel in timer ticks. This age is incremented for every `ChannelManager::timer_tick_ocurred` and the pending channel is removed if it exceeds `ENDING_CHANNEL_AGE_LIMIT_TICKS`. The value will not be persisted as pending channels themselves are not persisted.
- Loading branch information
Showing
3 changed files
with
144 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 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 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