Skip to content

feature request: let lncli stop wait until there are no HTLCs pending #6441

@antonilol

Description

@antonilol

Background

Describe your issue here.

imagine i stoppen lnd with lncli stop but there was a pending HTLC in one of the channels, when the remote party wants to fulfill it, it cant so force closes the channel.

Your environment

  • version of lnd lnd version 0.14.2-beta commit=v0.14.2-beta
  • which operating system (uname -a on *Nix) Linux 5600g 5.17.2-arch3-1 #1 SMP PREEMPT Sun, 10 Apr 2022 11:18:32 +0000 x86_64 GNU/Linux
  • version of btcd, bitcoind, or other backend
  • any other relevant environment details

Steps to reproduce

Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.

not really a bug, but lncli stop when a channel has a pending HTLC the other can fulfill and it will force close to fulfill it on chain

Feature request:

an rpc and lncli argument to lncli stop to let it wait until all channels are 'clean'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions