-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 2016 blocks channel funding timeout
Routing nodes have an incentive to use low fees when opening channels to ensure their activity is economically viable. However, when a funding transaction takes too long to confirm, the fundee may have forgotten the channel. In that case the funder is forced to broadcast the first commit tx to get his funds back and then open a new channel, which is costly. We can avoid this issue by simply knowing how long the fundee will wait, and ensuring the funding tx confirms before that period ends. We set this timeout to 2016 blocks (2 weeks).
- Loading branch information
Showing
1 changed file
with
16 additions
and
8 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