-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[spec]: start to set the dont_forward
bit in ChannelUpdate
#7416
Comments
prioed for 17 |
Hi, a new contributor here. Can I take a stab at this? |
Hi @oldmonad if you're interested, please go through the problem statement and the linked spec. |
Got it |
We don't need to make the htlc_maximum_msat bit required because that may cause newer LND nodes to disconnect from older nodes. We'll need to set the Line 3076 in 1052b13
and also in Line 1731 in 1052b13
Also, this bit should be set even if aliases aren't used. It would be nice if all newer channels persisted the bit from the start and older channels performed an on-the-fly migration similar to what was done for the htlc-maximum bit here: lnd/routing/localchans/manager.go Lines 199 to 201 in 1052b13
I'll have to check if there are any other callsites that I'm forgetting |
@oldmonad are you still working on this ? |
Did I understand it correctly by "even channel which are not using aliases" but they have to be private tho, that's at least what I implemented. Basically you did all the work have not fund another place where we should set this bit ;) |
Yup they need to be private for the flag to be set |
We need to start setting the bit at index 1 in the
ChannelUpdate
message flags per lightning/bolts@6fee63f. It is only set for updates that we don't want forwarded. See the spec change for more details.The text was updated successfully, but these errors were encountered: