sealed trait DLCWalletLoaderApi extends BitcoinSLogger with StartStopAsync[Unit]
A trait used to help load a different load and discard the current wallet in memory This trait encapsulates the heavy lifting done in the 'loadwallet' RPC command
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCWalletLoaderApi
- StartStopAsync
- StartStop
- BitcoinSLogger
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def conf: BitcoinSAppConfig
- abstract def load(walletNameOpt: Option[String], aesPasswordOpt: Option[AesPassword]): Future[(WalletHolder, WalletAppConfig, DLCAppConfig)]
- implicit abstract def system: ActorSystem
- Attributes
- protected
- abstract def walletHolder: WalletHolder
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearRescanState(): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- 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 isRescanStateDefined: Boolean
- def isRescanStateEmpty: Boolean
- def isWalletLoaded: Boolean
Determine if a wallet has been loaded
- def loadWallet(chainQueryApi: ChainQueryApi, nodeApi: NodeApi, walletNameOpt: Option[String], aesPasswordOpt: Option[AesPassword])(implicit ec: ExecutionContext): Future[(DLCNeutrinoHDWalletApi, WalletAppConfig, DLCAppConfig)]
- Attributes
- protected
- 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()
- def restartRescanIfNeeded(wallet: RescanHandlingApi)(implicit ec: ExecutionContext): Future[RescanState]
- Attributes
- protected
- def setDlcAppConfig(dlcAppConfig: DLCAppConfig): Unit
- Attributes
- protected
- def setRescanState(rescanState: RescanState): Unit
- def start(): Future[Unit]
- Definition Classes
- DLCWalletLoaderApi → StartStop
- def stop(): Future[Unit]
- Definition Classes
- DLCWalletLoaderApi → StartStop
- def stopOldDLCAppConfig(newDlcConfig: DLCAppConfig): Future[Unit]
- Attributes
- protected
- def stopOldWalletAppConfig(newWalletConfig: WalletAppConfig): Future[Unit]
- Attributes
- protected
- def stopRescan()(implicit ec: ExecutionContext): Future[Unit]
- Attributes
- protected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updateWalletConfigs(walletName: String, aesPasswordOpt: Option[AesPassword])(implicit ec: ExecutionContext): Future[(WalletAppConfig, DLCAppConfig)]
- Attributes
- protected
- def updateWalletName(walletNameOpt: Option[String])(implicit ec: ExecutionContext): Future[Unit]
- Attributes
- protected
- 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()