Commit 5f7054d
committed
Distinguish Between Sender and User Custom TLVs
- This update introduces a clear separation between two types
of custom TLVs: those sent by the sender for the user, and
those added by the user to the reply path, which are expected
to return with the response.
- This commit establishes this distinction in the codebase at
relevant points.
- The next commit will build on this by providing an interface for
users to add their own custom TLVs to the reply path, allowing
them to receive specific data back in the response.1 parent e8ac014 commit 5f7054d
File tree
9 files changed
+146
-99
lines changed- lightning/src/ln
9 files changed
+146
-99
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1336 | 1336 | | |
1337 | 1337 | | |
1338 | 1338 | | |
1339 | | - | |
| 1339 | + | |
1340 | 1340 | | |
1341 | 1341 | | |
1342 | 1342 | | |
1343 | | - | |
| 1343 | + | |
1344 | 1344 | | |
1345 | 1345 | | |
1346 | 1346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
191 | 193 | | |
192 | 194 | | |
193 | 195 | | |
| |||
217 | 219 | | |
218 | 220 | | |
219 | 221 | | |
220 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
221 | 225 | | |
222 | 226 | | |
223 | 227 | | |
| |||
5712 | 5716 | | |
5713 | 5717 | | |
5714 | 5718 | | |
5715 | | - | |
| 5719 | + | |
5716 | 5720 | | |
5717 | 5721 | | |
5718 | 5722 | | |
5719 | 5723 | | |
5720 | | - | |
| 5724 | + | |
5721 | 5725 | | |
5722 | 5726 | | |
5723 | 5727 | | |
5724 | 5728 | | |
5725 | 5729 | | |
5726 | | - | |
| 5730 | + | |
5727 | 5731 | | |
5728 | 5732 | | |
5729 | 5733 | | |
5730 | 5734 | | |
5731 | | - | |
| 5735 | + | |
| 5736 | + | |
5732 | 5737 | | |
5733 | 5738 | | |
5734 | 5739 | | |
| |||
6700 | 6705 | | |
6701 | 6706 | | |
6702 | 6707 | | |
6703 | | - | |
6704 | | - | |
| 6708 | + | |
| 6709 | + | |
6705 | 6710 | | |
6706 | | - | |
| 6711 | + | |
6707 | 6712 | | |
6708 | 6713 | | |
6709 | 6714 | | |
| |||
11455 | 11460 | | |
11456 | 11461 | | |
11457 | 11462 | | |
11458 | | - | |
| 11463 | + | |
11459 | 11464 | | |
11460 | 11465 | | |
| 11466 | + | |
11461 | 11467 | | |
11462 | 11468 | | |
11463 | 11469 | | |
11464 | 11470 | | |
11465 | 11471 | | |
11466 | 11472 | | |
11467 | 11473 | | |
11468 | | - | |
| 11474 | + | |
| 11475 | + | |
11469 | 11476 | | |
11470 | 11477 | | |
11471 | 11478 | | |
| |||
14182 | 14189 | | |
14183 | 14190 | | |
14184 | 14191 | | |
14185 | | - | |
| 14192 | + | |
| 14193 | + | |
14186 | 14194 | | |
14187 | 14195 | | |
14188 | 14196 | | |
| |||
14204 | 14212 | | |
14205 | 14213 | | |
14206 | 14214 | | |
14207 | | - | |
| 14215 | + | |
| 14216 | + | |
14208 | 14217 | | |
14209 | 14218 | | |
14210 | 14219 | | |
| |||
14228 | 14237 | | |
14229 | 14238 | | |
14230 | 14239 | | |
14231 | | - | |
| 14240 | + | |
| 14241 | + | |
14232 | 14242 | | |
14233 | 14243 | | |
14234 | 14244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2668 | 2668 | | |
2669 | 2669 | | |
2670 | 2670 | | |
2671 | | - | |
| 2671 | + | |
2672 | 2672 | | |
2673 | 2673 | | |
2674 | 2674 | | |
| |||
2849 | 2849 | | |
2850 | 2850 | | |
2851 | 2851 | | |
2852 | | - | |
| 2852 | + | |
2853 | 2853 | | |
2854 | 2854 | | |
2855 | 2855 | | |
| |||
2866 | 2866 | | |
2867 | 2867 | | |
2868 | 2868 | | |
2869 | | - | |
| 2869 | + | |
2870 | 2870 | | |
2871 | 2871 | | |
2872 | 2872 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
126 | | - | |
| 128 | + | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
187 | | - | |
| 190 | + | |
| 191 | + | |
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
| |||
205 | 209 | | |
206 | 210 | | |
207 | 211 | | |
208 | | - | |
| 212 | + | |
209 | 213 | | |
210 | 214 | | |
211 | 215 | | |
212 | | - | |
| 216 | + | |
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
216 | 220 | | |
217 | | - | |
| 221 | + | |
218 | 222 | | |
219 | 223 | | |
220 | 224 | | |
| |||
226 | 230 | | |
227 | 231 | | |
228 | 232 | | |
229 | | - | |
| 233 | + | |
230 | 234 | | |
231 | 235 | | |
232 | 236 | | |
| |||
235 | 239 | | |
236 | 240 | | |
237 | 241 | | |
238 | | - | |
| 242 | + | |
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
242 | | - | |
| 246 | + | |
243 | 247 | | |
244 | 248 | | |
245 | 249 | | |
| |||
300 | 304 | | |
301 | 305 | | |
302 | 306 | | |
303 | | - | |
| 307 | + | |
304 | 308 | | |
305 | 309 | | |
306 | 310 | | |
307 | | - | |
| 311 | + | |
308 | 312 | | |
309 | 313 | | |
310 | 314 | | |
311 | 315 | | |
312 | | - | |
| 316 | + | |
313 | 317 | | |
314 | 318 | | |
315 | 319 | | |
| |||
333 | 337 | | |
334 | 338 | | |
335 | 339 | | |
336 | | - | |
| 340 | + | |
337 | 341 | | |
338 | 342 | | |
339 | 343 | | |
| |||
342 | 346 | | |
343 | 347 | | |
344 | 348 | | |
345 | | - | |
| 349 | + | |
346 | 350 | | |
347 | 351 | | |
348 | 352 | | |
349 | | - | |
| 353 | + | |
350 | 354 | | |
351 | 355 | | |
352 | 356 | | |
| |||
0 commit comments