forked from lndk-org/lndk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_spec.toml
64 lines (51 loc) · 1.49 KB
/
config_spec.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[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]]
name = "cert_path"
type = "std::path::PathBuf"
optional = true
doc = "The path to LND tls certificate file. Note: the abosolute tls certificate file path is required here."
[[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."
[[param]]
name = "cert_pem"
type = "String"
optional = true
doc = "The PEM-encoded tls certificate to pass directly into LNDK."
[[param]]
name = "macaroon_hex"
type = "String"
optional = true
doc = "The hex encoded macaroon to pass directly into LNDK"
[[param]]
name = "log_dir"
type = "String"
doc = "The path to the lndk log file. By default this is stored in ~/.lndk"
[[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'."
[[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."
[[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."