rust-lightning icon indicating copy to clipboard operation
rust-lightning copied to clipboard

Handle nodes with multiple channels between them better in scoring

Open TheBlueMatt opened this issue 2 years ago • 1 comments

Currently we treat them each as distinct edges with different available liquidity, but this isn't how it works in practice - nodes will just forward over any channel they have. Maybe splicing will just fix this for us, but we might consider handling this somehow in the scorer by ignoring redundant channels and just treating it as one big channel.

TheBlueMatt avatar Apr 24 '23 16:04 TheBlueMatt

I can comment on how this works in lnd. In lnd, the level at which scoring is applied is a directed node pair. Indeed for the reason you mention, that nodes just forward over any channel they have.

joostjager avatar Feb 07 '25 08:02 joostjager