object TxBuilderError
- Alphabetic
- By Inheritance
- TxBuilderError
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 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
- 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
- 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.
- 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.
- val HighFee: Failure[Nothing]
Means tha this transaction pays too high of a fee for TxBuilder.feeRate
- 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.
- val LowFee: Failure[Nothing]
Means that the fee was too low for TxBuilder.feeRate
- val MintsMoney: Failure[Nothing]
Means that this transaction attempts to print satoshis out of thin air
- 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
- val MissingOutPoint: Failure[Nothing]
- 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
- val NestedP2SHSPK: Failure[Nothing]
We cannot have a P2SHScriptPubKey nested inside of another spk
- val NestedWitnessSPK: Failure[Nothing]
We cannot have a WitnessScriptPubKey nested inside of another ScriptPubKey
- 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.
- 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
- 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
- val NonWitnessSPK: Failure[Nothing]
We expected a WitnessScriptPubKeyV0, but got a non witness spk type
- def OutputBelowDustThreshold(belowDustOutputs: Seq[TransactionOutput]): Failure[Nothing]
Means we have a output on this transaction below Policy.dustThreshold
- 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.
- val UnknownError: Failure[Nothing]
- val WrongPublicKey: Failure[Nothing]
Means that you passed the wrong public key for a P2PKHScriptPubKey or a P2WPKHWitnessSPKV0 that you are trying to spend
- val WrongRedeemScript: Failure[Nothing]
Means that the redeem script you passed as an argument does not hash to the commitment inside of the P2SHScriptPubKey
- val WrongSigner: Failure[Nothing]
Means that you are using the wrong Signer to sign the given ScriptPubKey
- val WrongWitness: Failure[Nothing]
Means that the ScriptWitnessV0 you passed as an argument does not hash to the commitment inside of P2WSHWitnessSPKV0
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()