-
Notifications
You must be signed in to change notification settings - Fork 493
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
Should the htlc_maximum_msat
and htlc_minimum_msat
fields in the channel_update
be dynamic?
#540
Comments
@cdecker imo One current issue is that there is the possibility of channels being closed with the One strategy that could be employed to manage this (among other flow optimizations) is to update dynamically the
|
It makes sense to use the |
If |
Yes, this something we want to make dynamic in the future. However it's currently hard to do so, because changing these values could make your current commitment invalid (if some htlcs don't match the updated parameters). When we last discussed this, it was the reason why we didn't fix this. We're now waiting for quiescence or some form of it to land to make it simpler to change these parameters. |
This is addressed by #1117 |
During the discussion of #500 a disagreement about the wording was discovered. The spec currently states that while
htlc_maximum_msat
andhtlc_minimum_msat
fields are specified in eachchannel_update
, they are effectively static, and cannot be updated.It was proposed that the
channel_update
should be dynamic and allow the message creator to specify new values as necessary. This was previously prohibited in order to discourage leaking the current capacity of the channel, but could be relaxed with a warning.The text was updated successfully, but these errors were encountered: