Skip to content

How to find compromise in restarted fee negotiation (coop close)? #6781

@C-Otto

Description

@C-Otto

Background

If both nodes run lnd 0.15+, it is possible to retry a failed fee negotiation (as part of a cooperative channel close). If one node is running an older version of lnd, the channel has to be force-closed.

However, in my observation this doesn't help as long as both peers stick to the same values: my node still suggests numbers far below my peer's suggestions, and after a few attempts the negotiation fails.

How can I tell my lnd (without restart!) to accept/suggest higher fee rates for a specific peer/channel?

See lightninglabs/loop#516 for an example of this.

Your environment

  • version of lnd: lnd v0.15.0-beta with a few patches from master (and some of my own)
  • which operating system (uname -a on *Nix): Linux server 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux
  • version of btcd, bitcoind, or other backend: bitcoind v23

Steps to reproduce

Configure very low fee rates (bitcoind.estimatemode=ECONOMICAL, coop-close-target-confs=1000). Open channel to LOOP. Let LOOP coop-close channel.

Expected behaviour

Nodes agree on fee rate, especially after manual intervention on my side.

Actual behaviour

Fee rate negotiation fails repeatedly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    channel closingRelated to the closing of channels cooperatively and uncooperativelyp2pCode related to the peer-to-peer behaviour

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions