Class: Lightning::Configuration
- Inherits:
-
Object
- Object
- Lightning::Configuration
- Defined in:
- lib/lightning/config.rb
Overview
The configuration class holding all configuration variables.
Instance Attribute Summary collapse
-
#certificate_path ⇒ Object
Full path to your certificate file (default: ~/.lnd/tls.cert).
-
#grcp_host ⇒ Object
Host/IP to your nodes server (default: 127.0.0.1).
-
#grcp_port ⇒ Object
gRCP port used by LND (default: 10009).
-
#macaroon_path ⇒ Object
Full path to your macaroon file (default: ~/.lnd/data/chain/bitcoin/mainnet/admin.macaroon).
Instance Attribute Details
#certificate_path ⇒ Object
Full path to your certificate file (default: ~/.lnd/tls.cert)
38 39 40 |
# File 'lib/lightning/config.rb', line 38 def certificate_path @certificate_path end |
#grcp_host ⇒ Object
Host/IP to your nodes server (default: 127.0.0.1)
28 29 30 |
# File 'lib/lightning/config.rb', line 28 def grcp_host @grcp_host end |
#grcp_port ⇒ Object
gRCP port used by LND (default: 10009)
31 32 33 |
# File 'lib/lightning/config.rb', line 31 def grcp_port @grcp_port end |
#macaroon_path ⇒ Object
Full path to your macaroon file (default: ~/.lnd/data/chain/bitcoin/mainnet/admin.macaroon)
35 36 37 |
# File 'lib/lightning/config.rb', line 35 def macaroon_path @macaroon_path end |