o

org.bitcoins.testkit.wallet

WalletTestUtil

object WalletTestUtil

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WalletTestUtil
  2. AnyRef
  3. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val chainParams: ChainParams
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. val defaultHdAccount: HDAccount
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def firstAccountDb: AccountDb
  12. def getAddressDb(account: AccountDb, addressIndex: Int = 0): AddressDb

    Given an account returns a sample address

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getHdAccount1(walletAppConfig: WalletAppConfig): HDAccount
  15. def getNestedSegwitAddressDb(account: AccountDb): AddressDb

    Given an account returns a sample address

  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. val hdCoinType: HDCoinType
  18. def insertDummyIncomingTransaction(daos: WalletDAOs, utxo: SpendingInfoDb, confirmed: Boolean = true)(implicit ec: ExecutionContext): Future[IncomingTransactionDb]
  19. def insertLegacyUTXO(daos: WalletDAOs, state: TxoState)(implicit ec: ExecutionContext): Future[LegacySpendingInfo]

    Inserts an account, address and finally a UTXO

  20. def insertNestedSegWitUTXO(daos: WalletDAOs, state: TxoState)(implicit ec: ExecutionContext): Future[NestedSegwitV0SpendingInfo]

    Inserts an account, address and finally a UTXO

  21. def insertSegWitUTXO(daos: WalletDAOs, state: TxoState)(implicit ec: ExecutionContext): Future[SegwitV0SpendingInfo]

    Inserts an account, address and finally a UTXO

  22. def isCloseEnough(first: CurrencyUnit, second: CurrencyUnit, delta: CurrencyUnit = 300.sats): Boolean

    Checks that the given values are the same-ish, save for fee-level deviations

  23. def isFeeRateCloseEnough(outgoingTx: OutgoingTransactionDb): Boolean
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def nestedSegWitAccountDb: AccountDb
  27. val networkParam: RegTest.type
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def randomTXID: DoubleSha256DigestBE
  31. lazy val sampleLegacyPath: LegacyHDPath

    Sample legacy HD path

  32. def sampleLegacyUTXO(spk: ScriptPubKey, state: TxoState): LegacySpendingInfo
  33. lazy val sampleMnemonic: MnemonicCode

    Useful if you want wallet test runs To use the same key values each time

  34. lazy val sampleNestedSegwitPath: NestedSegWitHDPath
  35. def sampleNestedSegwitUTXO(ecPublicKey: ECPublicKey, state: TxoState): NestedSegwitV0SpendingInfo
  36. lazy val sampleSegwitPath: SegWitHDPath
  37. def sampleSegwitUTXO(spk: ScriptPubKey, state: TxoState): SegwitV0SpendingInfo
  38. lazy val sampleTransaction: Transaction
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped