Packages

case class BitcoindRpcAppConfig(baseDatadir: Path, configOverrides: Vector[Config], authCredentinalsOpt: Option[BitcoindAuthCredentials])(implicit system: ActorSystem) extends AppConfig with CallbackConfig[BitcoindCallbacks] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitcoindRpcAppConfig
  2. Serializable
  3. Product
  4. Equals
  5. CallbackConfig
  6. AppConfig
  7. BitcoinSLogger
  8. StartStopAsync
  9. StartStop
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BitcoindRpcAppConfig(baseDatadir: Path, configOverrides: Vector[Config], authCredentinalsOpt: Option[BitcoindAuthCredentials])(implicit system: ActorSystem)

Type Members

  1. type ConfigType = BitcoindRpcAppConfig

    Sub members of AppConfig should override this type with the type of themselves, ensuring withOverrides return the correct type

    Sub members of AppConfig should override this type with the type of themselves, ensuring withOverrides return the correct type

    Attributes
    protected[bitcoins]
    Definition Classes
    BitcoindRpcAppConfigAppConfig

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. lazy val DEFAULT_BINARY_PATH: Option[File]
  5. def addCallbacks(newCallbacks: BitcoindCallbacks): BitcoindCallbacks
    Definition Classes
    CallbackConfig
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. lazy val authCredentials: BitcoindAuthCredentials
  8. val authCredentinalsOpt: Option[BitcoindAuthCredentials]
  9. val baseDatadir: Path

    The base data directory.

    The base data directory. This is where we look for a configuration file

    Definition Classes
    BitcoindRpcAppConfigAppConfig
  10. lazy val binaryOpt: Option[File]
  11. lazy val bitcoindDataDir: File
  12. lazy val bitcoindInstance: BitcoindInstance
  13. def callBacks: BitcoindCallbacks
    Definition Classes
    CallbackConfig
  14. def callbackFactory: CallbackFactory[BitcoindCallbacks]
    Definition Classes
    BitcoindRpcAppConfigCallbackConfig
  15. lazy val chain: BitcoinChainParams

    Chain parameters for the blockchain we're on

    Chain parameters for the blockchain we're on

    Definition Classes
    AppConfig
  16. def clearCallbacks(): Unit

    Clears all callbacks

    Clears all callbacks

    Definition Classes
    CallbackConfig
  17. lazy val clientF: Future[BitcoindRpcClient]

    Creates a bitcoind rpc client based on the bitcoindInstance configured

  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  19. lazy val config: Config
    Attributes
    protected
    Definition Classes
    AppConfig
  20. def configFileName: String
    Definition Classes
    AppConfig
  21. val configOverrides: Vector[Config]

    List of user-provided configs that should override defaults

    List of user-provided configs that should override defaults

    Definition Classes
    BitcoindRpcAppConfigAppConfig
  22. lazy val datadir: Path

    The network specific data directory.

    The network specific data directory.

    Definition Classes
    AppConfig
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def getConfigString(path: String): String
    Definition Classes
    AppConfig
  27. def getConfigStringOpt(path: String): Option[String]
    Definition Classes
    AppConfig
  28. lazy val host: URI
  29. def isCallbackEmpty: Boolean
    Definition Classes
    CallbackConfig
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. lazy val isRemote: Boolean
  32. def logger: Logger
    Definition Classes
    BitcoinSLogger
  33. def moduleName: String

    Name of the module.

    Name of the module. chain, wallet, node etc.

    Attributes
    protected[bitcoins]
    Definition Classes
    BitcoindRpcAppConfigAppConfig
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. lazy val network: BitcoinNetwork

    The blockchain network we're on

    The blockchain network we're on

    Definition Classes
    AppConfig
  36. def newConfigOfType(configs: Vector[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
    BitcoindRpcAppConfigAppConfig
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. lazy val port: Int
  40. def productElementNames: Iterator[String]
    Definition Classes
    Product
  41. def replaceCallbacks(newCallbacks: BitcoindCallbacks): BitcoindCallbacks
    Definition Classes
    CallbackConfig
  42. lazy val rpcHost: URI
  43. lazy val rpcPassword: Option[String]
  44. lazy val rpcPort: Int
  45. lazy val rpcUri: URI
  46. lazy val rpcUser: Option[String]
  47. lazy val socks5ProxyParams: Option[Socks5ProxyParams]
  48. 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
    BitcoindRpcAppConfigAppConfigStartStop
  49. def stop(): Future[Unit]
    Definition Classes
    BitcoindRpcAppConfigStartStop
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. implicit val system: ActorSystem
  52. lazy val torConf: TorAppConfig
  53. lazy val uri: URI
  54. lazy val versionOpt: Option[BitcoindVersion]
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. def withOverrides(configOverrides: Vector[Config]): ConfigType

    This method returns a new AppConfig, where every key under bitcoin-s overrides the configuration picked up by other means (the reference.conf provided by bitcoin-s and the application.conf provided by the user).

    This method returns a new AppConfig, where every key under bitcoin-s overrides the configuration picked up by other means (the reference.conf provided by bitcoin-s and the application.conf provided by the user). If you pass in configs with overlapping keys (e.g. several configs with the key bitcoin-s.network), the latter config overrides the first.

    Definition Classes
    AppConfig
  59. def withOverrides(configOverrides: Config): ConfigType
    Definition Classes
    AppConfig
  60. lazy val zmqConfig: ZmqConfig
  61. lazy val zmqHashBlock: Option[InetSocketAddress]
  62. lazy val zmqHashTx: Option[InetSocketAddress]
  63. lazy val zmqRawBlock: Option[InetSocketAddress]
  64. lazy val zmqRawTx: Option[InetSocketAddress]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AppConfig

Inherited from BitcoinSLogger

Inherited from StartStopAsync[Unit]

Inherited from StartStop[Future[Unit]]

Inherited from AnyRef

Inherited from Any

Ungrouped