Packages

case class TorAppConfig(baseDatadir: Path, subModuleNameOpt: Option[String], configOverrides: Vector[Config])(implicit ec: ExecutionContext) extends AppConfig with CallbackConfig[TorCallbacks] with Product with Serializable

Configuration for the Bitcoin-S node

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

Instance Constructors

  1. new TorAppConfig(baseDatadir: Path, subModuleNameOpt: Option[String], configOverrides: Vector[Config])(implicit ec: ExecutionContext)

Type Members

  1. type ConfigType = TorAppConfig

    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
    TorAppConfigAppConfig

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. def addCallbacks(newCallbacks: TorCallbacks): TorCallbacks
    Definition Classes
    CallbackConfig
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val baseDatadir: Path

    The base data directory.

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

    Definition Classes
    TorAppConfigAppConfig
  7. def callBacks: TorCallbacks
    Definition Classes
    CallbackConfig
  8. lazy val callbackFactory: TorCallbacks.type
    Definition Classes
    TorAppConfigCallbackConfig
  9. lazy val chain: BitcoinChainParams

    Chain parameters for the blockchain we're on

    Chain parameters for the blockchain we're on

    Definition Classes
    AppConfig
  10. def clearCallbacks(): Unit

    Clears all callbacks

    Clears all callbacks

    Definition Classes
    CallbackConfig
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. lazy val config: Config
    Attributes
    protected
    Definition Classes
    AppConfig
  13. def configFileName: String
    Definition Classes
    AppConfig
  14. val configOverrides: Vector[Config]

    List of user-provided configs that should override defaults

    List of user-provided configs that should override defaults

    Definition Classes
    TorAppConfigAppConfig
  15. def createClient(implicit ec: ExecutionContext): TorClient
  16. lazy val datadir: Path

    The network specific data directory.

    The network specific data directory.

    Definition Classes
    AppConfig
  17. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  19. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. lazy val enabled: Boolean
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def getConfigString(path: String): String
    Definition Classes
    AppConfig
  28. def getConfigStringOpt(path: String): Option[String]
    Definition Classes
    AppConfig
  29. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def isCallbackEmpty: Boolean
    Definition Classes
    CallbackConfig
  33. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  34. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  35. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  38. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  39. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  40. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  41. def moduleName: String

    Name of the module.

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

    Attributes
    protected[bitcoins]
    Definition Classes
    TorAppConfigAppConfig
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. lazy val network: BitcoinNetwork

    The blockchain network we're on

    The blockchain network we're on

    Definition Classes
    AppConfig
  44. def newConfigOfType(configs: Vector[Config]): TorAppConfig

    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
    TorAppConfigAppConfig
  45. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. def productElementNames: Iterator[String]
    Definition Classes
    Product
  48. def replaceCallbacks(newCallbacks: TorCallbacks): TorCallbacks
    Definition Classes
    CallbackConfig
  49. lazy val socks5ProxyParams: Option[Socks5ProxyParams]
  50. def start(): Future[Unit]

    Ensures correct tables and other required information is in place for our node.

    Ensures correct tables and other required information is in place for our node.

    Definition Classes
    TorAppConfigAppConfigStartStop
  51. def stop(): Future[Unit]
    Definition Classes
    TorAppConfigStartStop
  52. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  53. lazy val targets: Vector[InetSocketAddress]
  54. lazy val torDir: Path
  55. lazy val torLogFile: Path
  56. lazy val torParams: Option[TorParams]
  57. lazy val torProvided: Boolean
  58. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. lazy val useRandomPorts: Boolean
  62. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  65. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  67. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  68. 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
  69. def withOverrides(configOverrides: Config): ConfigType
    Definition Classes
    AppConfig

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AppConfig

Inherited from Logging

Inherited from StartStopAsync[Unit]

Inherited from StartStop[Future[Unit]]

Inherited from AnyRef

Inherited from Any

Ungrouped