Commit 99b162f
committed
Add HTLCSource::OutboundRoute::hold_htlc
As part of supporting sending payments as an often-offline sender, the sender
needs to be able to set a flag in their update_add_htlc message indicating that
the HTLC should be held until receipt of a release_held_htlc onion message from
the often-offline payment recipient.
We don't yet ever set this flag, but lay the groundwork by including the field
in the HTLCSource::OutboundRoute enum variant.
See-also <lightning/bolts#989>1 parent b6cc8c2 commit 99b162f
File tree
4 files changed
+20
-0
lines changed- fuzz/src
- lightning/src/ln
4 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15238 | 15238 | | |
15239 | 15239 | | |
15240 | 15240 | | |
| 15241 | + | |
15241 | 15242 | | |
15242 | 15243 | | |
15243 | 15244 | | |
| |||
15685 | 15686 | | |
15686 | 15687 | | |
15687 | 15688 | | |
| 15689 | + | |
15688 | 15690 | | |
15689 | 15691 | | |
15690 | 15692 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
762 | 766 | | |
763 | 767 | | |
764 | 768 | | |
| |||
802 | 806 | | |
803 | 807 | | |
804 | 808 | | |
| 809 | + | |
805 | 810 | | |
806 | 811 | | |
807 | 812 | | |
808 | 813 | | |
809 | 814 | | |
810 | 815 | | |
811 | 816 | | |
| 817 | + | |
812 | 818 | | |
813 | 819 | | |
814 | 820 | | |
| |||
822 | 828 | | |
823 | 829 | | |
824 | 830 | | |
| 831 | + | |
825 | 832 | | |
826 | 833 | | |
827 | 834 | | |
| |||
5044 | 5051 | | |
5045 | 5052 | | |
5046 | 5053 | | |
| 5054 | + | |
5047 | 5055 | | |
5048 | 5056 | | |
5049 | 5057 | | |
| |||
15308 | 15316 | | |
15309 | 15317 | | |
15310 | 15318 | | |
| 15319 | + | |
15311 | 15320 | | |
15312 | 15321 | | |
15313 | 15322 | | |
| |||
15316 | 15325 | | |
15317 | 15326 | | |
15318 | 15327 | | |
| 15328 | + | |
15319 | 15329 | | |
15320 | 15330 | | |
15321 | 15331 | | |
| |||
15339 | 15349 | | |
15340 | 15350 | | |
15341 | 15351 | | |
| 15352 | + | |
15342 | 15353 | | |
15343 | 15354 | | |
15344 | 15355 | | |
| |||
15356 | 15367 | | |
15357 | 15368 | | |
15358 | 15369 | | |
| 15370 | + | |
15359 | 15371 | | |
15360 | 15372 | | |
15361 | 15373 | | |
| |||
15368 | 15380 | | |
15369 | 15381 | | |
15370 | 15382 | | |
| 15383 | + | |
15371 | 15384 | | |
15372 | 15385 | | |
15373 | 15386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3413 | 3413 | | |
3414 | 3414 | | |
3415 | 3415 | | |
| 3416 | + | |
3416 | 3417 | | |
3417 | 3418 | | |
3418 | 3419 | | |
| |||
3603 | 3604 | | |
3604 | 3605 | | |
3605 | 3606 | | |
| 3607 | + | |
3606 | 3608 | | |
3607 | 3609 | | |
3608 | 3610 | | |
| |||
3791 | 3793 | | |
3792 | 3794 | | |
3793 | 3795 | | |
| 3796 | + | |
3794 | 3797 | | |
3795 | 3798 | | |
3796 | 3799 | | |
| |||
3900 | 3903 | | |
3901 | 3904 | | |
3902 | 3905 | | |
| 3906 | + | |
3903 | 3907 | | |
3904 | 3908 | | |
3905 | 3909 | | |
| |||
0 commit comments