Packages

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: BitcoinSAppConfig, 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 createDefaultWallet(nodeApi: NodeApi, chainQueryApi: ChainQueryApi, bip39PasswordOpt: Option[String], extraConfig: Option[Config] = None)(implicit config: BitcoinSAppConfig, ec: ExecutionContext): Future[Wallet]

    Creates a wallet with the default configuration

  9. def createNeutrinoNodeCallbacksForWallet(wallet: Wallet)(implicit ec: ExecutionContext): NodeCallbacks

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

  10. def createSpvNodeCallbacksForWallet(wallet: Wallet)(implicit ec: ExecutionContext): NodeCallbacks

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

  11. def createWallet2Accounts(nodeApi: NodeApi, chainQueryApi: ChainQueryApi, bip39PasswordOpt: Option[String], extraConfig: Option[Config] = None)(implicit config: BitcoinSAppConfig, system: ActorSystem): Future[Wallet]
  12. def createWalletWithBitcoind(wallet: Wallet, bitcoindRpcClient: BitcoindRpcClient): Future[WalletWithBitcoind]
  13. def createWalletWithBitcoind(bitcoind: BitcoindRpcClient)(implicit system: ActorSystem, config: BitcoinSAppConfig): Future[WalletWithBitcoind]
  14. 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

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

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

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

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

  17. def createWalletWithBitcoindV19(bitcoind: BitcoindV19RpcClient, bip39PasswordOpt: Option[String])(implicit system: ActorSystem, config: BitcoinSAppConfig): Future[WalletWithBitcoindV19]
  18. def createWalletWithBitcoindV19(wallet: Wallet)(implicit system: ActorSystem): Future[WalletWithBitcoindV19]
  19. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. val defaultAcctAmts: Vector[Bitcoins]
  23. def destroyWallet(wallet: Wallet): Future[Unit]
  24. def destroyWalletWithBitcoind(walletWithBitcoind: WalletWithBitcoind)(implicit ec: ExecutionContext): Future[Unit]
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  27. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. val expectedAccount1Amt: CurrencyUnit
  31. val expectedDefaultAmt: CurrencyUnit
  32. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  33. def fundWalletWithBitcoind[T <: WalletWithBitcoind](pair: T)(implicit ec: ExecutionContext): Future[T]

    Funds the given wallet with money from the given bitcoind

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

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

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

Inherited from Serializable

Inherited from WalletLogger

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped