mirror of https://github.com/guggero/chantools
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.
39 lines
769 B
Markdown
39 lines
769 B
Markdown
3 years ago
|
## chantools dropchannelgraph
|
||
|
|
||
|
Remove all graph related data from a channel DB
|
||
|
|
||
|
### Synopsis
|
||
|
|
||
|
This command removes all graph data from a channel DB,
|
||
|
forcing the lnd node to do a full graph sync.
|
||
|
|
||
|
```
|
||
|
chantools dropchannelgraph [flags]
|
||
|
```
|
||
|
|
||
|
### Examples
|
||
|
|
||
|
```
|
||
|
chantools dropchannelgraph \
|
||
|
--channeldb ~/.lnd/data/graph/mainnet/channel.db
|
||
|
```
|
||
|
|
||
|
### Options
|
||
|
|
||
|
```
|
||
|
--channeldb string lnd channel.db file to dump channels from
|
||
|
-h, --help help for dropchannelgraph
|
||
|
```
|
||
|
|
||
|
### 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
|
||
|
|