object WalletTestUtil
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WalletTestUtil
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val chainParams: ChainParams
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val defaultHdAccount: HDAccount
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def firstAccountDb: AccountDb
- def getAddressDb(account: AccountDb, addressIndex: Int = 0): AddressDb
Given an account returns a sample address
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getHdAccount1(walletAppConfig: WalletAppConfig): HDAccount
- def getNestedSegwitAddressDb(account: AccountDb): AddressDb
Given an account returns a sample address
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hdCoinType: HDCoinType
- def insertDummyIncomingTransaction(daos: WalletDAOs, utxo: SpendingInfoDb, confirmed: Boolean = true)(implicit ec: ExecutionContext): Future[IncomingTransactionDb]
- def insertLegacyUTXO(daos: WalletDAOs, state: TxoState)(implicit ec: ExecutionContext): Future[LegacySpendingInfo]
Inserts an account, address and finally a UTXO
- def insertNestedSegWitUTXO(daos: WalletDAOs, state: TxoState)(implicit ec: ExecutionContext): Future[NestedSegwitV0SpendingInfo]
Inserts an account, address and finally a UTXO
- def insertSegWitUTXO(daos: WalletDAOs, state: TxoState)(implicit ec: ExecutionContext): Future[SegwitV0SpendingInfo]
Inserts an account, address and finally a UTXO
- 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
- def isFeeRateCloseEnough(outgoingTx: OutgoingTransactionDb): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nestedSegWitAccountDb: AccountDb
- val networkParam: RegTest.type
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def randomTXID: DoubleSha256DigestBE
- lazy val sampleLegacyPath: LegacyHDPath
Sample legacy HD path
- def sampleLegacyUTXO(spk: ScriptPubKey, state: TxoState): LegacySpendingInfo
- lazy val sampleMnemonic: MnemonicCode
Useful if you want wallet test runs To use the same key values each time
- lazy val sampleNestedSegwitPath: NestedSegWitHDPath
- def sampleNestedSegwitUTXO(ecPublicKey: ECPublicKey, state: TxoState): NestedSegwitV0SpendingInfo
- lazy val sampleSegwitPath: SegWitHDPath
- def sampleSegwitUTXO(spk: ScriptPubKey, state: TxoState): SegwitV0SpendingInfo
- lazy val sampleTransaction: Transaction
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()