Skip to content

Commit

Permalink
Remove lnd_grpc_port
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch committed Oct 8, 2024
1 parent 6a0eb9f commit 932a50c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
3 changes: 1 addition & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docker/settings.docker.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions settings.tpl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/cli/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 932a50c

Please sign in to comment.