Commit 84f200f
committed
Add PaymentContext for async payments
This context is stored in the blinded payment paths we put in static invoices
and is useful to authenticate payments over these paths to the recipient.
We can't reuse Bolt12OfferContext for this because we don't have access to the
invoice request fields at static invoice creation time.1 parent 542deeb commit 84f200f
File tree
3 files changed
+43
-10
lines changed- lightning/src
- blinded_path
- events
- ln
3 files changed
+43
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
352 | 357 | | |
353 | 358 | | |
354 | 359 | | |
| |||
378 | 383 | | |
379 | 384 | | |
380 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
381 | 398 | | |
382 | 399 | | |
383 | 400 | | |
| |||
627 | 644 | | |
628 | 645 | | |
629 | 646 | | |
| 647 | + | |
630 | 648 | | |
631 | 649 | | |
632 | 650 | | |
| |||
651 | 669 | | |
652 | 670 | | |
653 | 671 | | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
654 | 676 | | |
655 | 677 | | |
656 | 678 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
205 | 210 | | |
206 | 211 | | |
207 | 212 | | |
| |||
1865 | 1870 | | |
1866 | 1871 | | |
1867 | 1872 | | |
1868 | | - | |
| 1873 | + | |
| 1874 | + | |
1869 | 1875 | | |
1870 | 1876 | | |
1871 | 1877 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6253 | 6253 | | |
6254 | 6254 | | |
6255 | 6255 | | |
6256 | | - | |
| 6256 | + | |
6257 | 6257 | | |
6258 | 6258 | | |
6259 | 6259 | | |
6260 | | - | |
| 6260 | + | |
| 6261 | + | |
| 6262 | + | |
| 6263 | + | |
| 6264 | + | |
| 6265 | + | |
6261 | 6266 | | |
6262 | 6267 | | |
6263 | 6268 | | |
| |||
0 commit comments