You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added `clap` dependency to `ldk-server` to
support passing essential node config via CLI arguments and environment
variables.
- Implemented layered config loading: config file (full set of options) +
environment variables + CLI arguments. Env vars and CLI args override
values from the config file when present.
- Added tests for the new config loading logic.
- Updated README with usage instructions and explanation of config precedence.
Close#42
Copy file name to clipboardExpand all lines: README.md
+44-3Lines changed: 44 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,19 +38,60 @@ We welcome your feedback and contributions to help shape the future of LDK Serve
38
38
### Configuration
39
39
Refer `./ldk-server/ldk-server-config.toml` to see available configuration options.
40
40
41
+
You can configure the node via a TOML file, environment variables, or CLI arguments. All options are optional — values provided via CLI override environment variables, which override the values in the TOML file.
0 commit comments