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
- Alphabetic
- By Inheritance
- SegwitV0SpendingInfo
- Serializable
- Product
- Equals
- SpendingInfoDb
- DbRowAutoInc
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SegwitV0SpendingInfo(outPoint: TransactionOutPoint, output: TransactionOutput, privKeyPath: SegWitHDPath, scriptWitness: ScriptWitness, state: TxoState, spendingTxIdOpt: Option[DoubleSha256DigestBE], id: Option[Long] = None)
Type Members
- 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
- SegwitV0SpendingInfo → SpendingInfoDb
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()
- def copyWithId(id: Long): SegwitV0SpendingInfo
- Definition Classes
- SegwitV0SpendingInfo → DbRowAutoInc
- def copyWithSpendingTxId(txId: DoubleSha256DigestBE): SegwitV0SpendingInfo
Updates the
spendingTxId
fieldUpdates the
spendingTxId
field- Definition Classes
- SegwitV0SpendingInfo → SpendingInfoDb
- def copyWithState(state: TxoState): SegwitV0SpendingInfo
Updates the
spent
fieldUpdates the
spent
field- Definition Classes
- SegwitV0SpendingInfo → SpendingInfoDb
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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()
- val hashType: HashType
- Definition Classes
- SpendingInfoDb
- val id: Option[Long]
- Definition Classes
- SegwitV0SpendingInfo → SpendingInfoDb → DbRowAutoInc
- def isChange: Boolean
- Definition Classes
- SpendingInfoDb
- 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()
- val outPoint: TransactionOutPoint
- Definition Classes
- SegwitV0SpendingInfo → SpendingInfoDb
- val output: TransactionOutput
- Definition Classes
- SegwitV0SpendingInfo → SpendingInfoDb
- val privKeyPath: SegWitHDPath
- Definition Classes
- SegwitV0SpendingInfo → SpendingInfoDb
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val redeemScriptOpt: Option[ScriptPubKey]
- Definition Classes
- SegwitV0SpendingInfo → SpendingInfoDb
- val scriptWitness: ScriptWitness
- val scriptWitnessOpt: Option[ScriptWitness]
- Definition Classes
- SegwitV0SpendingInfo → SpendingInfoDb
- 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
- SegwitV0SpendingInfo → SpendingInfoDb
- val state: TxoState
The current state of the utxo
The current state of the utxo
- Definition Classes
- SegwitV0SpendingInfo → SpendingInfoDb
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toCoinSelectorUtxo: CoinSelectorUtxo
- Definition Classes
- SpendingInfoDb
- def toHumanReadableString: String
Converts the UTXO to the canonical
txid:vout
formatConverts the UTXO to the canonical
txid:vout
format- Definition Classes
- SpendingInfoDb
- def toUTXOInfo(sign: Sign, prevTransaction: Transaction): ScriptSignatureParams[InputInfo]
- Definition Classes
- SpendingInfoDb
- 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
- 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
- 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()