Packages

object LndConfig extends ConfigFactory[LndConfig] with BitcoinSLogger with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LndConfig
  2. Serializable
  3. BitcoinSLogger
  4. ConfigFactory
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DEFAULT_CONF_FILE: File

    Default location of lnd conf file

    Default location of lnd conf file

    Definition Classes
    LndConfigConfigFactory
  5. val DEFAULT_DATADIR: File
    Definition Classes
    LndConfigConfigFactory
  6. def apply(config: File, datadir: File = DEFAULT_DATADIR): LndConfig

    Reads the given file and construct a lnd config from it

    Reads the given file and construct a lnd config from it

    Definition Classes
    LndConfigConfigFactory
  7. def apply(config: Path): LndConfig

    Reads the given path and construct a lnd config from it

    Reads the given path and construct a lnd config from it

    Definition Classes
    LndConfigConfigFactory
  8. def apply(config: String, datadir: File): LndConfig

    Constructs a lnd config from the given string, by splitting it on newlines

    Constructs a lnd config from the given string, by splitting it on newlines

    Definition Classes
    LndConfigConfigFactory
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. lazy val empty: LndConfig

    The empty lnd config

    The empty lnd config

    Definition Classes
    LndConfigConfigFactory
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def fromConfigFile(file: File): LndConfig
    Definition Classes
    LndConfigConfigFactory
  16. def fromDataDir(dir: File): LndConfig
    Definition Classes
    LndConfigConfigFactory
  17. 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
    LndConfigConfigFactory
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def logger: Logger
    Definition Classes
    BitcoinSLogger
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. 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
    LndConfigConfigFactory

Inherited from Serializable

Inherited from BitcoinSLogger

Inherited from ConfigFactory[LndConfig]

Inherited from AnyRef

Inherited from Any

Ungrouped