Skip to content

Commit

Permalink
remove unnecessary cln flags
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Mar 1, 2024
1 parent f7da028 commit b91ab0b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion deploy/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
1 change: 0 additions & 1 deletion deploy/lspd-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
1 change: 0 additions & 1 deletion docs/CLN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion itest/cln_breez_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)

Expand Down
2 changes: 0 additions & 2 deletions itest/cln_lspd_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down

0 comments on commit b91ab0b

Please sign in to comment.