diff --git a/INSTALL.md b/INSTALL.md index 8cc33042..b5dab523 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -104,8 +104,7 @@ Here some parameters you might want to change: - **lnd_cert_file**: path to tls.cert file - **lnd_macaroon_file**: path to macaroon file -- **lnd_grpc_port**: lnd gRPC port -- **lnd_grpc_host**: lnd gRPC host +- **lnd_grpc_host**: lnd gRPC host and port - **nsec_privkey** : Your mostro private key - **relays** : List of relays you want to connect to diff --git a/README.md b/README.md index fe442bdb..11bdce6a 100644 --- a/README.md +++ b/README.md @@ -82,9 +82,7 @@ _lnd_cert_file:_ LND node TLS certificate file path. _lnd_macaroon_file:_ Macaroon file path, the macaroon file contains permission for doing actions on the lnd node. -_lnd_grpc_host:_ IP address or domain name from the LND node, example: `127.0.0.1`. - -_lnd_grpc_port:_ LND node port to connect, example: `10009`. +_lnd_grpc_host:_ IP address or domain name from the LND node and port, example: `https://127.0.0.1:10009`. ### Database diff --git a/docker/settings.docker.toml b/docker/settings.docker.toml index 71c73417..51858b33 100644 --- a/docker/settings.docker.toml +++ b/docker/settings.docker.toml @@ -3,8 +3,8 @@ lnd_cert_file = '/lnd/alice/tls.cert' # path to macaroon file lnd_macaroon_file = '/lnd/alice/data/chain/bitcoin/regtest/admin.macaroon' -lnd_grpc_port = 10001 -lnd_grpc_host = '127.0.0.1' +# lnd grpc host and port +lnd_grpc_host = 'https://127.0.0.1:10001' # lightning invoices sent by the buyer to Mostro should have at least # this expiration time in seconds invoice_expiration_window = 3600 diff --git a/settings.tpl.toml b/settings.tpl.toml index 1b3591a0..361445b5 100644 --- a/settings.tpl.toml +++ b/settings.tpl.toml @@ -3,8 +3,8 @@ lnd_cert_file = '/home/user/.polar/networks/1/volumes/lnd/alice/tls.cert' # path to macaroon file lnd_macaroon_file = '/home/user/.polar/networks/1/volumes/lnd/alice/data/chain/bitcoin/regtest/admin.macaroon' -lnd_grpc_port = 10001 -lnd_grpc_host = '127.0.0.1' +# lnd grpc host and port +lnd_grpc_host = 'https://127.0.0.1:10001' # lightning invoices sent by the buyer to Mostro should have at least # this expiration time in seconds invoice_expiration_window = 3600 diff --git a/src/cli/settings.rs b/src/cli/settings.rs index 297b63cf..99c32f91 100644 --- a/src/cli/settings.rs +++ b/src/cli/settings.rs @@ -60,7 +60,6 @@ pub struct Lightning { pub lnd_cert_file: String, pub lnd_macaroon_file: String, pub lnd_grpc_host: String, - pub lnd_grpc_port: u32, pub invoice_expiration_window: u32, pub hold_invoice_cltv_delta: u32, pub hold_invoice_expiration_window: u32,