diff --git a/doc/chantools_fakechanbackup.md b/doc/chantools_fakechanbackup.md index 8024238..c48773b 100644 --- a/doc/chantools_fakechanbackup.md +++ b/doc/chantools_fakechanbackup.md @@ -61,7 +61,7 @@ chantools fakechanbackup --from_channel_graph lncli_describegraph.json \ --channelpoint string funding transaction outpoint of the channel to rescue (:) 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 -h, --help help for fakechanbackup - --multi_file string the fake channel backup file to create (default "results/fake-2021-08-29-22-04-34.backup") + --multi_file string the fake channel backup file to create (default "results/fake-2021-11-11-13-31-59.backup") --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 --short_channel_id string the short channel ID in the format xx diff --git a/doc/chantools_rescuefunding.md b/doc/chantools_rescuefunding.md index bdc54dd..9345f50 100644 --- a/doc/chantools_rescuefunding.md +++ b/doc/chantools_rescuefunding.md @@ -24,7 +24,14 @@ chantools rescuefunding [flags] ``` chantools rescuefunding \ --channeldb ~/.lnd/data/graph/mainnet/channel.db \ - --channelpoint xxxxxxx:xx \ + --dbchannelpoint xxxxxxx:xx \ + --sweepaddr bc1qxxxxxxxxx \ + --feerate 10 + +chantools rescuefunding \ + --confirmedchannelpoint xxxxxxx:xx \ + --localkeyindex x \ + --remotepubkey 0xxxxxxxxxxxxxxxx \ --sweepaddr bc1qxxxxxxxxx \ --feerate 10 ``` @@ -32,12 +39,15 @@ chantools rescuefunding \ ### Options ``` + --apiurl string API URL to use (must be esplora compatible) (default "https://blockstream.info/api") --bip39 read a classic BIP39 seed and passphrase from the terminal instead of asking for lnd seed format or providing the --rootkey flag --channeldb string lnd channel.db file to rescue a channel from; must contain the pending channel specified with --channelpoint - --channelpoint string funding transaction outpoint of the channel to rescue (:) as it is recorded in the DB - --confirmedchannelpoint string channel outpoint that got confirmed on chain (:); normally this is the same as the --channelpoint so it will be set to that value ifthis is left empty + --confirmedchannelpoint string channel outpoint that got confirmed on chain (:); normally this is the same as the --dbchannelpoint so it will be set to that value ifthis is left empty + --dbchannelpoint string funding transaction outpoint of the channel to rescue (:) as it is recorded in the DB --feerate uint16 fee rate to use for the sweep transaction in sat/vByte (default 30) -h, --help help for rescuefunding + --localkeyindex uint32 in case a channel DB is not available (but perhaps a channel backup file), the derivation index of the local multisig public key can be specified manually + --remotepubkey string in case a channel DB is not available (but perhaps a channel backup file), the remote multisig public key can be specified manually --rootkey string BIP32 HD root key of the wallet to use for deriving keys; leave empty to prompt for lnd 24 word aezeed --sweepaddr string address to sweep the funds to ```