Commit d65db58
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 2fe36ef commit d65db58
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 | |
|---|---|---|---|
| |||
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
862 | 872 | | |
863 | 873 | | |
864 | 874 | | |
| |||
11028 | 11038 | | |
11029 | 11039 | | |
11030 | 11040 | | |
11031 | | - | |
| 11041 | + | |
11032 | 11042 | | |
11033 | 11043 | | |
11034 | 11044 | | |
| |||
11044 | 11054 | | |
11045 | 11055 | | |
11046 | 11056 | | |
11047 | | - | |
| 11057 | + | |
11048 | 11058 | | |
11049 | 11059 | | |
11050 | 11060 | | |
11051 | 11061 | | |
11052 | 11062 | | |
11053 | 11063 | | |
11054 | 11064 | | |
11055 | | - | |
| 11065 | + | |
11056 | 11066 | | |
11057 | 11067 | | |
11058 | 11068 | | |
| |||
11062 | 11072 | | |
11063 | 11073 | | |
11064 | 11074 | | |
| 11075 | + | |
| 11076 | + | |
| 11077 | + | |
| 11078 | + | |
11065 | 11079 | | |
11066 | 11080 | | |
11067 | 11081 | | |
| |||
0 commit comments