object BitcoinSWalletTest extends WalletLogger with Serializable

Linear Supertypes
Serializable, WalletLogger, Logging, AnyRef, Any
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 createSpvNodeCallbacksForWallet(wallet: Wallet)(implicit ec: ExecutionContext): NodeCallbacks

    Registers a callback to handle merkle blocks given to us by a spv node

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

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

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

  20. 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

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

  40. 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

  41. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  43. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. lazy val initialFunds: CurrencyUnit
  47. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  48. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  49. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  50. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  51. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  52. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  53. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  54. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  55. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  57. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. def toString(): String
    Definition Classes
    AnyRef → Any
  60. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  66. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  67. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  68. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  69. object MockChainQueryApi extends ChainQueryApi
  70. object MockNodeApi extends NodeApi

Inherited from Serializable

Inherited from WalletLogger

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped