You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Set the new dont_forward bit in channel_update messages #1672
I am looking at this as my potential first contribution and would like to clarify when the dont_forward flag should be set to 1. To my understanding, the flag should be set to 1 only in get_channel_update_for_unicast when short_channel_id does not exist but latest_inbound_scid_alias exists. In all other cases, it should be 0. Is that correct?
Once we do this, we should print a big fat WARNING log in ChannelManager if we receive a channel_update with the dont_forward bit set but for a channel we don't have - telling the user they may want to look at whether they are passing the correct tx index to chain::Confirm::transactions_confirmed.
Activity
jirijakes commentedon Feb 10, 2023
I am looking at this as my potential first contribution and would like to clarify when the
dont_forwardflag should be set to 1. To my understanding, the flag should be set to 1 only inget_channel_update_for_unicastwhenshort_channel_iddoes not exist butlatest_inbound_scid_aliasexists. In all other cases, it should be 0. Is that correct?rust-lightning/lightning/src/ln/channelmanager.rs
Lines 2333 to 2346 in 41a6c67
TheBlueMatt commentedon Feb 10, 2023
No, its unrelated to the SCID, but rather should be set based on the channel
is_publicTheBlueMatt commentedon Feb 16, 2023
Once we do this, we should print a big fat WARNING log in
ChannelManagerif we receive achannel_updatewith thedont_forwardbit set but for a channel we don't have - telling the user they may want to look at whether they are passing the correct tx index tochain::Confirm::transactions_confirmed.Thrishalmadasu commentedon Jan 22, 2026
Hi! Is this issue still open and available to work on?
It's been a while since the last update, so I wanted to check before diving in.
TheBlueMatt commentedon Jan 22, 2026
Yea, I believe so!
malsomesh9 commentedon Feb 1, 2026
I wold like to contribute ? is it open.
malsomesh9 commentedon Feb 1, 2026
@Thrishalmadasu is it still open
Thrishalmadasu commentedon Feb 1, 2026
@malsomesh9 I’ve already created a PR for this issue and am actively working on it.
malsomesh9 commentedon Feb 1, 2026