case class BitcoindRpcAppConfig(directory: Path, confs: Config*)(implicit system: ActorSystem) extends AppConfig with Product with Serializable
Configuration for a BitcoindRpcClient
- directory
The data directory of the Bitcoin-S instance
- confs
Optional sequence of configuration overrides
- Alphabetic
- By Inheritance
- BitcoindRpcAppConfig
- Serializable
- Product
- Equals
- AppConfig
- Logging
- StartStopAsync
- StartStop
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new BitcoindRpcAppConfig(directory: Path, confs: Config*)(implicit system: ActorSystem)
- directory
The data directory of the Bitcoin-S instance
- confs
Optional sequence of configuration overrides
Type Members
- type ConfigType = BitcoindRpcAppConfig
Sub members of AppConfig should override this type with the type of themselves, ensuring
withOverrides
return the correct typeSub members of AppConfig should override this type with the type of themselves, ensuring
withOverrides
return the correct type- Attributes
- protected[bitcoins]
- Definition Classes
- BitcoindRpcAppConfig → AppConfig
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
- lazy val DEFAULT_BINARY_PATH: Option[File]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val authCredentials: BitcoindAuthCredentials
- def baseDatadir: Path
The base data directory.
The base data directory. This is where we look for a configuration file
- Attributes
- protected[bitcoins]
- Definition Classes
- BitcoindRpcAppConfig → AppConfig
- lazy val binaryOpt: Option[File]
- lazy val bitcoindDataDir: File
- lazy val bitcoindInstance: BitcoindInstance
- lazy val chain: BitcoinChainParams
Chain parameters for the blockchain we're on
Chain parameters for the blockchain we're on
- Definition Classes
- AppConfig
- lazy val clientF: Future[BitcoindRpcClient]
Creates a bitcoind rpc client based on the bitcoindInstance configured
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val config: Config
- Attributes
- protected
- Definition Classes
- AppConfig
- def configOverrides: List[Config]
List of user-provided configs that should override defaults
List of user-provided configs that should override defaults
- Attributes
- protected[bitcoins]
- Definition Classes
- BitcoindRpcAppConfig → AppConfig
- lazy val datadir: Path
The network specific data directory.
The network specific data directory.
- Definition Classes
- AppConfig
- def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getConfigString(path: String): String
- Definition Classes
- AppConfig
- def getConfigStringOpt(path: String): Option[String]
- Definition Classes
- AppConfig
- lazy val host: URI
- def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def isDebugEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isErrorEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isInfoEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val isRemote: Boolean
- def isTraceEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isWarnEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
- def moduleName: String
Name of the module.
Name of the module.
chain
,wallet
,node
etc.- Attributes
- protected[bitcoins]
- Definition Classes
- BitcoindRpcAppConfig → AppConfig
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy val network: BitcoinNetwork
The blockchain network we're on
The blockchain network we're on
- Definition Classes
- AppConfig
- def newConfigOfType(configs: Seq[Config]): BitcoindRpcAppConfig
Constructor to make a new instance of this config type
Constructor to make a new instance of this config type
- Attributes
- protected[bitcoins]
- Definition Classes
- BitcoindRpcAppConfig → AppConfig
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val port: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- lazy val rpcHost: URI
- lazy val rpcPassword: Option[String]
- lazy val rpcPort: Int
- lazy val rpcUri: URI
- lazy val rpcUser: Option[String]
- lazy val socks5ProxyParams: Option[Socks5ProxyParams]
- def start(): Future[Unit]
Starts this project.
Starts this project. After this future resolves, all operations should be able to be performed correctly.
Starting may include creating database tables, making directories or files needed later or something else entirely.
- Definition Classes
- BitcoindRpcAppConfig → AppConfig → StartStop
- def stop(): Future[Unit]
- Definition Classes
- BitcoindRpcAppConfig → StartStop
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit val system: ActorSystem
- lazy val torConf: TorAppConfig
- def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- lazy val uri: URI
- lazy val versionOpt: Option[BitcoindVersion]
- 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 warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def withOverrides(config: Config, configs: Config*): ConfigType
This method returns a new
AppConfig
, where every key underbitcoin-s
overrides the configuration picked up by other means (thereference.conf
provided by bitcoin-s and theapplication.conf
provided by the user).This method returns a new
AppConfig
, where every key underbitcoin-s
overrides the configuration picked up by other means (thereference.conf
provided by bitcoin-s and theapplication.conf
provided by the user). If you pass in configs with overlapping keys (e.g. several configs with the keybitcoin-s.network
), the latter config overrides the first.- Definition Classes
- AppConfig
- lazy val zmqConfig: ZmqConfig
- lazy val zmqHashBlock: Option[InetSocketAddress]
- lazy val zmqHashTx: Option[InetSocketAddress]
- lazy val zmqRawBlock: Option[InetSocketAddress]
- lazy val zmqRawTx: Option[InetSocketAddress]