-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[feature]: add custom chan support to new rbf chan closer #9663
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
Comments
Hey @Roasbeef, should auxOutputs be applied by default in the new RBF closer, or do we need to check conditions like the remote proposed fee? Also, any potential conflicts with CustomSort? |
@Roasbeef I'd like to take this up! From what i understand, the goal is to ensure that the new RBF closer properly supports multiple outputs to the sender in a co-op close transaction. Approch--
Let me know if there's anything specific you’d like me to keep in mind before I start:) |
@Lokeshranjan8 if you take a look at the existing implementation, the integration with Thinking about it a bit further, this also needs to carry over the set of extra custom records into the |
Hello,I'm trying to simulate RBF closes in regtest as per the suggestion in this issue. I'm using the --sat_per_byte flag to initiate a cooperative close with a low fee, then trying to bump it with a higher value. However, I run into this error on the first attempt: [lncli] rpc error: code = Unknown desc = unable to process close msg: latest fee proposal exceeds max fee: 0.00000602 BTC > 0.00000585 BTC rpc error: code = Unknown desc = unable to gracefully close channel while peer is offline (try force closing it instead): channel link not found Am I missing something in the setup? Is there a specific way to configure regtest to allow proper simulation of RBF fee bumps, or should I be using the new RBF APIs more directly? Thanks for your help — just want to make sure I’m testing it the right way before working on propagating auxOutputs. |
You need to activate RBF close with: `--protocol: Lines 1417 to 1418 in 867d27d
Stepping back for a minute, let's say you have an implementation, do you understand how to test it e2e, and which additional repos would be needed? |
Hi @Lokeshranjan8 before investing any further time on this issue, please go through the contribution guideline for new contributors... Please take some time to review other prs before submitting one yourselves. Without any review credits, your prs will languish for review input. Additionally, please note that this particular issue is intermediate to advanced level complexity. Would recommend taking on a few simpler issues first (look for |
Is your feature request related to a problem? Please describe.
Today the RBF chan closer doesn't observe/propagate the
auxOutputs
functional option like the legacy closing protocol does:lnd/lnwallet/chancloser/chancloser.go
Lines 946 to 963 in b01f4e5
Describe the solution you'd like
We should update the state transition in the new RBF closer to support this feature (permits > 1 output to the sender on a co-op close transaction).
The text was updated successfully, but these errors were encountered: