Packages

object CLightningConfig extends ConfigFactory[CLightningConfig] with BitcoinSLogger with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CLightningConfig
  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 lightning conf file

    Default location of lightning conf file

    Definition Classes
    CLightningConfigConfigFactory
  5. val DEFAULT_DATADIR: File
    Definition Classes
    CLightningConfigConfigFactory
  6. val DEFAULT_RPC_FILE: File

    Default location of lightning rpc file

  7. def apply(config: File, datadir: File = DEFAULT_DATADIR): CLightningConfig

    Reads the given file and construct a lightning config from it

    Reads the given file and construct a lightning config from it

    Definition Classes
    CLightningConfigConfigFactory
  8. def apply(config: Path): CLightningConfig

    Reads the given path and construct a lightning config from it

    Reads the given path and construct a lightning config from it

    Definition Classes
    CLightningConfigConfigFactory
  9. def apply(config: String, datadir: File): CLightningConfig

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

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

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

    The empty lightning config

    The empty lightning config

    Definition Classes
    CLightningConfigConfigFactory
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def fromConfigFile(file: File): CLightningConfig
    Definition Classes
    CLightningConfigConfigFactory
  17. def fromDataDir(dir: File): CLightningConfig
    Definition Classes
    CLightningConfigConfigFactory
  18. def fromDefaultDatadir: CLightningConfig

    If there is a config in the default data directory, this is read.

    If there is a config in the default data directory, this is read. Otherwise, the default configuration is returned.

    Definition Classes
    CLightningConfigConfigFactory
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def logger: Logger
    Definition Classes
    BitcoinSLogger
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def networkToConfigString(network: BitcoinNetwork): String
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def stringToNetwork(string: String): BitcoinNetwork
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. def writeConfigToFile(config: CLightningConfig, 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
    CLightningConfigConfigFactory

Inherited from Serializable

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped