Commit 88df6bc
committed
Define anchor channel reserve requirements
This change defines anchor reserve requirements by calculating weights
and fees for the transactions that need to be confirmed on-chain in the
event of a unilateral closure. The calculation is given a set of
parameters as input, including the expected fee rate and number of
in-flight HTLCs.1 parent a91196b commit 88df6bc
File tree
3 files changed
+414
-0
lines changed- lightning/src
- chain
- util
3 files changed
+414
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
1588 | 1589 | | |
1589 | 1590 | | |
1590 | 1591 | | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
1591 | 1597 | | |
1592 | 1598 | | |
1593 | 1599 | | |
| |||
4783 | 4789 | | |
4784 | 4790 | | |
4785 | 4791 | | |
| 4792 | + | |
| 4793 | + | |
| 4794 | + | |
| 4795 | + | |
4786 | 4796 | | |
4787 | 4797 | | |
4788 | 4798 | | |
| |||
0 commit comments