c

org.bitcoins.core.api.wallet.db

SegwitV0SpendingInfo

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

DB representation of a native V0 SegWit UTXO

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SegwitV0SpendingInfo
  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 SegwitV0SpendingInfo(outPoint: TransactionOutPoint, output: TransactionOutput, privKeyPath: SegWitHDPath, scriptWitness: ScriptWitness, state: TxoState, spendingTxIdOpt: Option[DoubleSha256DigestBE], id: Option[Long] = None)

Type Members

  1. type SpendingInfoType = SegwitV0SpendingInfo

    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
    SegwitV0SpendingInfoSpendingInfoDb

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): SegwitV0SpendingInfo
    Definition Classes
    SegwitV0SpendingInfoDbRowAutoInc
  7. def copyWithSpendingTxId(txId: DoubleSha256DigestBE): SegwitV0SpendingInfo

    Updates the spendingTxId field

    Updates the spendingTxId field

    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  8. def copyWithState(state: TxoState): SegwitV0SpendingInfo

    Updates the spent field

    Updates the spent field

    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  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
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  20. val output: TransactionOutput
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  21. val privKeyPath: SegWitHDPath
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. val redeemScriptOpt: Option[ScriptPubKey]
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  24. val scriptWitness: ScriptWitness
  25. val scriptWitnessOpt: Option[ScriptWitness]
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  26. 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
    SegwitV0SpendingInfoSpendingInfoDb
  27. val state: TxoState

    The current state of the utxo

    The current state of the utxo

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

    Converts the UTXO to the canonical txid:vout format

    Converts the UTXO to the canonical txid:vout format

    Definition Classes
    SpendingInfoDb
  31. def toUTXOInfo(sign: Sign, prevTransaction: Transaction): ScriptSignatureParams[InputInfo]
    Definition Classes
    SpendingInfoDb
  32. 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
  33. 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
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. 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