-
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
Minor improvements in the lncli api regarding channel closures. #8350
Minor improvements in the lncli api regarding channel closures. #8350
Conversation
dfba588
to
16adf71
Compare
16adf71
to
171d2bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvements! Definitely need more clarity on those commands. Just a few nits and suggestions from my side.
f8d26a9
to
b554256
Compare
BumpFee now returns a status signaling the success of the operation.
Replace (hide) the old bumpclosefee cmd with the new bumpforceclosefee cmd to avoid confusion which closing transactions can be bumped.
b554256
to
2da06b0
Compare
2da06b0
to
90f5dc3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
TargetConf: uint32(ctx.Uint64("conf_target")), | ||
SatPerVbyte: ctx.Uint64(feeRateFlag), | ||
Force: true, | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: closing parenthesis on new line.
@@ -1067,6 +1067,8 @@ message BumpFeeRequest { | |||
} | |||
|
|||
message BumpFeeResponse { | |||
// The status of the bump fee operation. | |||
string status = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM🙏
@ziggie1984, remember to re-request review from reviewers when ready |
Fixes #8309 in renaming the command to account for the fact that only force closes can be bumped using
bumpclosefee
.Moreover it enables the
max_fee_rate
rpc option for theclosechannel
cmd. By setting higher values than the normal x3 value of the ideal fee rate, the coop close can have a higher prob. to succeed.