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.
- Alphabetic
- By Inheritance
- SpendingInfoDb
- DbRowAutoInc
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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
- abstract def copyWithId(id: Long): SpendingInfoDb
- Definition Classes
- DbRowAutoInc
- abstract def copyWithSpendingTxId(txId: DoubleSha256DigestBE): SpendingInfoType
Updates the
spendingTxId
field - abstract def copyWithState(state: TxoState): SpendingInfoType
Updates the
spent
field - abstract def id: Option[Long]
- Definition Classes
- SpendingInfoDb → DbRowAutoInc
- abstract def outPoint: TransactionOutPoint
- abstract def output: TransactionOutput
- abstract def privKeyPath: HDPath
- abstract def redeemScriptOpt: Option[ScriptPubKey]
- abstract def scriptWitnessOpt: Option[ScriptWitness]
- abstract def spendingTxIdOpt: Option[DoubleSha256DigestBE]
TxId of the transaction that this output was spent by
- abstract def state: TxoState
The current state of the utxo
Concrete 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hashType: HashType
- def isChange: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toCoinSelectorUtxo: CoinSelectorUtxo
- def toHumanReadableString: String
Converts the UTXO to the canonical
txid:vout
format - def toString(): String
- Definition Classes
- AnyRef → Any
- def toUTXOInfo(sign: Sign, prevTransaction: Transaction, previousOutputMap: PreviousOutputMap): ScriptSignatureParams[InputInfo]
- 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
- def txid: DoubleSha256DigestBE
The TXID of the transaction this output was received in
- 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()