Class

org.bitcoins.wallet.models

SegwitV0SpendingInfo

Related Doc: package models

Permalink

case class SegwitV0SpendingInfo(outPoint: TransactionOutPoint, output: TransactionOutput, privKeyPath: SegWitHDPath, scriptWitness: ScriptWitness, txid: DoubleSha256DigestBE, spent: Boolean, confirmations: Int, id: Option[Long] = None) extends DbRowAutoInc[SpendingInfoDb] with SpendingInfoDb with Product with Serializable

DB representation of a native V0 SegWit UTXO

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SegwitV0SpendingInfo
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SpendingInfoDb
  7. DbRowAutoInc
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SegwitV0SpendingInfo(outPoint: TransactionOutPoint, output: TransactionOutput, privKeyPath: SegWitHDPath, scriptWitness: ScriptWitness, txid: DoubleSha256DigestBE, spent: Boolean, confirmations: Int, id: Option[Long] = None)

    Permalink

Type Members

  1. type PathType = SegWitHDPath

    Permalink
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  2. type SpendingInfoType = SegwitV0SpendingInfo

    Permalink

    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
    SegwitV0SpendingInfoSpendingInfoDb

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val confirmations: Int

    Permalink
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  7. def copyWithConfirmations(confirmations: Int): SegwitV0SpendingInfo

    Permalink

    Updates the confirmations field

    Updates the confirmations field

    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  8. def copyWithId(id: Long): SegwitV0SpendingInfo

    Permalink
    Definition Classes
    SegwitV0SpendingInfo → DbRowAutoInc
  9. def copyWithSpent(spent: Boolean): SegwitV0SpendingInfo

    Permalink

    Updates the spent field

    Updates the spent field

    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. val hashType: HashType

    Permalink
    Definition Classes
    SpendingInfoDb
  14. val id: Option[Long]

    Permalink
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb → DbRowAutoInc
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val outPoint: TransactionOutPoint

    Permalink
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  20. val output: TransactionOutput

    Permalink
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  21. val privKeyPath: SegWitHDPath

    Permalink
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  22. val redeemScriptOpt: Option[ScriptPubKey]

    Permalink
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  23. val scriptWitness: ScriptWitness

    Permalink
  24. val scriptWitnessOpt: Option[ScriptWitness]

    Permalink
    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  25. val spent: Boolean

    Permalink

    Whether or not this TXO is spent from our wallet

    Whether or not this TXO is spent from our wallet

    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toHumanReadableString: String

    Permalink

    Converts the UTXO to the canonical txid:vout format

    Converts the UTXO to the canonical txid:vout format

    Definition Classes
    SpendingInfoDb
  28. def toUTXOSpendingInfo(account: AccountDb, walletSeed: BIP39Seed): BitcoinUTXOSpendingInfo

    Permalink

    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
  29. val txid: DoubleSha256DigestBE

    Permalink

    The TXID of the transaction this output was received in

    The TXID of the transaction this output was received in

    Definition Classes
    SegwitV0SpendingInfoSpendingInfoDb
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SpendingInfoDb

Inherited from DbRowAutoInc[SpendingInfoDb]

Inherited from AnyRef

Inherited from Any

Ungrouped