c

org.bitcoins.core.api.wallet.db

NestedSegwitV0SpendingInfo

case class NestedSegwitV0SpendingInfo(outPoint: TransactionOutPoint, output: TransactionOutput, privKeyPath: NestedSegWitHDPath, redeemScript: ScriptPubKey, scriptWitness: ScriptWitness, state: TxoState, spendingTxIdOpt: Option[DoubleSha256DigestBE], id: Option[Long] = None) extends DbRowAutoInc[SpendingInfoDb] with SpendingInfoDb with Product with Serializable

DB representation of a nested segwit V0 SegWit UTXO

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NestedSegwitV0SpendingInfo
  2. Serializable
  3. Product
  4. Equals
  5. SpendingInfoDb
  6. DbRowAutoInc
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NestedSegwitV0SpendingInfo(outPoint: TransactionOutPoint, output: TransactionOutput, privKeyPath: NestedSegWitHDPath, redeemScript: ScriptPubKey, scriptWitness: ScriptWitness, state: TxoState, spendingTxIdOpt: Option[DoubleSha256DigestBE], id: Option[Long] = None)

Type Members

  1. type SpendingInfoType = NestedSegwitV0SpendingInfo

    This type is here to ensure copyWithSpent returns the same type as the one it was called on.

    This type is here to ensure copyWithSpent returns the same type as the one it was called on.

    Definition Classes
    NestedSegwitV0SpendingInfoSpendingInfoDb

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def copyWithId(id: Long): NestedSegwitV0SpendingInfo
  7. def copyWithSpendingTxId(txId: DoubleSha256DigestBE): NestedSegwitV0SpendingInfo

    Updates the spendingTxId field

    Updates the spendingTxId field

    Definition Classes
    NestedSegwitV0SpendingInfoSpendingInfoDb
  8. def copyWithState(state: TxoState): NestedSegwitV0SpendingInfo

    Updates the spent field

    Updates the spent field

    Definition Classes
    NestedSegwitV0SpendingInfoSpendingInfoDb
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. val hashType: HashType
    Definition Classes
    SpendingInfoDb
  13. val id: Option[Long]
  14. def isChange: Boolean
    Definition Classes
    SpendingInfoDb
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. val outPoint: TransactionOutPoint
  20. val output: TransactionOutput
  21. val privKeyPath: NestedSegWitHDPath
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. val redeemScript: ScriptPubKey
  24. val redeemScriptOpt: Option[ScriptPubKey]
  25. val scriptWitness: ScriptWitness
  26. val scriptWitnessOpt: Option[ScriptWitness]
  27. val spendingTxIdOpt: Option[DoubleSha256DigestBE]

    TxId of the transaction that this output was spent by

    TxId of the transaction that this output was spent by

    Definition Classes
    NestedSegwitV0SpendingInfoSpendingInfoDb
  28. val state: TxoState

    The current state of the utxo

    The current state of the utxo

    Definition Classes
    NestedSegwitV0SpendingInfoSpendingInfoDb
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toCoinSelectorUtxo: CoinSelectorUtxo
    Definition Classes
    SpendingInfoDb
  31. def toHumanReadableString: String

    Converts the UTXO to the canonical txid:vout format

    Converts the UTXO to the canonical txid:vout format

    Definition Classes
    SpendingInfoDb
  32. def toUTXOInfo(sign: Sign, prevTransaction: Transaction): ScriptSignatureParams[InputInfo]
    Definition Classes
    SpendingInfoDb
  33. def toUTXOInfo(keyManager: BIP39KeyManagerApi, prevTransaction: Transaction): ScriptSignatureParams[InputInfo]

    Converts a non-sensitive DB representation of a UTXO into a signable (and sensitive) real-world UTXO

    Converts a non-sensitive DB representation of a UTXO into a signable (and sensitive) real-world UTXO

    Definition Classes
    SpendingInfoDb
  34. def txid: DoubleSha256DigestBE

    The TXID of the transaction this output was received in

    The TXID of the transaction this output was received in

    Definition Classes
    SpendingInfoDb
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SpendingInfoDb

Inherited from AnyRef

Inherited from Any

Ungrouped