Packages

object CLightningConfig extends ConfigFactory[CLightningConfig] with Logging with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CLightningConfig
  2. Serializable
  3. Logging
  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
    CLightningConfig → ConfigFactory
  5. val DEFAULT_DATADIR: File
    Definition Classes
    CLightningConfig → ConfigFactory
  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
    CLightningConfig → ConfigFactory
  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
    CLightningConfig → ConfigFactory
  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
    CLightningConfig → ConfigFactory
  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. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  13. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  14. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  15. lazy val empty: CLightningConfig

    The empty lightning config

    The empty lightning config

    Definition Classes
    CLightningConfig → ConfigFactory
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  19. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. def fromConfigFile(file: File): CLightningConfig
    Definition Classes
    CLightningConfig → ConfigFactory
  23. def fromDataDir(dir: File): CLightningConfig
    Definition Classes
    CLightningConfig → ConfigFactory
  24. 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
    CLightningConfig → ConfigFactory
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  31. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  32. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  35. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  36. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  37. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. def networkToConfigString(network: BitcoinNetwork): String
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. def stringToNetwork(string: String): BitcoinNetwork
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  51. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. 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
    CLightningConfig → ConfigFactory

Inherited from Serializable

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped