Open TheBlueMatt opened 1 year ago
By exposure do you mean at the counterparty-level or at the network-level? Unclear to me without spec modifications.
The dust exposure we have on our current channel which is limited by the config knob.
So announce max_dust_htlc_exposure_msat
as a new open_channel
/accept_channel
param or as a new BOLT7 channel_update
param ? Or something different ?
So announce max_dust_htlc_exposure_msat as a new open_channel/accept_channel param or as a new BOLT7 channel_update param ? Or something different ?
I think this is just meant to expose the current value as part of ChannelDetails
.
Is this still needed after https://github.com/lightningdevkit/rust-lightning/pull/2442?
Is this still needed after https://github.com/lightningdevkit/rust-lightning/pull/2442?
Looks like no https://docs.rs/lightning/latest/lightning/ln/channel_state/struct.ChannelDetails.html
Well, it wasn't needed, but now it is again....the dust exposure used to just be the sum of dust HTLCs, however in more recent releases it also considers the channel's commitment transaction fee. Ideally we should expose both as a single amount.
re: #2261 we should also ideally expose what our current dust exposure in a channel is