-
Notifications
You must be signed in to change notification settings - Fork 491
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
More detailed definition when the dont_forward bit should be set #1106
Comments
That sounds reasonable, we could indeed set I'd need to look at the code to see if this would have unwanted side effects though. |
I did not want to set it by default, because I thought maybe eclair nodes could lose the won advantage by switching this bit on for a short period of time and after 6 blocks we do not set it again. Looking forward to your findings, waiting until then before finalizing the LND PR. |
I'm not sure what you mean here, can you detail? |
I thought when we set the dont_forward bit, eclair nodes treat these channels differently (saving some look ups in their tables because you have a lot of private channels). Now when we start to also set the bits for public channels during the time after initial confirmation (3 blocks default) and until the 6 confirmation is this still ok or will eclair have problems with the switching ? |
What made you think that? We don't do anything different than what the specification mandates. If you set the |
I'm not sure whether we've come up with something actionable on this issue? |
Based on the PR which introduced the dont_forward bit, I think this bit was especially used to make implementations less error prune to not forward potential private information.
But I am wondering whether to set the bit in a ChannelUpdate msg for a public channel (not zeroconf) which originated lets say after 3 blocks (channel usable between peers) but still before 6 blocks (deadline where announcement sigs are exchanged)? I don't think we should set it in this case, but only set it either if its a private channel or a public zeroconf channel before the 6 conf target ?
If my assumption is true we should refine the spec in this case ?
The text was updated successfully, but these errors were encountered: