Packages

case class DLCDb(dlcId: Sha256Digest, tempContractId: Sha256Digest, contractIdOpt: Option[ByteVector], protocolVersion: Int, state: DLCState, isInitiator: Boolean, account: HDAccount, changeIndex: HDChainType, keyIndex: Int, feeRate: SatoshisPerVirtualByte, fundOutputSerialId: UInt64, lastUpdated: Instant, fundingOutPointOpt: Option[TransactionOutPoint], fundingTxIdOpt: Option[DoubleSha256DigestBE], closingTxIdOpt: Option[DoubleSha256DigestBE], aggregateSignatureOpt: Option[SchnorrDigitalSignature], serializationVersion: DLCSerializationVersion, peerOpt: Option[String]) extends LastUpdatedDb with Product with Serializable

This table contains all the meta information about a DLC. This includes various identifiers as well as state and a BIP 32 key path.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCDb
  2. Serializable
  3. Product
  4. Equals
  5. LastUpdatedDb
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DLCDb(dlcId: Sha256Digest, tempContractId: Sha256Digest, contractIdOpt: Option[ByteVector], protocolVersion: Int, state: DLCState, isInitiator: Boolean, account: HDAccount, changeIndex: HDChainType, keyIndex: Int, feeRate: SatoshisPerVirtualByte, fundOutputSerialId: UInt64, lastUpdated: Instant, fundingOutPointOpt: Option[TransactionOutPoint], fundingTxIdOpt: Option[DoubleSha256DigestBE], closingTxIdOpt: Option[DoubleSha256DigestBE], aggregateSignatureOpt: Option[SchnorrDigitalSignature], serializationVersion: DLCSerializationVersion, peerOpt: Option[String])

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. val account: HDAccount
  5. val aggregateSignatureOpt: Option[SchnorrDigitalSignature]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val changeIndex: HDChainType
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val closingTxIdOpt: Option[DoubleSha256DigestBE]
  10. val contractIdOpt: Option[ByteVector]
  11. val dlcId: Sha256Digest
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val feeRate: SatoshisPerVirtualByte
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. val fundOutputSerialId: UInt64
  16. val fundingOutPointOpt: Option[TransactionOutPoint]
  17. val fundingTxIdOpt: Option[DoubleSha256DigestBE]
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. val isInitiator: Boolean
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val keyIndex: Int
  22. val lastUpdated: Instant

    The time this object as last updated in the database

    The time this object as last updated in the database

    Definition Classes
    DLCDbLastUpdatedDb
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. val peerOpt: Option[String]
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. val protocolVersion: Int
  29. val serializationVersion: DLCSerializationVersion
  30. val state: DLCState
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. val tempContractId: Sha256Digest
  33. def updateAggregateSignature(sig: SchnorrDigitalSignature): DLCDb
  34. def updateClosingTxId(txId: DoubleSha256DigestBE): DLCDb
  35. def updateContractId(id: ByteVector): DLCDb
  36. def updateFundingOutPoint(outPoint: TransactionOutPoint): DLCDb
  37. def updatePeer(peer: String): DLCDb
  38. def updateState(newState: DLCState): DLCDb
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LastUpdatedDb

Inherited from AnyRef

Inherited from Any

Ungrouped