Commit ed2f26e
committed
Support encoding invreqs in outbound onion payloads
Per <lightning/bolts#1149>, when paying a static
invoice we need to include our original invoice request in the HTLC onion since
the recipient wouldn't have received it previously.
We use an experimental TLV type for this new onion payload field, since the
spec is still not merged in the BOLTs.1 parent cdd1298 commit ed2f26e
File tree
3 files changed
+10
-2
lines changed- lightning/src/ln
3 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1749 | 1749 | | |
1750 | 1750 | | |
1751 | 1751 | | |
| 1752 | + | |
1752 | 1753 | | |
1753 | 1754 | | |
1754 | 1755 | | |
| |||
1827 | 1828 | | |
1828 | 1829 | | |
1829 | 1830 | | |
| 1831 | + | |
1830 | 1832 | | |
1831 | 1833 | | |
1832 | 1834 | | |
| |||
2733 | 2735 | | |
2734 | 2736 | | |
2735 | 2737 | | |
2736 | | - | |
| 2738 | + | |
2737 | 2739 | | |
2738 | 2740 | | |
2739 | 2741 | | |
2740 | 2742 | | |
| 2743 | + | |
2741 | 2744 | | |
2742 | | - | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
2743 | 2749 | | |
2744 | 2750 | | |
2745 | 2751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
| |||
0 commit comments