Class: Lightning::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/lightning/config.rb

Overview

The configuration class holding all configuration variables.

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_pathObject

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_hostObject

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_portObject

gRCP port used by LND (default: 10009)



31
32
33
# File 'lib/lightning/config.rb', line 31

def grcp_port
  @grcp_port
end

#macaroon_pathObject

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