c

org.bitcoins.core.api.wallet.db

LegacySpendingInfo

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

DB representation of a legacy UTXO

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

Type Members

  1. type SpendingInfoType = LegacySpendingInfo

    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
    LegacySpendingInfoSpendingInfoDb

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

    Updates the spendingTxId field

    Updates the spendingTxId field

    Definition Classes
    LegacySpendingInfoSpendingInfoDb
  8. def copyWithState(state: TxoState): LegacySpendingInfo

    Updates the spent field

    Updates the spent field

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

    The current state of the utxo

    The current state of the utxo

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

    Converts the UTXO to the canonical txid:vout format

    Converts the UTXO to the canonical txid:vout format

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