Prevent force closing channels with fee rate/conf target #3074
Labels
beginner
Issues suitable for new developers
channel closing
Related to the closing of channels cooperatively and uncooperatively
good first issue
Issues suitable for first time contributors to LND
P3
might get fixed, nice to have
rpc
Related to the RPC interface
Background
When i use lnd API for force-closing of channel with
target_conf: 36
i see that LND makes transaction with big fee (as target_conf would be 1-2 only).Your environment
lnd
0.6.1-beta commit=v0.6.1-beta-rc2uname -a
on *Nix) CentOSbtcd
,bitcoind
, or other backend - 0.17.1Actual behaviour
For example i do (node.js):
In that time at target bitcoin node i have a fee for 36 blocks as:
So it's about 11 sat/byte
But after the LND does this transaction:
https://www.smartbit.com.au/tx/ee9cac6a8cfed7a37f8929794fe3b21daf781d06b7541b093a399d9a4a66e549
There is 133 sat/byte. I’m sure that in this case the LND does not explicitly follow the
target_conf
And i see many same cases now (i did some force closings and checked them)
The text was updated successfully, but these errors were encountered: