Commit 6737bde
committed
Send held_htlc_available with counterparty reply path
As part of supporting sending payments as an often-offline sender, the sender
needs to send held_htlc_available onion messages such that the reply path to
the message terminates at their always-online channel counterparty that is
holding the HTLC. That way when the recipient responds with release_held_htlc,
the sender's counterparty will receive that message.
After laying groundwork over some past commits, here we as an async sender send
held_htlc_available messages using reply paths created by our always-online
channel counterparty.1 parent 5d32d3f commit 6737bde
2 files changed
+51
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
7992 | 7993 | | |
7993 | 7994 | | |
7994 | 7995 | | |
| 7996 | + | |
| 7997 | + | |
| 7998 | + | |
| 7999 | + | |
| 8000 | + | |
| 8001 | + | |
| 8002 | + | |
| 8003 | + | |
7995 | 8004 | | |
7996 | 8005 | | |
7997 | 8006 | | |
7998 | | - | |
| 8007 | + | |
| 8008 | + | |
| 8009 | + | |
| 8010 | + | |
| 8011 | + | |
| 8012 | + | |
| 8013 | + | |
| 8014 | + | |
7999 | 8015 | | |
8000 | 8016 | | |
8001 | 8017 | | |
| |||
8110 | 8126 | | |
8111 | 8127 | | |
8112 | 8128 | | |
| 8129 | + | |
8113 | 8130 | | |
8114 | 8131 | | |
8115 | 8132 | | |
| |||
8225 | 8242 | | |
8226 | 8243 | | |
8227 | 8244 | | |
| 8245 | + | |
| 8246 | + | |
| 8247 | + | |
| 8248 | + | |
| 8249 | + | |
| 8250 | + | |
| 8251 | + | |
| 8252 | + | |
| 8253 | + | |
| 8254 | + | |
| 8255 | + | |
| 8256 | + | |
| 8257 | + | |
| 8258 | + | |
8228 | 8259 | | |
8229 | 8260 | | |
8230 | 8261 | | |
| |||
8292 | 8323 | | |
8293 | 8324 | | |
8294 | 8325 | | |
8295 | | - | |
| 8326 | + | |
8296 | 8327 | | |
8297 | | - | |
| 8328 | + | |
8298 | 8329 | | |
8299 | 8330 | | |
8300 | 8331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
855 | 865 | | |
856 | 866 | | |
857 | 867 | | |
| |||
11021 | 11031 | | |
11022 | 11032 | | |
11023 | 11033 | | |
11024 | | - | |
| 11034 | + | |
11025 | 11035 | | |
11026 | 11036 | | |
11027 | 11037 | | |
| |||
11037 | 11047 | | |
11038 | 11048 | | |
11039 | 11049 | | |
11040 | | - | |
| 11050 | + | |
11041 | 11051 | | |
11042 | 11052 | | |
11043 | 11053 | | |
11044 | 11054 | | |
11045 | 11055 | | |
11046 | 11056 | | |
11047 | 11057 | | |
11048 | | - | |
| 11058 | + | |
11049 | 11059 | | |
11050 | 11060 | | |
11051 | 11061 | | |
| |||
11055 | 11065 | | |
11056 | 11066 | | |
11057 | 11067 | | |
| 11068 | + | |
| 11069 | + | |
| 11070 | + | |
| 11071 | + | |
11058 | 11072 | | |
11059 | 11073 | | |
11060 | 11074 | | |
| |||
0 commit comments