mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-18 14:24:21 +01:00
remove unnecessary cln flags
This commit is contained in:
@@ -235,7 +235,6 @@ Resources:
|
||||
lsp-listen=127.0.0.1:12312
|
||||
max-concurrent-htlcs=30
|
||||
dev-allowdustreserve=true
|
||||
allow-deprecated-apis=true
|
||||
log-file=/var/log/lightningd/lightningd.log
|
||||
EOL
|
||||
chmod 755 /etc/lightningd/
|
||||
|
||||
@@ -166,7 +166,6 @@ plugin=/home/lightning/.lightning/plugins/lspd_cln_plugin
|
||||
lsp-listen=127.0.0.1:12312
|
||||
max-concurrent-htlcs=30
|
||||
dev-allowdustreserve=true
|
||||
allow-deprecated-apis=true
|
||||
log-file=/var/log/lightningd/lightningd.log
|
||||
EOL
|
||||
chmod 755 /etc/lightningd/
|
||||
|
||||
@@ -67,7 +67,6 @@ In order to run lspd on top of CLN, you need to run the lspd process and run cln
|
||||
- `--plugin=/path/to/lspd_cln_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.
|
||||
- `--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_cln_plugin will listen for lspd communication, must be the same port that is used in pluginAddress parameter in NODES env variable.
|
||||
1. Run lspd
|
||||
|
||||
|
||||
@@ -91,7 +91,6 @@ func newClnBreezClient(h *lntest.TestHarness, m *lntest.Miner, name string) Bree
|
||||
// reserve channel. Relevant code:
|
||||
// https://github.com/ElementsProject/lightning/blob/774d16a72e125e4ae4e312b9e3307261983bec0e/openingd/openingd.c#L481-L520
|
||||
"--max-concurrent-htlcs=30",
|
||||
"--experimental-anchors",
|
||||
"--developer",
|
||||
)
|
||||
|
||||
|
||||
@@ -61,8 +61,6 @@ func NewClnLspdNode(h *lntest.TestHarness, m *lntest.Miner, mem *mempoolApi, nam
|
||||
fmt.Sprintf("--cltv-delta=%d", lspCltvDelta),
|
||||
"--max-concurrent-htlcs=30",
|
||||
"--dev-allowdustreserve=true",
|
||||
"--allow-deprecated-apis=true",
|
||||
"--experimental-anchors",
|
||||
"--developer",
|
||||
}
|
||||
lightningNode := lntest.NewClnNode(h, m, name, args...)
|
||||
|
||||
Reference in New Issue
Block a user