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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCDb
- Serializable
- Product
- Equals
- LastUpdatedDb
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- 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
- val account: HDAccount
- val aggregateSignatureOpt: Option[SchnorrDigitalSignature]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val changeIndex: HDChainType
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val closingTxIdOpt: Option[DoubleSha256DigestBE]
- val contractIdOpt: Option[ByteVector]
- val dlcId: Sha256Digest
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val feeRate: SatoshisPerVirtualByte
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val fundOutputSerialId: UInt64
- val fundingOutPointOpt: Option[TransactionOutPoint]
- val fundingTxIdOpt: Option[DoubleSha256DigestBE]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val isInitiator: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyIndex: Int
- 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
- DLCDb → LastUpdatedDb
- 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 peerOpt: Option[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val protocolVersion: Int
- val serializationVersion: DLCSerializationVersion
- val state: DLCState
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tempContractId: Sha256Digest
- def updateAggregateSignature(sig: SchnorrDigitalSignature): DLCDb
- def updateClosingTxId(txId: DoubleSha256DigestBE): DLCDb
- def updateContractId(id: ByteVector): DLCDb
- def updateFundingOutPoint(outPoint: TransactionOutPoint): DLCDb
- def updatePeer(peer: String): DLCDb
- def updateState(newState: DLCState): DLCDb
- 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()