Commit 6368dfb
Add cltv expiry to PendingHTLCRouting::Forward
In a coming commit we'll expire HTLCs backwards even if we haven't
yet claimed them on-chain based on their inbound edge being close
to causing a channel force-closure.
Here we track the incoming edge's CLTV expiry in the
pending-routing state so that we can include it in the `HTLCSource`
in the next commit.
Co-authored-by: Matt Corallo <[email protected]>1 parent 3d2b4de commit 6368dfb
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
| |||
269 | 271 | | |
270 | 272 | | |
271 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
272 | 282 | | |
273 | 283 | | |
274 | 284 | | |
| |||
5522 | 5532 | | |
5523 | 5533 | | |
5524 | 5534 | | |
5525 | | - | |
| 5535 | + | |
5526 | 5536 | | |
5527 | | - | |
| 5537 | + | |
5528 | 5538 | | |
5529 | 5539 | | |
5530 | 5540 | | |
| |||
12433 | 12443 | | |
12434 | 12444 | | |
12435 | 12445 | | |
| 12446 | + | |
12436 | 12447 | | |
12437 | 12448 | | |
12438 | 12449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
0 commit comments