Enum bdk::wallet::verify::VerifyError [−][src]
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)
Tuple Fields
0: Txid
The transaction being spent is not available in the database or the blockchain client
InvalidInput(OutPoint)
Tuple Fields
0: OutPoint
The transaction being spent doesn’t have the requested output
Consensus(Error)
Tuple Fields
0: 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.