sealed trait SpendingInfoDb extends DbRowAutoInc[SpendingInfoDb]

The database level representation of a UTXO. When storing a UTXO we don't want to store sensitive material such as private keys. We instead store the necessary information we need to derive the private keys, given the root wallet seed.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpendingInfoDb
  2. DbRowAutoInc
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type SpendingInfoType <: SpendingInfoDb

    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.

    Attributes
    protected

Abstract Value Members

  1. abstract def copyWithId(id: Long): SpendingInfoDb
    Definition Classes
    DbRowAutoInc
  2. abstract def copyWithSpendingTxId(txId: DoubleSha256DigestBE): SpendingInfoType

    Updates the spendingTxId field

  3. abstract def copyWithState(state: TxoState): SpendingInfoType

    Updates the spent field

  4. abstract def id: Option[Long]
    Definition Classes
    SpendingInfoDbDbRowAutoInc
  5. abstract def outPoint: TransactionOutPoint
  6. abstract def output: TransactionOutput
  7. abstract def privKeyPath: HDPath
  8. abstract def redeemScriptOpt: Option[ScriptPubKey]
  9. abstract def scriptWitnessOpt: Option[ScriptWitness]
  10. abstract def spendingTxIdOpt: Option[DoubleSha256DigestBE]

    TxId of the transaction that this output was spent by

  11. abstract def state: TxoState

    The current state of the utxo

Concrete 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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. val hashType: HashType
  12. def isChange: Boolean
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toCoinSelectorUtxo: CoinSelectorUtxo
  19. def toHumanReadableString: String

    Converts the UTXO to the canonical txid:vout format

  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. def toUTXOInfo(sign: Sign, prevTransaction: Transaction, previousOutputMap: PreviousOutputMap): ScriptSignatureParams[InputInfo]
  22. def toUTXOInfo(keyManager: BIP39KeyManagerApi, prevTransaction: Transaction, previousOutputMap: PreviousOutputMap): ScriptSignatureParams[InputInfo]

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

  23. def txid: DoubleSha256DigestBE

    The TXID of the transaction this output was received in

  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped