2023-04-06 16:06:18 +01:00
[ general ]
conf_file_param = "conf"
[ [ param ] ]
name = "address"
type = "String"
optional = false
doc = "LND GRPC address, kindly note that the address must start with https:// ip address : port."
[ [ param ] ]
2024-05-15 13:42:32 -05:00
name = "cert_path"
2023-04-06 16:06:18 +01:00
type = "std::path::PathBuf"
2024-05-15 13:42:32 -05:00
optional = true
2023-04-06 16:06:18 +01:00
doc = "The path to LND tls certificate file. Note: the abosolute tls certificate file path is required here."
[ [ param ] ]
2024-07-19 22:28:59 -05:00
name = "cert_pem"
type = "String"
2024-05-15 13:42:32 -05:00
optional = true
2024-07-19 22:28:59 -05:00
doc = "The PEM-encoded tls certificate to pass directly into LNDK."
2023-09-27 17:12:09 -05:00
2024-05-15 13:42:32 -05:00
[ [ param ] ]
2024-07-19 22:28:59 -05:00
name = "tls_ip"
2024-05-15 13:42:32 -05:00
type = "String"
optional = true
2024-07-19 22:28:59 -05:00
doc = "Add an ip or domain to the certificate used to access the LNDK server. To add multiple ip addresses, separate each ip address with a comma. Like: '192.168.0.1,lndkisdope.org'"
2024-05-15 13:42:32 -05:00
2024-07-19 22:28:59 -05:00
[ [ param ] ]
name = "macaroon_path"
type = "std::path::PathBuf"
optional = true
doc = "The path to LND macaroon file. Note: the abosolute macaroon file path is required here."
2024-05-15 13:42:32 -05:00
[ [ param ] ]
name = "macaroon_hex"
type = "String"
optional = true
doc = "The hex encoded macaroon to pass directly into LNDK"
2024-10-25 17:11:09 -07:00
[ [ param ] ]
name = "data_dir"
type = "String"
2024-11-08 12:42:32 -03:00
doc = "The path to the lndk data directory. By default this is stored in ~/.lndk/data"
2024-10-25 17:11:09 -07:00
2023-09-27 17:12:09 -05:00
[ [ param ] ]
2024-11-11 10:25:53 -08:00
name = "log_file"
2023-09-27 17:12:09 -05:00
type = "String"
2024-11-03 10:39:43 -08:00
doc = "The path to the lndk log file. If not specified, defaults to `<data_dir>/lndk.log`."
2024-03-14 23:55:41 -05:00
[ [ param ] ]
name = "log_level"
type = "String"
optional = true
doc = "The log verbosity level. This can be set to either 'error', 'warn', 'info', 'debug' or 'trace'."
2024-05-06 06:31:34 -05:00
[ [ param ] ]
name = "grpc_host"
type = "String"
optional = true
doc = "The host the grpc server will run on. Defaults to 127.0.0.1."
[ [ param ] ]
name = "grpc_port"
type = "u16"
optional = true
doc = "The port the grpc server will run on. Defaults to 7000."
2024-07-16 09:57:08 +09:00
[ [ param ] ]
name = "skip_version_check"
type = "bool"
default = "false"
doc = "Skip checking the LND version. Otherwise, LNDK checks that the LND version is compatible with LNDK."
2024-06-18 00:00:39 -04:00
[ [ param ] ]
name = "response_invoice_timeout"
type = "u32"
optional = true
doc = "Amount of time in seconds that server waits for an offer creator to respond with an invoice. Defaults to 15s."
2024-08-23 06:23:53 +09:00
[ [ param ] ]
name = "rate_limit_count"
type = "u8"
default = "10"
doc = "The number of calls each peer is allowed to make within the rate limit period. This value determines the maximum number of requests a peer can send before being rate limited."
[ [ param ] ]
name = "rate_limit_period_secs"
type = "u64"
default = "1"
doc = "The duration of the rate limit period in seconds. This value specifies the time window over which the rate limit count is applied."