Commit 6e59174
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 1a8bf62 commit 6e59174
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 | | |
| |||
1571 | 1572 | | |
1572 | 1573 | | |
1573 | 1574 | | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
1574 | 1580 | | |
1575 | 1581 | | |
1576 | 1582 | | |
| |||
4692 | 4698 | | |
4693 | 4699 | | |
4694 | 4700 | | |
| 4701 | + | |
| 4702 | + | |
| 4703 | + | |
| 4704 | + | |
4695 | 4705 | | |
4696 | 4706 | | |
4697 | 4707 | | |
| |||
0 commit comments