root+doc: add --testnet4 flag

This commit is contained in:
Oli 2026-03-04 07:01:23 +01:00
parent ae99db3093
commit 4da5b6f212
No known key found for this signature in database
GPG key ID: 8E4256593F177720
47 changed files with 284 additions and 1 deletions

View file

@ -49,6 +49,7 @@ const (
var ( var (
Testnet bool Testnet bool
Testnet4 bool
Regtest bool Regtest bool
Signet bool Signet bool
NoLogFile bool NoLogFile bool
@ -72,6 +73,9 @@ https://github.com/lightninglabs/chantools/.`,
case Testnet: case Testnet:
chainParams = &chaincfg.TestNet3Params chainParams = &chaincfg.TestNet3Params
case Testnet4:
chainParams = &chaincfg.TestNet4Params
case Regtest: case Regtest:
chainParams = &chaincfg.RegressionNetParams chainParams = &chaincfg.RegressionNetParams
@ -95,6 +99,10 @@ func main() {
&Testnet, "testnet", "t", false, "Indicates if testnet "+ &Testnet, "testnet", "t", false, "Indicates if testnet "+
"parameters should be used", "parameters should be used",
) )
rootCmd.PersistentFlags().BoolVar(
&Testnet4, "testnet4", false, "Indicates if testnet4 "+
"parameters should be used",
)
rootCmd.PersistentFlags().BoolVarP( rootCmd.PersistentFlags().BoolVarP(
&Regtest, "regtest", "r", false, "Indicates if regtest "+ &Regtest, "regtest", "r", false, "Indicates if regtest "+
"parameters should be used", "parameters should be used",

View file

@ -18,6 +18,7 @@ https://github.com/lightninglabs/chantools/.
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO
@ -25,6 +26,7 @@ https://github.com/lightninglabs/chantools/.
* [chantools chanbackup](chantools_chanbackup.md) - Create a channel.backup file from a channel database * [chantools chanbackup](chantools_chanbackup.md) - Create a channel.backup file from a channel database
* [chantools closepoolaccount](chantools_closepoolaccount.md) - Tries to close a Pool account that has expired * [chantools closepoolaccount](chantools_closepoolaccount.md) - Tries to close a Pool account that has expired
* [chantools compactdb](chantools_compactdb.md) - Create a copy of a channel.db file in safe/read-only mode * [chantools compactdb](chantools_compactdb.md) - Create a copy of a channel.db file in safe/read-only mode
* [chantools completion](chantools_completion.md) - Generate the autocompletion script for the specified shell
* [chantools createwallet](chantools_createwallet.md) - Create a new lnd compatible wallet.db file from an existing seed or by generating a new one * [chantools createwallet](chantools_createwallet.md) - Create a new lnd compatible wallet.db file from an existing seed or by generating a new one
* [chantools deletepayments](chantools_deletepayments.md) - Remove all (failed) payments from a channel DB * [chantools deletepayments](chantools_deletepayments.md) - Remove all (failed) payments from a channel DB
* [chantools derivekey](chantools_derivekey.md) - Derive a key with a specific derivation path * [chantools derivekey](chantools_derivekey.md) - Derive a key with a specific derivation path

View file

@ -38,6 +38,7 @@ chantools chanbackup \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -53,6 +53,7 @@ chantools closepoolaccount \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -36,6 +36,7 @@ chantools compactdb \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -0,0 +1,35 @@
## chantools completion
Generate the autocompletion script for the specified shell
### Synopsis
Generate the autocompletion script for chantools for the specified shell.
See each sub-command's help for details on how to use the generated script.
### Options
```
-h, --help help for completion
```
### Options inherited from parent commands
```
--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
--testnet4 Indicates if testnet4 parameters should be used
```
### SEE ALSO
* [chantools](chantools.md) - Chantools helps recover funds from lightning channels
* [chantools completion bash](chantools_completion_bash.md) - Generate the autocompletion script for bash
* [chantools completion fish](chantools_completion_fish.md) - Generate the autocompletion script for fish
* [chantools completion powershell](chantools_completion_powershell.md) - Generate the autocompletion script for powershell
* [chantools completion zsh](chantools_completion_zsh.md) - Generate the autocompletion script for zsh

View file

@ -0,0 +1,54 @@
## chantools completion bash
Generate the autocompletion script for bash
### Synopsis
Generate the autocompletion script for the bash shell.
This script depends on the 'bash-completion' package.
If it is not installed already, you can install it via your OS's package manager.
To load completions in your current shell session:
source <(chantools completion bash)
To load completions for every new session, execute once:
#### Linux:
chantools completion bash > /etc/bash_completion.d/chantools
#### macOS:
chantools completion bash > $(brew --prefix)/etc/bash_completion.d/chantools
You will need to start a new shell for this setup to take effect.
```
chantools completion bash
```
### Options
```
-h, --help help for bash
--no-descriptions disable completion descriptions
```
### Options inherited from parent commands
```
--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
--testnet4 Indicates if testnet4 parameters should be used
```
### SEE ALSO
* [chantools completion](chantools_completion.md) - Generate the autocompletion script for the specified shell

View file

@ -0,0 +1,45 @@
## chantools completion fish
Generate the autocompletion script for fish
### Synopsis
Generate the autocompletion script for the fish shell.
To load completions in your current shell session:
chantools completion fish | source
To load completions for every new session, execute once:
chantools completion fish > ~/.config/fish/completions/chantools.fish
You will need to start a new shell for this setup to take effect.
```
chantools completion fish [flags]
```
### Options
```
-h, --help help for fish
--no-descriptions disable completion descriptions
```
### Options inherited from parent commands
```
--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
--testnet4 Indicates if testnet4 parameters should be used
```
### SEE ALSO
* [chantools completion](chantools_completion.md) - Generate the autocompletion script for the specified shell

View file

@ -0,0 +1,42 @@
## chantools completion powershell
Generate the autocompletion script for powershell
### Synopsis
Generate the autocompletion script for powershell.
To load completions in your current shell session:
chantools completion powershell | Out-String | Invoke-Expression
To load completions for every new session, add the output of the above command
to your powershell profile.
```
chantools completion powershell [flags]
```
### Options
```
-h, --help help for powershell
--no-descriptions disable completion descriptions
```
### Options inherited from parent commands
```
--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
--testnet4 Indicates if testnet4 parameters should be used
```
### SEE ALSO
* [chantools completion](chantools_completion.md) - Generate the autocompletion script for the specified shell

View file

@ -0,0 +1,56 @@
## chantools completion zsh
Generate the autocompletion script for zsh
### Synopsis
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need
to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(chantools completion zsh)
To load completions for every new session, execute once:
#### Linux:
chantools completion zsh > "${fpath[1]}/_chantools"
#### macOS:
chantools completion zsh > $(brew --prefix)/share/zsh/site-functions/_chantools
You will need to start a new shell for this setup to take effect.
```
chantools completion zsh [flags]
```
### Options
```
-h, --help help for zsh
--no-descriptions disable completion descriptions
```
### Options inherited from parent commands
```
--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
--testnet4 Indicates if testnet4 parameters should be used
```
### SEE ALSO
* [chantools completion](chantools_completion.md) - Generate the autocompletion script for the specified shell

View file

@ -38,6 +38,7 @@ chantools createwallet \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -39,6 +39,7 @@ chantools deletepayments --failedonly \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -41,6 +41,7 @@ chantools derivekey --identity
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -45,6 +45,7 @@ chantools doublespendinputs \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -49,6 +49,7 @@ chantools dropchannelgraph \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -40,6 +40,7 @@ chantools dropgraphzombies \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -36,6 +36,7 @@ chantools dumpbackup \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -36,6 +36,7 @@ chantools dumpchannels \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -61,7 +61,7 @@ chantools fakechanbackup --from_channel_graph lncli_describegraph.json \
--channelpoint string funding transaction outpoint of the channel to rescue (<txid>:<txindex>) as it is displayed on 1ml.com --channelpoint string funding transaction outpoint of the channel to rescue (<txid>:<txindex>) as it is displayed on 1ml.com
--from_channel_graph string the full LN channel graph in the JSON format that the 'lncli describegraph' returns --from_channel_graph string the full LN channel graph in the JSON format that the 'lncli describegraph' returns
-h, --help help for fakechanbackup -h, --help help for fakechanbackup
--multi_file string the fake channel backup file to create (default "results/fake-2025-07-06-14-25-48.backup") --multi_file string the fake channel backup file to create (default "./results/fake-2026-03-04-07-03-26.backup")
--remote_node_addr string the remote node connection information in the format pubkey@host:port --remote_node_addr string the remote node connection information in the format pubkey@host:port
--rootkey string BIP32 HD root key of the wallet to use for encrypting the backup; leave empty to prompt for lnd 24 word aezeed --rootkey string BIP32 HD root key of the wallet to use for encrypting the backup; leave empty to prompt for lnd 24 word aezeed
--short_channel_id string the short channel ID in the format <blockheight>x<transactionindex>x<outputindex> --short_channel_id string the short channel ID in the format <blockheight>x<transactionindex>x<outputindex>
@ -76,6 +76,7 @@ chantools fakechanbackup --from_channel_graph lncli_describegraph.json \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -38,6 +38,7 @@ chantools filterbackup \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -39,6 +39,7 @@ chantools fixoldbackup \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -56,6 +56,7 @@ chantools forceclose \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -62,6 +62,7 @@ chantools genimportscript --format bitcoin-cli \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -39,6 +39,7 @@ chantools migratedb \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -44,6 +44,7 @@ chantools pullanchor \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -47,6 +47,7 @@ chantools recoverloopin \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -41,6 +41,7 @@ chantools removechannel \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -73,6 +73,7 @@ chantools rescueclosed --fromsummary results/summary-xxxxxx.json \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -61,6 +61,7 @@ chantools rescuefunding \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -40,6 +40,7 @@ chantools rescuetweakedkey \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -33,6 +33,7 @@ chantools scbforceclose --multi_file channel.backup
``` ```
--apiurl string API URL to use (must be esplora compatible) (default "https://api.node-recovery.com") --apiurl string API URL to use (must be esplora compatible) (default "https://api.node-recovery.com")
--bip39 read a classic BIP39 seed and passphrase from the terminal instead of asking for lnd seed format or providing the --rootkey flag --bip39 read a classic BIP39 seed and passphrase from the terminal instead of asking for lnd seed format or providing the --rootkey flag
--channel_point string a single channel point of a channel to force close, in case a multi backup or multi file was provided but not all channels should be force-closed
-h, --help help for scbforceclose -h, --help help for scbforceclose
--multi_backup string a hex encoded multi-channel backup obtained from exportchanbackup for force-closing channels --multi_backup string a hex encoded multi-channel backup obtained from exportchanbackup for force-closing channels
--multi_file string the path to a single-channel backup file (channel.backup) --multi_file string the path to a single-channel backup file (channel.backup)
@ -51,6 +52,7 @@ chantools scbforceclose --multi_file channel.backup
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -35,6 +35,7 @@ chantools showrootkey
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -35,6 +35,7 @@ chantools signmessage --msg=foobar
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -40,6 +40,7 @@ chantools signpsbt --fromrawpsbtfile <file_with_psbt>
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -41,6 +41,7 @@ chantools signrescuefunding \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -41,6 +41,7 @@ chantools summary --fromchanneldb ~/.lnd/data/graph/mainnet/channel.db
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -55,6 +55,7 @@ chantools sweepremoteclosed \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -53,6 +53,7 @@ chantools sweeptimelock \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -75,6 +75,7 @@ chantools sweeptimelockmanual \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -44,6 +44,7 @@ chantools triggerforceclose \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -46,6 +46,7 @@ chantools vanitygen --prefix 022222 --threads 8
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -43,6 +43,7 @@ chantools walletinfo --withrootkey \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -32,6 +32,7 @@ chantools zombierecovery [flags]
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -41,6 +41,7 @@ chantools zombierecovery findmatches \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -47,6 +47,7 @@ chantools zombierecovery makeoffer \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -43,6 +43,7 @@ chantools zombierecovery preparekeys \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO

View file

@ -40,6 +40,7 @@ chantools zombierecovery signoffer \
--resultsdir string Directory where results should be stored (default "./results") --resultsdir string Directory where results should be stored (default "./results")
-s, --signet Indicates if the public signet parameters should be used -s, --signet Indicates if the public signet parameters should be used
-t, --testnet Indicates if testnet parameters should be used -t, --testnet Indicates if testnet parameters should be used
--testnet4 Indicates if testnet4 parameters should be used
``` ```
### SEE ALSO ### SEE ALSO