chantools/doc/chantools.md
Oli 1a31b6c7f4
forceclose+doc: add channel point and state index params
This commit adds a new --stateindex parameter that allows to force close
an old state (if still available). To make integration tests easier, we
also add the --channelpoint param that allows us to specify a single
channel to force close.
2026-02-10 16:28:01 +01:00

5.7 KiB

chantools

Chantools helps recover funds from lightning channels

Synopsis

This tool provides helper functions that can be used rescue funds locked in lnd channels in case lnd itself cannot run properly anymore. Complete documentation is available at https://github.com/lightninglabs/chantools/.

Options

  -h, --help                help for chantools
      --nologfile           If set, no log file will be created. This is useful for testing purposes where we don't want to create a log file.
  -r, --regtest             Indicates if regtest parameters should be used
      --resultsdir string   Directory where results should be stored (default "./results")
  -s, --signet              Indicates if the public signet parameters should be used
  -t, --testnet             Indicates if testnet parameters should be used

SEE ALSO