-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Prevent force closing channels with fee rate/conf target #3074
Copy link
Copy link
Closed
Labels
P3might get fixed, nice to havemight get fixed, nice to havebeginnerIssues suitable for new developersIssues suitable for new developerschannel closingRelated to the closing of channels cooperatively and uncooperativelyRelated to the closing of channels cooperatively and uncooperativelygood first issueIssues suitable for first time contributors to LNDIssues suitable for first time contributors to LNDrpcRelated to the RPC interfaceRelated to the RPC interface
Metadata
Metadata
Assignees
Labels
P3might get fixed, nice to havemight get fixed, nice to havebeginnerIssues suitable for new developersIssues suitable for new developerschannel closingRelated to the closing of channels cooperatively and uncooperativelyRelated to the closing of channels cooperatively and uncooperativelygood first issueIssues suitable for first time contributors to LNDIssues suitable for first time contributors to LNDrpcRelated to the RPC interfaceRelated to the RPC interface
Background
When i use lnd API for force-closing of channel with
target_conf: 36i see that LND makes transaction with big fee (as target_conf would be 1-2 only).Your environment
lnd0.6.1-beta commit=v0.6.1-beta-rc2uname -aon *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_confAnd i see many same cases now (i did some force closings and checked them)