Commit f8d9780
committed
Store our skimmed fee in PendingHTLCRouting
Receivers need to use this value to verify incoming payments if
ChannelConfig::accept_underpaying_htlcs is set.
This breaks compatibility with LDK versions prior to 0.0.116 due to the way the
field is serialized in the outgoing Channel on forward.1 parent ca3c3b5 commit f8d9780
File tree
3 files changed
+20
-3
lines changed- lightning/src
- ln
- util
- pending_changelog
3 files changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
2764 | 2767 | | |
2765 | 2768 | | |
2766 | 2769 | | |
| 2770 | + | |
2767 | 2771 | | |
2768 | 2772 | | |
2769 | 2773 | | |
| |||
3402 | 3406 | | |
3403 | 3407 | | |
3404 | 3408 | | |
3405 | | - | |
3406 | | - | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
| 3412 | + | |
| 3413 | + | |
| 3414 | + | |
| 3415 | + | |
| 3416 | + | |
| 3417 | + | |
| 3418 | + | |
3407 | 3419 | | |
3408 | 3420 | | |
3409 | 3421 | | |
| |||
7311 | 7323 | | |
7312 | 7324 | | |
7313 | 7325 | | |
| 7326 | + | |
7314 | 7327 | | |
7315 | 7328 | | |
7316 | 7329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
| 639 | + | |
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments