Enum bdk::wallet::verify::VerifyError
source · pub enum VerifyError {
MissingInputTx(Txid),
InvalidInput(OutPoint),
Consensus(Error),
Global(Box<Error>),
}
Available 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§
source§impl Debug for VerifyError
impl Debug for VerifyError
source§impl Display for VerifyError
impl Display for VerifyError
source§impl Error for VerifyError
impl Error for VerifyError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for VerifyError
impl From<Error> for VerifyError
source§impl From<Error> for VerifyError
impl From<Error> for VerifyError
source§impl From<VerifyError> for Error
impl From<VerifyError> for Error
source§fn from(other: VerifyError) -> Self
fn from(other: VerifyError) -> Self
Converts to this type from the input type.