Commit ce91315
committed
Expose the outgoing HTLC's CLTV expiry in
In the previous commit our interception documentation noted that in
some cases devs may wish to validate the CLTV expiry of HTLCs
before forwarding. Here we enable that by exposing the next-hop's
CLTV value in `Event::HTLCIntercepted`Event::HTLCIntercepted
1 parent a0723ad commit ce91315
File tree
3 files changed
+17
-0
lines changed- lightning/src
- events
- ln
3 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
1290 | 1297 | | |
1291 | 1298 | | |
1292 | 1299 | | |
| |||
2017 | 2024 | | |
2018 | 2025 | | |
2019 | 2026 | | |
| 2027 | + | |
2020 | 2028 | | |
2021 | 2029 | | |
2022 | 2030 | | |
2023 | 2031 | | |
2024 | 2032 | | |
| 2033 | + | |
2025 | 2034 | | |
2026 | 2035 | | |
2027 | 2036 | | |
| |||
2526 | 2535 | | |
2527 | 2536 | | |
2528 | 2537 | | |
| 2538 | + | |
2529 | 2539 | | |
2530 | 2540 | | |
| 2541 | + | |
2531 | 2542 | | |
2532 | 2543 | | |
2533 | 2544 | | |
| |||
2542 | 2553 | | |
2543 | 2554 | | |
2544 | 2555 | | |
| 2556 | + | |
2545 | 2557 | | |
2546 | 2558 | | |
2547 | 2559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3409 | 3409 | | |
3410 | 3410 | | |
3411 | 3411 | | |
| 3412 | + | |
3412 | 3413 | | |
3413 | 3414 | | |
3414 | 3415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2277 | 2277 | | |
2278 | 2278 | | |
2279 | 2279 | | |
| 2280 | + | |
2280 | 2281 | | |
2281 | 2282 | | |
2282 | 2283 | | |
2283 | 2284 | | |
2284 | 2285 | | |
2285 | 2286 | | |
2286 | 2287 | | |
| 2288 | + | |
2287 | 2289 | | |
2288 | 2290 | | |
2289 | 2291 | | |
2290 | 2292 | | |
| 2293 | + | |
2291 | 2294 | | |
2292 | 2295 | | |
2293 | 2296 | | |
| |||
2356 | 2359 | | |
2357 | 2360 | | |
2358 | 2361 | | |
| 2362 | + | |
2359 | 2363 | | |
2360 | 2364 | | |
2361 | 2365 | | |
| |||
0 commit comments