case class NestedSegwitV0SpendingInfo(outPoint: TransactionOutPoint, output: TransactionOutput, privKeyPath: NestedSegWitHDPath, redeemScript: ScriptPubKey, scriptWitness: ScriptWitness, state: TxoState, spendingTxIdOpt: Option[DoubleSha256DigestBE], id: Option[Long] = None) extends DbRowAutoInc[SpendingInfoDb] with SpendingInfoDb with Product with Serializable
DB representation of a nested segwit V0 SegWit UTXO
- Alphabetic
- By Inheritance
- NestedSegwitV0SpendingInfo
- Serializable
- Product
- Equals
- SpendingInfoDb
- DbRowAutoInc
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NestedSegwitV0SpendingInfo(outPoint: TransactionOutPoint, output: TransactionOutput, privKeyPath: NestedSegWitHDPath, redeemScript: ScriptPubKey, scriptWitness: ScriptWitness, state: TxoState, spendingTxIdOpt: Option[DoubleSha256DigestBE], id: Option[Long] = None)
Type Members
- type SpendingInfoType = NestedSegwitV0SpendingInfo
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
- NestedSegwitV0SpendingInfo → 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): NestedSegwitV0SpendingInfo
- Definition Classes
- NestedSegwitV0SpendingInfo → DbRowAutoInc
- def copyWithSpendingTxId(txId: DoubleSha256DigestBE): NestedSegwitV0SpendingInfo
Updates the
spendingTxId
fieldUpdates the
spendingTxId
field- Definition Classes
- NestedSegwitV0SpendingInfo → SpendingInfoDb
- def copyWithState(state: TxoState): NestedSegwitV0SpendingInfo
Updates the
spent
fieldUpdates the
spent
field- Definition Classes
- NestedSegwitV0SpendingInfo → 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
- NestedSegwitV0SpendingInfo → 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
- NestedSegwitV0SpendingInfo → SpendingInfoDb
- val output: TransactionOutput
- Definition Classes
- NestedSegwitV0SpendingInfo → SpendingInfoDb
- val privKeyPath: NestedSegWitHDPath
- Definition Classes
- NestedSegwitV0SpendingInfo → SpendingInfoDb
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val redeemScript: ScriptPubKey
- val redeemScriptOpt: Option[ScriptPubKey]
- Definition Classes
- NestedSegwitV0SpendingInfo → SpendingInfoDb
- val scriptWitness: ScriptWitness
- val scriptWitnessOpt: Option[ScriptWitness]
- Definition Classes
- NestedSegwitV0SpendingInfo → 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
- NestedSegwitV0SpendingInfo → SpendingInfoDb
- val state: TxoState
The current state of the utxo
The current state of the utxo
- Definition Classes
- NestedSegwitV0SpendingInfo → 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, previousOutputMap: PreviousOutputMap): ScriptSignatureParams[InputInfo]
- Definition Classes
- SpendingInfoDb
- 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
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()