case class DualFundingTxFinalizer(offerInputs: Vector[DualFundingInput], offerPayoutSPK: ScriptPubKey, offerChangeSPK: ScriptPubKey, acceptInputs: Vector[DualFundingInput], acceptPayoutSPK: ScriptPubKey, acceptChangeSPK: ScriptPubKey, feeRate: SatoshisPerVirtualByte, fundingSPK: ScriptPubKey) extends RawTxFinalizer with Product with Serializable
Finalizes a dual-funded transaction given the DualFundingInputs from both parties, their change spks and the funding scriptpubkey for the dual funded protocol.
This includes adding the future fee of spending transactions to the funding output as well as subtracting relevant fees from the change outputs. This finalizer filters dust outputs.
- Alphabetic
- By Inheritance
- DualFundingTxFinalizer
- Serializable
- Product
- Equals
- RawTxFinalizer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DualFundingTxFinalizer(offerInputs: Vector[DualFundingInput], offerPayoutSPK: ScriptPubKey, offerChangeSPK: ScriptPubKey, acceptInputs: Vector[DualFundingInput], acceptPayoutSPK: ScriptPubKey, acceptChangeSPK: ScriptPubKey, feeRate: SatoshisPerVirtualByte, fundingSPK: ScriptPubKey)
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 acceptChangeSPK: ScriptPubKey
- lazy val acceptFees: CurrencyUnit
- lazy val acceptFundingFee: CurrencyUnit
- lazy val acceptFutureFee: CurrencyUnit
- val acceptInputs: Vector[DualFundingInput]
- val acceptPayoutSPK: ScriptPubKey
- def andThen(other: RawTxFinalizer): RawTxFinalizer
The result of buildTx is converted into a RawTxBuilderResult by taking that transactions inputs (in order), outputs (in order), locktime and version and this RawTxBuilderResult is then passed to the other RawTxFinalizer's buildTx
The result of buildTx is converted into a RawTxBuilderResult by taking that transactions inputs (in order), outputs (in order), locktime and version and this RawTxBuilderResult is then passed to the other RawTxFinalizer's buildTx
- Definition Classes
- RawTxFinalizer
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildTx(txBuilderResult: RawTxBuilderResult): Transaction
Constructs a finalized (unsigned) transaction
Constructs a finalized (unsigned) transaction
- Definition Classes
- DualFundingTxFinalizer → RawTxFinalizer
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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 fundingSPK: ScriptPubKey
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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 offerChangeSPK: ScriptPubKey
- lazy val offerFees: CurrencyUnit
- lazy val offerFundingFee: CurrencyUnit
- lazy val offerFutureFee: CurrencyUnit
- val offerInputs: Vector[DualFundingInput]
- val offerPayoutSPK: ScriptPubKey
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()