Commit 887aec9
Create TrampolineForward HTLCSource variant
To process errors returned from downstream nodes when forwarding between
Trampoline nodes, we need to store information beyond what's available
in `HTLCPreviousHopData`, suc as the used hops as the newly generated
outer onion's session_priv.
To that end, we add a new variant to `HTLCSource` in this commit, which
futre-proofs mapping an outbound forward to an incoming MPP.
Co-authored-by: Arik Sosman <[email protected]>1 parent 29195fb commit 887aec9
File tree
4 files changed
+449
-176
lines changed- lightning/src
- chain
- ln
- util
4 files changed
+449
-176
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2626 | 2626 | | |
2627 | 2627 | | |
2628 | 2628 | | |
| 2629 | + | |
2629 | 2630 | | |
2630 | 2631 | | |
2631 | 2632 | | |
| |||
2835 | 2836 | | |
2836 | 2837 | | |
2837 | 2838 | | |
| 2839 | + | |
2838 | 2840 | | |
2839 | 2841 | | |
2840 | 2842 | | |
| |||
3494 | 3496 | | |
3495 | 3497 | | |
3496 | 3498 | | |
3497 | | - | |
| 3499 | + | |
| 3500 | + | |
3498 | 3501 | | |
3499 | 3502 | | |
3500 | 3503 | | |
| |||
0 commit comments