pub struct UtreexoLeafError {
pub leaf: CompactLeafData,
pub txid: Txid,
pub vin: usize,
pub kind: LeafErrorKind,
}Expand description
Error while reconstructing a leaf’s scriptPubKey, returned by process_proof.
This error is triggered if the input lacks the hashed data required by the ScriptPubKeyKind (i.e., the public key for P2PKH, the redeem script for P2SH, or the witness public key and witness script for P2WPKH/P2WSH).
Fields§
§leaf: CompactLeafData§txid: Txid§vin: usize§kind: LeafErrorKindTrait Implementations§
Source§impl Debug for UtreexoLeafError
impl Debug for UtreexoLeafError
Source§impl Display for UtreexoLeafError
impl Display for UtreexoLeafError
Source§impl From<UtreexoLeafError> for BlockchainError
impl From<UtreexoLeafError> for BlockchainError
Source§fn from(e: UtreexoLeafError) -> Self
fn from(e: UtreexoLeafError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UtreexoLeafError
impl RefUnwindSafe for UtreexoLeafError
impl Send for UtreexoLeafError
impl Sync for UtreexoLeafError
impl Unpin for UtreexoLeafError
impl UnwindSafe for UtreexoLeafError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more