Commit 710598d
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 a31d70d commit 710598d
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
264 | 266 | | |
265 | 267 | | |
266 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
267 | 277 | | |
268 | 278 | | |
269 | 279 | | |
| |||
5541 | 5551 | | |
5542 | 5552 | | |
5543 | 5553 | | |
5544 | | - | |
| 5554 | + | |
5545 | 5555 | | |
5546 | | - | |
| 5556 | + | |
5547 | 5557 | | |
5548 | 5558 | | |
5549 | 5559 | | |
| |||
12378 | 12388 | | |
12379 | 12389 | | |
12380 | 12390 | | |
| 12391 | + | |
12381 | 12392 | | |
12382 | 12393 | | |
12383 | 12394 | | |
| |||
| 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