2
0
mirror of https://github.com/guggero/chantools synced 2024-11-07 03:20:43 +00:00
chantools/doc/chantools_dumpchannels.md
2021-01-01 13:02:16 +01:00

40 lines
838 B
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
```
### Options inherited from parent commands
```
-r, --regtest Indicates if regtest 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