Enum miniscript::psbt::InputError [−][src]
pub enum InputError {}Show 15 variants
SecpErr(Error), KeyErr(Error), Interpreter(Error), InvalidRedeemScript { redeem: Script, p2sh_expected: Script, }, InvalidWitnessScript { witness_script: Script, p2wsh_expected: Script, }, InvalidSignature { pubkey: PublicKey, sig: Vec<u8>, }, MiniscriptError(Error), MissingRedeemScript, MissingWitness, MissingPubkey, MissingWitnessScript, MissingUtxo, NonEmptyWitnessScript, NonEmptyRedeemScript, WrongSigHashFlag { required: SigHashType, got: SigHashType, pubkey: PublicKey, },
Expand description
Error type for Pbst Input
Variants
Get the secp Errors directly
KeyErr(Error)
Key errors
Interpreter(Error)
Error doing an interpreter-check on a finalized psbt
Redeem script does not match the p2sh hash
Witness script does not match the p2wsh hash
Fields of InvalidWitnessScript
Invalid sig
Fields of InvalidSignature
MiniscriptError(Error)
Pass through the underlying errors in miniscript
Missing redeem script for p2sh
Missing witness
used for public key corresponding to pkh/wpkh
Missing witness script for segwit descriptors
Missing both the witness and non-witness utxo
Non empty Witness script for p2sh
Non empty Redeem script
Sighash did not match
Fields of WrongSigHashFlag
required: SigHashType
required sighash type
got: SigHashType
the sighash type we got
pubkey: PublicKey
the corresponding publickey