Object/Class

org.bitcoins.rpc.config

BitcoindConfig

Related Docs: class BitcoindConfig | package config

Permalink

object BitcoindConfig extends BitcoinSLogger with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitcoindConfig
  2. Serializable
  3. Serializable
  4. BitcoinSLogger
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DEFAULT_CONF_FILE: File

    Permalink

    Default location of bitcoind conf file

  5. val DEFAULT_DATADIR: File

    Permalink

    See also

    https://en.bitcoin.it/wiki/Data_directory

  6. def apply(config: File, datadir: File = DEFAULT_DATADIR): BitcoindConfig

    Permalink

    Reads the given file and construct a bitcoind config from it

  7. def apply(config: Path): BitcoindConfig

    Permalink

    Reads the given path and construct a bitcoind config from it

  8. def apply(config: String, datadir: File): BitcoindConfig

    Permalink

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

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. lazy val empty: BitcoindConfig

    Permalink

    The empty bitcoind config

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fromDefaultDatadir: BitcoindConfig

    Permalink

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

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

  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. lazy val logger: Logger

    Permalink
    Definition Classes
    BitcoinSLogger
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def writeConfigToFile(config: BitcoindConfig, datadir: File): Path

    Permalink

    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.

Inherited from Serializable

Inherited from Serializable

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped