Commit 9c4bb94
committed
Add hold_htlc param to internal Channel APIs
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 a
parameter for it in internal channel send_htlc APIs, including serializing the
field when the parameter is set.
See-also BOLTs PR 9891 parent 766bb36 commit 9c4bb94
2 files changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8067 | 8067 | | |
8068 | 8068 | | |
8069 | 8069 | | |
8070 | | - | |
| 8070 | + | |
8071 | 8071 | | |
8072 | 8072 | | |
8073 | 8073 | | |
| |||
8079 | 8079 | | |
8080 | 8080 | | |
8081 | 8081 | | |
| 8082 | + | |
8082 | 8083 | | |
8083 | 8084 | | |
8084 | 8085 | | |
| |||
12053 | 12054 | | |
12054 | 12055 | | |
12055 | 12056 | | |
| 12057 | + | |
| 12058 | + | |
12056 | 12059 | | |
12057 | 12060 | | |
12058 | 12061 | | |
| |||
12083 | 12086 | | |
12084 | 12087 | | |
12085 | 12088 | | |
12086 | | - | |
| 12089 | + | |
12087 | 12090 | | |
12088 | 12091 | | |
12089 | 12092 | | |
| |||
12165 | 12168 | | |
12166 | 12169 | | |
12167 | 12170 | | |
12168 | | - | |
| 12171 | + | |
12169 | 12172 | | |
12170 | 12173 | | |
12171 | 12174 | | |
| |||
12187 | 12190 | | |
12188 | 12191 | | |
12189 | 12192 | | |
12190 | | - | |
| 12193 | + | |
12191 | 12194 | | |
12192 | 12195 | | |
12193 | 12196 | | |
| |||
12422 | 12425 | | |
12423 | 12426 | | |
12424 | 12427 | | |
12425 | | - | |
| 12428 | + | |
12426 | 12429 | | |
12427 | 12430 | | |
12428 | 12431 | | |
| |||
12437 | 12440 | | |
12438 | 12441 | | |
12439 | 12442 | | |
| 12443 | + | |
12440 | 12444 | | |
12441 | 12445 | | |
12442 | 12446 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5040 | 5040 | | |
5041 | 5041 | | |
5042 | 5042 | | |
| 5043 | + | |
5043 | 5044 | | |
5044 | 5045 | | |
5045 | 5046 | | |
| |||
0 commit comments