c

org.bitcoins.core.wallet.builder

DualFundingTxFinalizer

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.

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

Instance Constructors

  1. new DualFundingTxFinalizer(offerInputs: Vector[DualFundingInput], offerPayoutSPK: ScriptPubKey, offerChangeSPK: ScriptPubKey, acceptInputs: Vector[DualFundingInput], acceptPayoutSPK: ScriptPubKey, acceptChangeSPK: ScriptPubKey, feeRate: SatoshisPerVirtualByte, fundingSPK: ScriptPubKey)

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 acceptChangeSPK: ScriptPubKey
  5. lazy val acceptFees: CurrencyUnit
  6. lazy val acceptFundingFee: CurrencyUnit
  7. lazy val acceptFutureFee: CurrencyUnit
  8. val acceptInputs: Vector[DualFundingInput]
  9. val acceptPayoutSPK: ScriptPubKey
  10. 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
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def buildTx(txBuilderResult: RawTxBuilderResult): Transaction

    Constructs a finalized (unsigned) transaction

    Constructs a finalized (unsigned) transaction

    Definition Classes
    DualFundingTxFinalizerRawTxFinalizer
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. val feeRate: SatoshisPerVirtualByte
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. val fundingSPK: ScriptPubKey
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val offerChangeSPK: ScriptPubKey
  24. lazy val offerFees: CurrencyUnit
  25. lazy val offerFundingFee: CurrencyUnit
  26. lazy val offerFutureFee: CurrencyUnit
  27. val offerInputs: Vector[DualFundingInput]
  28. val offerPayoutSPK: ScriptPubKey
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. 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 RawTxFinalizer

Inherited from AnyRef

Inherited from Any

Ungrouped