-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
routing: disable FilteredChainView when AssumeChannelValid is active
In this commit, we disable attempting to determine when a channel has been closed out on-chain whenever AssumeChannelValid is active. Since the flag indicates that performing this operation is expensive, we do this as a temporary optimization until we can include proofs of channels being closed in the gossip protocol. With this change, the only way for channels being removed from the graph will be once they're considered zombies: which can happen when both edges of a channel have their disabled bits set or when both edges haven't had an update within the past two weeks.
- Loading branch information
Showing
1 changed file
with
37 additions
and
21 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