Commit 549df3e
committed
Use inbound SCID alias for blinded path creation
When we generate a compact blinded path to ourselves, we currently
use the real SCID of our channels to tell our peers where to
forward to. This is fine for short-lived blinded paths where we
expect the channel to still be around, but post-splicing this may
spuriously invalidate blinded paths just because we spliced.
Instead, here, we default to using inbound SCID aliases where
possible. We also avoid one more reference to the channel's
internal `FundingContext` in `channelmanager.rs`.1 parent 6771d84 commit 549df3e
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9403 | 9403 | | |
9404 | 9404 | | |
9405 | 9405 | | |
| 9406 | + | |
| 9407 | + | |
| 9408 | + | |
| 9409 | + | |
| 9410 | + | |
| 9411 | + | |
9406 | 9412 | | |
9407 | 9413 | | |
9408 | 9414 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11524 | 11524 | | |
11525 | 11525 | | |
11526 | 11526 | | |
11527 | | - | |
11528 | | - | |
| 11527 | + | |
| 11528 | + | |
| 11529 | + | |
11529 | 11530 | | |
11530 | 11531 | | |
11531 | 11532 | | |
| |||
0 commit comments