object BitcoinSWalletTest extends WalletLogger with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitcoinSWalletTest
  2. Serializable
  3. WalletLogger
  4. BitcoinSLogger
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. val account1Amt: Vector[Bitcoins]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def awaitWalletBalances(fundedWallet: WalletWithBitcoind[_])(implicit config: WalletAppConfig, system: ActorSystem): Future[Unit]

    Makes sure our wallet is fully funded with the default amounts specified in BitcoinSWalletTest.

    Makes sure our wallet is fully funded with the default amounts specified in BitcoinSWalletTest. This will future won't be completed until balances satisfy isSameWalletBalances()

  7. def buildBip39PasswordConfig(bip39PasswordOpt: Option[String]): Config
  8. def buildBip39PasswordWithExtraConfig(bip39PasswordOpt: Option[String], extraConfig: Option[Config]): Config
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def createDLCWallet2Accounts(nodeApi: NodeApi, chainQueryApi: ChainQueryApi)(implicit config: BitcoinSAppConfig, system: ActorSystem): Future[DLCWallet]
  11. def createDefaultWallet(nodeApi: NodeApi, chainQueryApi: ChainQueryApi)(implicit walletAppConfig: WalletAppConfig): Future[Wallet]

    Creates a wallet with the default configuration

  12. def createNeutrinoNodeCallbacksForWallet(wallet: Wallet)(implicit system: ActorSystem): Future[NodeCallbacks]

    Constructs callbacks for the wallet from the node to process blocks and compact filters

  13. def createWallet2Accounts(nodeApi: NodeApi, chainQueryApi: ChainQueryApi)(implicit config: WalletAppConfig, system: ActorSystem): Future[Wallet]
  14. def createWalletAppConfig(pgUrl: () => Option[String], configs: Vector[Config])(implicit system: ActorSystem): Future[WalletAppConfig]
  15. def createWalletAppConfigNotStarted(pgUrl: () => Option[String], configs: Vector[Config])(implicit system: ActorSystem): Future[WalletAppConfig]
  16. def createWalletWithBitcoind(wallet: Wallet, bitcoindRpcClient: BitcoindRpcClient): Future[WalletWithBitcoindRpc]
  17. def createWalletWithBitcoind(bitcoind: BitcoindRpcClient)(implicit system: ActorSystem, config: WalletAppConfig): Future[WalletWithBitcoindRpc]
  18. def createWalletWithBitcoind(wallet: Wallet, versionOpt: Option[BitcoindVersion])(implicit system: ActorSystem): Future[WalletWithBitcoindRpc]

    Pairs the given wallet with a bitcoind instance that has money in the bitcoind wallet

  19. def createWalletWithBitcoind(wallet: Wallet)(implicit system: ActorSystem): Future[WalletWithBitcoindRpc]

    Pairs the given wallet with a bitcoind instance that has money in the bitcoind wallet

  20. def createWalletWithBitcoindCallbacks(bitcoind: BitcoindRpcClient)(implicit walletAppConfig: WalletAppConfig, system: ActorSystem): Future[WalletWithBitcoindRpc]

    Creates a default wallet with bitcoind where the ChainQueryApi fed to the wallet is implemented by bitcoind

  21. val defaultAcctAmts: Vector[Bitcoins]
  22. def destroyDLCWallet(wallet: DLCWallet)(implicit ec: ExecutionContext): Future[Unit]
  23. def destroyOnlyWalletWithBitcoindCached(walletWithBitcoind: WalletWithBitcoind[_])(implicit ec: ExecutionContext): Future[Unit]

    Destorys the WalletApi and WalletAppConfig inside of WalletWithBitcoind.

    Destorys the WalletApi and WalletAppConfig inside of WalletWithBitcoind. This method does not touch the bitcoind instance so it can be re-used in CachedBitcoind tests

  24. def destroyWalletAppConfig(walletAppConfig: WalletAppConfig)(implicit ec: ExecutionContext): Future[Unit]
  25. def destroyWalletWithBitcoind[T <: BitcoindRpcClient](walletWithBitcoind: WalletWithBitcoind[T])(implicit ec: ExecutionContext): Future[Unit]
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  28. val expectedAccount1Amt: CurrencyUnit
  29. val expectedDefaultAmt: CurrencyUnit
  30. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  31. def fundedWalletAndBitcoind(bitcoindRpcClient: BitcoindRpcClient, nodeApi: NodeApi, chainQueryApi: ChainQueryApi, walletCallbacks: WalletCallbacks)(implicit config: BitcoinSAppConfig, system: ActorSystem): Future[WalletWithBitcoindRpc]

    Funds a wallet with bitcoind, this method adds CallbackUtil.createNeutrinoNodeCallbacksForWallet() which processes filters/blocks that can be used to fund the wallet.

    Funds a wallet with bitcoind, this method adds CallbackUtil.createNeutrinoNodeCallbacksForWallet() which processes filters/blocks that can be used to fund the wallet.

    It's important to note that this does NOT synchronize the wallet with a chain state. This should be done by the caller of this method. A useful method to help you with that in neutrino node cases is BitcoinSWalletTest.awaitWalletBalances

  32. def fundedWalletAndBitcoind(versionOpt: Option[BitcoindVersion], nodeApi: NodeApi, chainQueryApi: ChainQueryApi, walletCallbacks: WalletCallbacks)(implicit config: BitcoinSAppConfig, system: ActorSystem): Future[WalletWithBitcoindRpc]

    Gives us a funded bitcoin-s wallet and the bitcoind instance that funded that wallet

  33. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def getSegwitWalletConfigWithBip39PasswordOpt(pgUrl: Option[String])(implicit system: ActorSystem): BitcoinSAppConfig
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. lazy val initialFunds: CurrencyUnit
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def logger: Logger
    Definition Classes
    BitcoinSLogger
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from WalletLogger

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped