pub enum VerifyError {
MissingInputTx(Txid),
InvalidInput(OutPoint),
Consensus(Error),
Global(Box<Error>),
}
This is supported on crate feature
verify
only.Expand description
Error during validation of a tx agains the consensus rules
Variants
MissingInputTx(Txid)
The transaction being spent is not available in the database or the blockchain client
InvalidInput(OutPoint)
The transaction being spent doesn’t have the requested output
Consensus(Error)
Consensus error
Global(Box<Error>)
Generic error
It has to be wrapped in a Box
since Error
has a variant that contains this enum
Trait Implementations
Performs the conversion.