-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
60 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
## chantools deletepayments | ||
|
||
Remove all (failed) payments from a channel DB | ||
|
||
### Synopsis | ||
|
||
This command removes all payments from a channel DB. | ||
If only the failed payments should be deleted (and not the successful ones), the | ||
--failedonly flag can be specified. | ||
|
||
CAUTION: Running this command will make it impossible to use the channel DB | ||
with an older version of lnd. Downgrading is not possible and you'll need to | ||
run lnd v0.13.1-beta or later after using this command!' | ||
|
||
``` | ||
chantools deletepayments [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
chantools deletepayments --failedonly \ | ||
--channeldb ~/.lnd/data/graph/mainnet/channel.db | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--channeldb string lnd channel.db file to dump channels from | ||
--failedonly don't delete all payments, only failed ones | ||
-h, --help help for deletepayments | ||
``` | ||
|
||
### 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters