mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-19 14:54:22 +01:00
missing flags and systemd renaming, documentation polish
This commit is contained in:
@@ -177,7 +177,7 @@ make
|
|||||||
make install
|
make install
|
||||||
cat <<EOL | sudo tee /etc/systemd/system/lightningd.service
|
cat <<EOL | sudo tee /etc/systemd/system/lightningd.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Lightning Network Daemon (lightningd)
|
Description=Lightning Network Provider Daemon (lightningd)
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network.target
|
After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ In order to run lspd on top of CLN, you need to run the lspd process and run cln
|
|||||||
- `--plugin=/path/to/lspd_plugin`: to use lspd as plugin
|
- `--plugin=/path/to/lspd_plugin`: to use lspd as plugin
|
||||||
- `--max-concurrent-htlcs=30`: In order to use zero reserve channels on the client side, (local max_accepted_htlcs + remote max_accepted_htlcs + 2) * dust limit must be lower than the channel capacity. Reduce max-concurrent-htlcs or increase channel capacity accordingly.
|
- `--max-concurrent-htlcs=30`: In order to use zero reserve channels on the client side, (local max_accepted_htlcs + remote max_accepted_htlcs + 2) * dust limit must be lower than the channel capacity. Reduce max-concurrent-htlcs or increase channel capacity accordingly.
|
||||||
- `--dev-allowdustreserve=true`: In order to allow zero reserve on the client side (requires developer mode turned on)
|
- `--dev-allowdustreserve=true`: In order to allow zero reserve on the client side (requires developer mode turned on)
|
||||||
|
- `--allow-deprecated-apis=true`: lspd currently uses a deprecated api, so needs this flag set.
|
||||||
- `--lsp-listen=127.0.0.1:<port>`: Set on which port the lspd_plugin will listen for lspd communication, must be the same port that is used in pluginAddress parameter in NODES env variable.
|
- `--lsp-listen=127.0.0.1:<port>`: Set on which port the lspd_plugin will listen for lspd communication, must be the same port that is used in pluginAddress parameter in NODES env variable.
|
||||||
1. Run lspd
|
1. Run lspd
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ Needs to be build from source:
|
|||||||
git clone https://github.com/breez/lspd
|
git clone https://github.com/breez/lspd
|
||||||
cd lspd
|
cd lspd
|
||||||
go build . # compile lspd
|
go build . # compile lspd
|
||||||
go build -o lspd_plugin # compile lspd cln plugin
|
|
||||||
```
|
```
|
||||||
### Postgresql
|
### Postgresql
|
||||||
Lspd supports postgresql backend. Create new database and user for lspd:
|
Lspd supports postgresql backend. Create new database and user for lspd:
|
||||||
|
|||||||
Reference in New Issue
Block a user