mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
plugins: use "slow" feerate for mutual close negotiation.
We're rarely in a hurry here, and bitcoind is aggressive with fees. You can always spend this output if you really have to, using CPFP. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: Protocol: mutual closing feerate reduced to "slow" to avoid overpaying.
This commit is contained in:
committed by
Christian Decker
parent
b1aed933e6
commit
6195d953cc
@@ -498,7 +498,7 @@ static struct command_result *estimatefees_final_step(struct bitcoin_cli *bcli)
|
||||
|
||||
response = jsonrpc_stream_success(bcli->cmd);
|
||||
json_add_u64(response, "opening", stash->normal);
|
||||
json_add_u64(response, "mutual_close", stash->normal);
|
||||
json_add_u64(response, "mutual_close", stash->slow);
|
||||
json_add_u64(response, "unilateral_close",
|
||||
stash->very_urgent * bitcoind->commit_fee_percent / 100);
|
||||
json_add_u64(response, "delayed_to_us", stash->normal);
|
||||
|
||||
Reference in New Issue
Block a user