c

org.bitcoins.core.wallet.builder

AddFutureFeeFinalizer

case class AddFutureFeeFinalizer(spk: ScriptPubKey, futureFee: CurrencyUnit, changeSPKs: Vector[ScriptPubKey]) extends RawTxFinalizer with Product with Serializable

Adds a an amount to the output with the given ScriptPubKey and subtracts that amount in equal proportions from the specified change ScriptPubKeys.

This can be useful when you want to account for a future spending fee in this transaction to get nice output values on the spending tx.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AddFutureFeeFinalizer
  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 AddFutureFeeFinalizer(spk: ScriptPubKey, futureFee: CurrencyUnit, changeSPKs: Vector[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. 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
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def buildTx(txBuilderResult: RawTxBuilderResult): Transaction

    Constructs a finalized (unsigned) transaction

    Constructs a finalized (unsigned) transaction

    Definition Classes
    AddFutureFeeFinalizerRawTxFinalizer
  7. val changeSPKs: Vector[ScriptPubKey]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. val futureFee: CurrencyUnit
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val spk: ScriptPubKey
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. 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