mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
closing: add option to set closing range.
This affects the range we offer even without quick-close, but it's more critical for quick-close. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: JSONRPC: `close` now takes a `feerange` parameter to set min/max fee rates for mutual close.
This commit is contained in:
@@ -174,6 +174,9 @@ struct channel {
|
||||
/* optional wrong_funding for mutual close */
|
||||
const struct bitcoin_outpoint *shutdown_wrong_funding;
|
||||
|
||||
/* optional feerate min/max for mutual close */
|
||||
u32 *closing_feerate_range;
|
||||
|
||||
/* Reestablishment stuff: last sent commit and revocation details. */
|
||||
bool last_was_revoke;
|
||||
struct changed_htlc *last_sent_commit;
|
||||
|
||||
Reference in New Issue
Block a user