BOLT#02: change SHOULD to MUST for fee-range mismatch#1039
Conversation
|
This looks like a hacky way of making the closing protocol compatible with Musig2 funding outputs (and failing to mention that this is the motivation for the change). I think we should instead work on creating a cleaner protocol for closing taproot channels. My personal preference is to make it an explicit turn-based protocol (instead of hijacking the unrelated The new requirement doesn't even seem doable since there's no reestablish logic to know that when you sent a |
this isn't the motivation for the change though - the current protocol as written fails in an edge case
since things start over if the conn restarts, this doesn't seem necessary since you just start over |
Gotcha, that should be clarified, I read the requirement as something that must be applied throughout reconnects.
That's because it was designed that way, not being a turn-based protocol and requiring node operator intervention to resolve feerate conflicts / lack of progress. I now think that this was a mistake and I should have made it a strict turn-based protocol... I don't think it makes any sense to require a node to send a |
|
an explicit reject message is better imo, this patch was motivated by this comment #1013 (comment) |
vincenzopalazzo
left a comment
There was a problem hiding this comment.
I'm also in favor of another message here but I'm not sure what kind of message in order to avoid making the protocol less verbose.
Also, encoding some data in the warning message could work, but I need to think more about this use case
|
FWIW, I think a MUST makes sense, I don't think its worth bothering with a new message unless we need it for something else - it was mentioned on the spec call that for taproot we'll need to send new nonces when rejecting, which definitely implies we want a new message there. Given we need more fields in a rejection, I'm okay with a new message. |
|
Shall we change this PR to become the spec for a new |
|
Can close this, the reject version of coop closing is in this PR #1016 -- I think that addresses what this PR is trying to fix |
Addresses most of #1013, but without some warning codes the funder won't know what to change. This patch requires that the sender of
fee_rangedoesn't send another until receiving a response viaclosing_signedorwarning.