FAQ.cl: correct rescan intructions

This commit is contained in:
openoms 2021-12-18 02:34:24 +00:00
parent 681e8c98bd
commit c1d64125af
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -105,7 +105,7 @@ or with the alias: `cllog`
### All possible config settings ### All possible config settings
* can be shown by running: * can be shown by running:
`lightningd --help` `lightningd --help`
* Place the settings in the config file without the `--` and restart lightningd * To persist the setings place the options in the config file without the `--` and restart lightningd
``` ```
Usage: lightningd Usage: lightningd
A bitcoin lightning daemon (default values shown for network: bitcoin). A bitcoin lightning daemon (default values shown for network: bitcoin).
@ -596,9 +596,20 @@ To display it as text:
``` ```
sudo systemctl stop lightningd sudo systemctl stop lightningd
``` ```
An ungraceful method:
```
sudo killall ligthningd
* Rescan from the block 700000 * Rescan from the block 700000
``` ```
sudo -u bitcoin lightningd --rescan=700000 sudo -u bitcoin lightningd --rescan -700000 --log-level debug
```
* Rescan the last 1000 blocks:
```
sudo -u bitcoin lightningd --rescan 1000 --log-level debug
```
* can monitor in a new window using the shortcut:
```
cllog
``` ```
## Update ## Update