Commit 0c3a235
committed
Add custom TLV support to PendingOutboundPayment for Bolt12 flows
Bolt11 payments now allow attaching custom TLVs to the onion packet,
giving payers a way to pass metadata ranging from descriptions to
custom authentication. Bolt12 lacked an equivalent path, leaving its
outbound flow less extensible.
This commit adds a `custom_tlvs` field to the Bolt12-related
`PendingOutboundPayment` variants, bringing the internal Bolt12
payment state in line with the Bolt11 changes and preparing the
ground for user-facing API support.
A follow-up commit will expose a way for users to set these TLVs.1 parent c1ae0ed commit 0c3a235
2 files changed
+78
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12888 | 12888 | | |
12889 | 12889 | | |
12890 | 12890 | | |
12891 | | - | |
| 12891 | + | |
12892 | 12892 | | |
12893 | 12893 | | |
12894 | 12894 | | |
| |||
12932 | 12932 | | |
12933 | 12933 | | |
12934 | 12934 | | |
12935 | | - | |
| 12935 | + | |
12936 | 12936 | | |
12937 | 12937 | | |
12938 | 12938 | | |
| |||
13054 | 13054 | | |
13055 | 13055 | | |
13056 | 13056 | | |
| 13057 | + | |
13057 | 13058 | | |
13058 | 13059 | | |
13059 | 13060 | | |
| |||
13083 | 13084 | | |
13084 | 13085 | | |
13085 | 13086 | | |
| 13087 | + | |
13086 | 13088 | | |
13087 | 13089 | | |
13088 | 13090 | | |
| |||
13125 | 13127 | | |
13126 | 13128 | | |
13127 | 13129 | | |
| 13130 | + | |
13128 | 13131 | | |
13129 | 13132 | | |
13130 | 13133 | | |
| |||
13288 | 13291 | | |
13289 | 13292 | | |
13290 | 13293 | | |
| 13294 | + | |
13291 | 13295 | | |
13292 | 13296 | | |
13293 | 13297 | | |
| |||
0 commit comments