object TxBuilderError

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TxBuilderError
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 ExtraOutPoints: Failure[Nothing]

    Means that the transaction spends outpoints that were not given when creating the TxBuilder, aka, we should only spend outpoints in TxBuilder.outPoints

  5. val ExtraOutputsAdded: Failure[Nothing]

    Means that the signed version of this transaction has MORE outputs than what was specified when building the TxBuilder.

    Means that the signed version of this transaction has MORE outputs than what was specified when building the TxBuilder. TxBuilder.destinations && TxBuilder.changeSPK should be the only outputs in the signedTx

  6. val FailedUserInvariants: Failure[Nothing]

    This error indicates that the transaction failed to pass the invariants the user wanted to hold true after the signing process was complete.

    This error indicates that the transaction failed to pass the invariants the user wanted to hold true after the signing process was complete. An example of this is the transaction is too big, or the fee level was too high or low.

  7. val FeeToLarge: Failure[Nothing]

    Means that you specified a fee that was too large for the change output you provided.

    Means that you specified a fee that was too large for the change output you provided. This may happen if you have a transaction with a lot of inputs, or the change output you provided is a output that contains a very small amount of bitcoin.

  8. val IncompatibleLockTimes: Failure[Nothing]

    Indicates we are spending multiple CLTVScriptPubKey, and that one of those spk's outputs are locked by block height, while the other is locked by a time stamp.

    Indicates we are spending multiple CLTVScriptPubKey, and that one of those spk's outputs are locked by block height, while the other is locked by a time stamp. Since there is only one locktime field on a transaction, we cannot satisfy both of these locktimes simultaneously.

  9. val MintsMoney: Failure[Nothing]

    Means that this transaction attempts to print satoshis out of thin air

  10. val MissingDestinationOutput: Failure[Nothing]

    Means that the TxBuilder.destinations outputs you specified when creating the TxBuilder are NOT all included in the final signed tx

  11. val MissingOutPoint: Failure[Nothing]
  12. val MissingPublicKey: Failure[Nothing]

    Means that the script we are signing for requires a public key, but we did not pass one in as a parameter inside of Sign

  13. val NestedP2SHSPK: Failure[Nothing]

    We cannot have a P2SHScriptPubKey nested inside of another spk

  14. val NestedWitnessSPK: Failure[Nothing]

    We cannot have a WitnessScriptPubKey nested inside of another ScriptPubKey

  15. val NoRedeemScript: Failure[Nothing]

    Can occurr when we are trying to sign a P2SHScriptPubKey but we do not have a redeem script for that p2sh spk.

  16. val NoSigner: Failure[Nothing]

    Means that there is no signer defined for the given ScriptPubKey type.

    Means that there is no signer defined for the given ScriptPubKey type. An example of a spk with no signer that is defined is WitnessCommitment

  17. val NoWitness: Failure[Nothing]

    Can occurr when we are trying to sign a WitnessScriptPubKey but we do not have a ScriptWitness for that witness spk

  18. val NonWitnessSPK: Failure[Nothing]

    We expected a WitnessScriptPubKeyV0, but got a non witness spk type

  19. def OutputBelowDustThreshold(belowDustOutputs: Seq[TransactionOutput]): Failure[Nothing]

    Means we have a output on this transaction below Policy.dustThreshold

  20. val TooManySigners: Failure[Nothing]

    Means that we gave too many Sign for the TxBuilder to use during the signing process for a utxo.

    Means that we gave too many Sign for the TxBuilder to use during the signing process for a utxo. An example of this occurring is if we gave 2 private keys to sign a p2pkh spk. A p2pkh only requires one private key to sign the utxo.

  21. val UnknownError: Failure[Nothing]
  22. val WrongPublicKey: Failure[Nothing]

    Means that you passed the wrong public key for a P2PKHScriptPubKey or a P2WPKHWitnessSPKV0 that you are trying to spend

  23. val WrongRedeemScript: Failure[Nothing]

    Means that the redeem script you passed as an argument does not hash to the commitment inside of the P2SHScriptPubKey

  24. val WrongSigner: Failure[Nothing]

    Means that you are using the wrong Signer to sign the given ScriptPubKey

  25. val WrongWitness: Failure[Nothing]

    Means that the ScriptWitnessV0 you passed as an argument does not hash to the commitment inside of P2WSHWitnessSPKV0

  26. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  27. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  30. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def highFee(max: CurrencyUnit, actual: CurrencyUnit): Failure[Nothing]

    Means tha this transaction pays too high of a fee for TxBuilder.feeRate

  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def lowFee(min: CurrencyUnit, actual: CurrencyUnit): Failure[Nothing]

    Means that the fee was too low for TxBuilder.feeRate

  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped