-
Notifications
You must be signed in to change notification settings - Fork 8
/
config_spec.toml
57 lines (48 loc) · 2.04 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
[general]
env_prefix = "NOLOOKING"
conf_file_param = "conf"
conf_dir_param = "conf_dir"
doc = """
Lightning Optimizing Opening Server
This server optimizes your channel opening from a remote wallet which supports PayJoin. It enables you to open one or more channels in a single transaction from remote LND with empty wallet using sats in PayJoin-compliant wallet. This way you save one chain transaction when opening from e.g. Wasabi, Blue Wallet, BTCPayServer, or other PayJoin-supporting wallet. It's basically a user-friendly way to do PSBT funding flow.
"""
[[param]]
name = "bind_ip"
type = "std::net::Ipv4Addr"
doc = "The interface from which this server should listen (usually 127.0.0.1 or 0.0.0.0 in the case of docker)"
default = "std::net::Ipv4Addr::new(127, 0, 0, 1)"
[[param]]
name = "bind_port"
type = "u16"
doc = "nolooking HTTP port to listen on"
optional = false
[[param]]
name = "endpoint"
type = "String"
doc = "Endpoint to negotiate Pay-to-Endpoint p2ep. Used in bip21 URI as described in bip78: pj=<endpoint>"
optional = false
[[param]]
name = "lnd_address"
type = "String"
doc = "LND address in the form of https://hostname:port - hostname may be localhost"
optional = false
[[param]]
name = "lnd_cert_path"
type = "std::path::PathBuf"
doc = "Path to LND TLS certificate"
optional = false
[[param]]
name = "lnd_macaroon_path"
type = "std::path::PathBuf"
doc = "Path to LND macaroon with open channel permission"
optional = false
[[param]]
name = "tor_proxy_address"
type = "std::net::SocketAddr"
doc = "Tor proxy address for requests to .onion endpoints"
default = "std::net::SocketAddr::new(std::net::IpAddr::V4(std::net::Ipv4Addr::new(127, 0, 0, 1)), 9050)"
[[param]]
name = "danger_accept_invalid_certs"
type = "bool"
doc = "If true, accept invalid TLS certificates. **Warning**: think very carefully before using this method. If invalid certificates are trusted, PayJoin is subject to man in the middle attacks and your bitcoins can be stolen. This introduces significant vulnerabilities, and should only be used for testing purposes."
default = "false"