You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chantools/doc/chantools_dumpchannels.md

43 lines
1.0 KiB
Markdown

## chantools dumpchannels
Dump all channel information from an lnd channel database
### Synopsis
This command dumps all open and pending channels from the
given lnd channel.db gile in a human readable format.
```
chantools dumpchannels [flags]
```
### Examples
```
chantools dumpchannels \
--channeldb ~/.lnd/data/graph/mainnet/channel.db
```
### Options
```
--channeldb string lnd channel.db file to dump channels from
--closed dump closed channels instead of open
-h, --help help for dumpchannels
--pending dump pending channels instead of open
--waiting_close dump waiting close channels instead of open
```
### Options inherited from parent commands
```
-r, --regtest Indicates if regtest parameters should be used
-s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used
```
### SEE ALSO
* [chantools](chantools.md) - Chantools helps recover funds from lightning channels