case class WalletAppConfig(directory: Path, conf: Config*)(implicit ec: ExecutionContext) extends DbAppConfig with WalletDbManagement with JdbcProfileComponent[WalletAppConfig] with DBMasterXPubApi with Product with Serializable
Configuration for the Bitcoin-S wallet
- directory
The data directory of the wallet
- conf
Optional sequence of configuration overrides
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WalletAppConfig
- Serializable
- Serializable
- Product
- Equals
- DBMasterXPubApi
- MasterXPubApi
- JdbcProfileComponent
- WalletDbManagement
- DbManagement
- DbAppConfig
- AppConfig
- Logging
- StartStopAsync
- StartStop
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
WalletAppConfig(directory: Path, conf: Config*)(implicit ec: ExecutionContext)
- directory
The data directory of the wallet
- conf
Optional sequence of configuration overrides
Type Members
-
type
ConfigType = WalletAppConfig
- Attributes
- protected[bitcoins]
- Definition Classes
- WalletAppConfig → 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
- def addCallbacks(newCallbacks: WalletCallbacks): WalletCallbacks
- lazy val addressGapLimit: Int
-
def
addressQueueSize: Int
How much elements we can have in org.bitcoins.wallet.internal.AddressHandling.addressRequestQueue before we throw an exception
-
def
addressQueueTimeout: Duration
How long we wait while generating an address in org.bitcoins.wallet.internal.AddressHandling.addressRequestQueue before we timeout
- lazy val aesPasswordOpt: Option[AesPassword]
-
lazy val
allTables: List[slick.jdbc.JdbcProfile.API.TableQuery[slick.jdbc.JdbcProfile.API.Table[_]]]
- Definition Classes
- WalletDbManagement → DbManagement
-
def
appConfig: WalletAppConfig
- Definition Classes
- WalletAppConfig → JdbcProfileComponent
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
baseDatadir: Path
- Attributes
- protected[bitcoins]
- Definition Classes
- WalletAppConfig → AppConfig
- lazy val bip39PasswordOpt: Option[String]
- lazy val bloomFalsePositiveRate: Double
-
lazy val
chain: BitcoinChainParams
- Definition Classes
- AppConfig
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
lazy val
config: Config
- Attributes
- protected
- Definition Classes
- AppConfig
-
def
configOverrides: List[Config]
- Attributes
- protected[bitcoins]
- Definition Classes
- WalletAppConfig → AppConfig
-
def
createHDWallet(nodeApi: NodeApi, chainQueryApi: ChainQueryApi, feeRateApi: FeeRateApi)(implicit ec: ExecutionContext): Future[Wallet]
Creates a wallet based on this WalletAppConfig
-
def
createSchema(createIfNotExists: Boolean)(implicit ec: ExecutionContext): Future[Unit]
- Definition Classes
- DbManagement
-
def
createTable(table: slick.jdbc.JdbcProfile.API.TableQuery[_ <: slick.jdbc.JdbcProfile.API.Table[_]], createIfNotExists: Boolean)(implicit ec: ExecutionContext): Future[Unit]
- Definition Classes
- DbManagement
-
lazy val
database: slick.jdbc.JdbcProfile.API.Database
- Definition Classes
- JdbcProfileComponent
-
lazy val
datadir: Path
- Definition Classes
- AppConfig
-
lazy val
dbConfig: DatabaseConfig[JdbcProfile]
- Definition Classes
- JdbcProfileComponent
-
lazy val
dbHost: String
- Definition Classes
- DbAppConfig
-
lazy val
dbName: String
- Definition Classes
- DbAppConfig
-
lazy val
dbPath: Path
- Definition Classes
- WalletAppConfig → DbAppConfig
-
lazy val
dbPort: Int
- Definition Classes
- DbAppConfig
-
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
- lazy val defaultAccount: HDAccount
- lazy val defaultAccountKind: HDPurpose
- lazy val defaultAddressType: AddressType
- lazy val discoveryBatchSize: Int
-
lazy val
driver: DatabaseDriver
- Definition Classes
- DbAppConfig
-
def
dropAll()(implicit ec: ExecutionContext): Future[Unit]
- Definition Classes
- DbManagement
-
def
dropTable(tableName: String)(implicit ec: ExecutionContext): Future[Int]
- Definition Classes
- DbManagement
-
def
dropTable(table: slick.jdbc.JdbcProfile.API.TableQuery[slick.jdbc.JdbcProfile.API.Table[_]]): Future[Unit]
- Definition Classes
- DbManagement
-
implicit
val
ec: ExecutionContext
- Definition Classes
- WalletAppConfig → WalletDbManagement
-
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
- lazy val feeProviderNameOpt: Option[String]
- lazy val feeProviderTargetOpt: Option[Int]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getConfigString(path: String): String
- Definition Classes
- AppConfig
-
def
getConfigStringOpt(path: String): Option[String]
- Definition Classes
- AppConfig
-
def
hasWallet()(implicit walletConf: WalletAppConfig, ec: ExecutionContext): Future[Boolean]
Checks if the following exist
Checks if the following exist
- A seed exists 2. wallet exists 3. The account exists
-
lazy val
hikariLoggingInterval: Option[Duration]
- Definition Classes
- DbAppConfig
-
def
info(): MigrationInfoService
- Definition Classes
- DbManagement
-
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
-
lazy val
isHikariLoggingEnabled: Boolean
- Definition Classes
- DbAppConfig
-
def
isInfoEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
isWarnEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
lazy val
jdbcUrl: String
- Definition Classes
- DbAppConfig
- lazy val kmConf: KeyManagerAppConfig
- def kmParams: KeyManagerParams
-
def
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
migrate(): Int
- Definition Classes
- DbManagement
-
def
migrationsApplied(): Int
- Definition Classes
- DbManagement
-
def
moduleName: String
- Attributes
- protected[bitcoins]
- Definition Classes
- WalletAppConfig → AppConfig
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
lazy val
network: BitcoinNetwork
- Definition Classes
- AppConfig
-
def
newConfigOfType(configs: Seq[Config]): WalletAppConfig
- Attributes
- protected[bitcoins]
- Definition Classes
- WalletAppConfig → AppConfig
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
lazy val
numThreads: Int
- Definition Classes
- JdbcProfileComponent
-
lazy val
password: String
- Definition Classes
- JdbcProfileComponent
-
lazy val
profile: JdbcProfile
- Definition Classes
- JdbcProfileComponent
- lazy val rebroadcastFrequency: Duration
- lazy val requiredConfirmations: Int
-
lazy val
schemaName: Option[String]
- Definition Classes
- WalletAppConfig → DbAppConfig
-
def
seedExists()(implicit ec: ExecutionContext): Future[Boolean]
- Definition Classes
- DBMasterXPubApi → MasterXPubApi
-
lazy val
seedPath: Path
The path to our encrypted mnemonic seed
The path to our encrypted mnemonic seed
- Definition Classes
- WalletAppConfig → DBMasterXPubApi
-
lazy val
slickDbConfig: DatabaseConfig[JdbcProfile]
- Definition Classes
- DbAppConfig
-
def
start(): Future[Unit]
- Definition Classes
- WalletAppConfig → AppConfig → StartStop
-
def
startHikariLogger(interval: Duration): HikariLogging
- Attributes
- protected
- Definition Classes
- JdbcProfileComponent
-
def
startRebroadcastTxsScheduler(wallet: Wallet): Unit
Starts the wallet's rebroadcast transaction scheduler
-
def
stop(): Future[Unit]
- Definition Classes
- WalletAppConfig → DbAppConfig → StartStop
-
def
stopHikariLogger(): Unit
- Attributes
- protected
- Definition Classes
- JdbcProfileComponent
-
def
stopRebroadcastTxsScheduler(): Unit
Kills the wallet's rebroadcast transaction scheduler
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
def
tableQueryToWithSchema(tableQuery: slick.jdbc.JdbcProfile.API.TableQuery[_]): slick.jdbc.JdbcProfile.API.TableQuery[slick.jdbc.JdbcProfile.API.Table[_]]
- Attributes
- protected
- Definition Classes
- DbManagement
- 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
username: String
- Definition Classes
- JdbcProfileComponent
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def walletCallbacks: WalletCallbacks
- lazy val walletNameOpt: Option[String]
-
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
- Definition Classes
- AppConfig