object BitcoindConfig extends ConfigFactory[BitcoindConfig] with BitcoinSLogger with Serializable
- Alphabetic
- By Inheritance
- BitcoindConfig
- 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 bitcoind conf file
Default location of bitcoind conf file
- Definition Classes
- BitcoindConfig → ConfigFactory
- val DEFAULT_DATADIR: File
- Definition Classes
- BitcoindConfig → ConfigFactory
- See also
https://en.bitcoin.it/wiki/Data_directory
- def apply(config: File, datadir: File = DEFAULT_DATADIR): BitcoindConfig
Reads the given file and construct a
bitcoind
config from itReads the given file and construct a
bitcoind
config from it- Definition Classes
- BitcoindConfig → ConfigFactory
- def apply(config: Path): BitcoindConfig
Reads the given path and construct a
bitcoind
config from itReads the given path and construct a
bitcoind
config from it- Definition Classes
- BitcoindConfig → ConfigFactory
- def apply(config: String, datadir: File): BitcoindConfig
Constructs a
bitcoind
config from the given string, by splitting it on newlinesConstructs a
bitcoind
config from the given string, by splitting it on newlines- Definition Classes
- BitcoindConfig → 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: BitcoindConfig
The empty
bitcoind
configThe empty
bitcoind
config- Definition Classes
- BitcoindConfig → 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): BitcoindConfig
- Definition Classes
- BitcoindConfig → ConfigFactory
- def fromDataDir(dir: File): BitcoindConfig
- Definition Classes
- BitcoindConfig → ConfigFactory
- def fromDefaultDatadir: BitcoindConfig
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.- Definition Classes
- BitcoindConfig → 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: BitcoindConfig, 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
- BitcoindConfig → ConfigFactory