object BitcoinSWalletTest extends WalletLogger with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitcoinSWalletTest
  2. Serializable
  3. WalletLogger
  4. Logging
  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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def createDLCWallet2Accounts(nodeApi: NodeApi, chainQueryApi: ChainQueryApi, bip39PasswordOpt: Option[String], extraConfig: Option[Config] = None)(implicit config: BitcoinSAppConfig, system: ActorSystem): Future[DLCWallet]
  9. def createDefaultWallet(nodeApi: NodeApi, chainQueryApi: ChainQueryApi, bip39PasswordOpt: Option[String], extraConfig: Option[Config] = None)(implicit config: WalletAppConfig, ec: ExecutionContext): Future[Wallet]

    Creates a wallet with the default configuration

  10. def createNeutrinoNodeCallbacksForWallet(wallet: Wallet)(implicit nodeAppConfig: NodeAppConfig, ec: ExecutionContext): Future[NodeCallbacks]

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

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

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

  18. def createWalletWithBitcoind(wallet: Wallet)(implicit system: ActorSystem): Future[WalletWithBitcoind]

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

  19. def createWalletWithBitcoindCallbacks(bitcoind: BitcoindRpcClient, bip39PasswordOpt: Option[String], extraConfig: Option[Config] = None)(implicit config: WalletAppConfig, system: ActorSystem): Future[WalletWithBitcoind]

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

  20. def createWalletWithBitcoindV19(bitcoind: BitcoindV19RpcClient, bip39PasswordOpt: Option[String])(implicit system: ActorSystem, config: WalletAppConfig): Future[WalletWithBitcoindV19]
  21. def createWalletWithBitcoindV19(wallet: Wallet)(implicit system: ActorSystem): Future[WalletWithBitcoindV19]
  22. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. val defaultAcctAmts: Vector[Bitcoins]
  26. def destroyDLCWallet(wallet: DLCWallet): Future[Unit]
  27. def destroyWallet(wallet: Wallet): Future[Unit]
  28. def destroyWalletAppConfig(walletAppConfig: WalletAppConfig)(implicit ec: ExecutionContext): Future[Unit]
  29. def destroyWalletWithBitcoind(walletWithBitcoind: WalletWithBitcoind)(implicit ec: ExecutionContext): Future[Unit]
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  32. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. val expectedAccount1Amt: CurrencyUnit
  36. val expectedDefaultAmt: CurrencyUnit
  37. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  38. def fundedWalletAndBitcoind(bitcoindRpcClient: BitcoindRpcClient, nodeApi: NodeApi, chainQueryApi: ChainQueryApi, bip39PasswordOpt: Option[String], walletCallbacks: WalletCallbacks)(implicit config: BitcoinSAppConfig, system: ActorSystem): Future[WalletWithBitcoind]

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

    Funds a wallet with bitcoind, this method adds BitcoinSWalletTest.createNodeCallbacksForWallet() 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

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

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

  40. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. lazy val initialFunds: CurrencyUnit
  46. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  47. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  48. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  49. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  50. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  51. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  52. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  53. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  57. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  58. def toString(): String
    Definition Classes
    AnyRef → Any
  59. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  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. object MockChainQueryApi extends ChainQueryApi
  69. object MockNodeApi extends NodeApi

Inherited from Serializable

Inherited from WalletLogger

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped