Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ChannelRelay] Prioritize lowest capacity channels (#1539)
* [ChannelRelayer] Expose Wrapped messages to tests Exposing the private wrapped messages to tests allows removing the dependency on capturing logs which felt very brittle. * Prioritize low capacity channels during relay This makes it more difficult for attackers to "squat" high-capacity channels by sending HTLCs and then hodling them. It results in less locked liquidity during this kind of attacks.
- Loading branch information
Showing
4 changed files
with
135 additions
and
158 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
Oops, something went wrong.