object LndConfig extends ConfigFactory[LndConfig] with BitcoinSLogger with Serializable
- Alphabetic
- By Inheritance
- LndConfig
- Serializable
- BitcoinSLogger
- ConfigFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DEFAULT_CONF_FILE: File
Default location of lnd conf file
Default location of lnd conf file
- Definition Classes
- LndConfig → ConfigFactory
- val DEFAULT_DATADIR: File
- Definition Classes
- LndConfig → ConfigFactory
- def apply(config: File, datadir: File = DEFAULT_DATADIR): LndConfig
Reads the given file and construct a
lnd
config from itReads the given file and construct a
lnd
config from it- Definition Classes
- LndConfig → ConfigFactory
- def apply(config: Path): LndConfig
Reads the given path and construct a
lnd
config from itReads the given path and construct a
lnd
config from it- Definition Classes
- LndConfig → ConfigFactory
- def apply(config: String, datadir: File): LndConfig
Constructs a
lnd
config from the given string, by splitting it on newlinesConstructs a
lnd
config from the given string, by splitting it on newlines- Definition Classes
- LndConfig → ConfigFactory
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val empty: LndConfig
The empty
lnd
configThe empty
lnd
config- Definition Classes
- LndConfig → ConfigFactory
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromConfigFile(file: File): LndConfig
- Definition Classes
- LndConfig → ConfigFactory
- def fromDataDir(dir: File): LndConfig
- Definition Classes
- LndConfig → ConfigFactory
- def fromDefaultDatadir: LndConfig
If there is a
lnd.conf
in the default data directory, this is read.If there is a
lnd.conf
in the default data directory, this is read. Otherwise, the default configuration is returned.- Definition Classes
- LndConfig → ConfigFactory
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def writeConfigToFile(config: LndConfig, datadir: File): Path
Writes the config to the data directory within it, if it doesn't exist.
Writes the config to the data directory within it, if it doesn't exist. Returns the written file.
- Definition Classes
- LndConfig → ConfigFactory