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

Limit `htlc_maximum_msat` to improve probing-privacy

Open tnull opened this issue 1 year ago • 2 comments

We currently only limit our max_htlc_value_in_flight_msat which we're about to switch off based on announcement status in https://github.com/lightningdevkit/rust-lightning/issues/2851.

As our anti_probing_penalty_msat penalizes channels that don't set htlc_maximum_msat, we might hence currently penalize some LDK channels in routing by default. We should change ChannelContext::get_announced_htlc_max_msat to also limit the hltc_maximum_msat value based on announcement status.

tnull avatar Apr 08 '24 15:04 tnull

Hii, I am working on #2851 can i also try this?

Sharmalm avatar Apr 19 '24 16:04 Sharmalm

Hii, I am working on #2851 can i also try this?

Sure, although it would probably make sense to work sequentially on this, i.e., first finish the previous task before picking this up?

tnull avatar Apr 22 '24 12:04 tnull