Commit 7f93f9e
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 602ada9 commit 7f93f9e
2 files changed
Lines changed: 51 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
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 | |
|---|---|---|---|
| |||
849 | 849 | | |
850 | 850 | | |
851 | 851 | | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
852 | 862 | | |
853 | 863 | | |
854 | 864 | | |
| |||
10999 | 11009 | | |
11000 | 11010 | | |
11001 | 11011 | | |
11002 | | - | |
| 11012 | + | |
11003 | 11013 | | |
11004 | 11014 | | |
11005 | 11015 | | |
| |||
11015 | 11025 | | |
11016 | 11026 | | |
11017 | 11027 | | |
11018 | | - | |
| 11028 | + | |
11019 | 11029 | | |
11020 | 11030 | | |
11021 | 11031 | | |
11022 | 11032 | | |
11023 | 11033 | | |
11024 | 11034 | | |
11025 | 11035 | | |
11026 | | - | |
| 11036 | + | |
11027 | 11037 | | |
11028 | 11038 | | |
11029 | 11039 | | |
| |||
11033 | 11043 | | |
11034 | 11044 | | |
11035 | 11045 | | |
| 11046 | + | |
| 11047 | + | |
| 11048 | + | |
| 11049 | + | |
11036 | 11050 | | |
11037 | 11051 | | |
11038 | 11052 | | |
| |||
0 commit comments