[−][src]Struct miniscript::psbt::PsbtInputSatisfier
Psbt satisfier for at inputs at a particular index Takes in &psbt because multiple inputs will share the same psbt structure All operations on this structure will panic if index is more than number of inputs in pbst
Fields
psbt: &'psbt Psbtpbst
index: usizeinput index
Implementations
impl<'psbt> PsbtInputSatisfier<'psbt>[src]
pub fn new(psbt: &'psbt Psbt, index: usize) -> Self[src]
create a new PsbtInputsatisfier from psbt and index
Trait Implementations
impl<'psbt, Pk: MiniscriptKey + ToPublicKey> Satisfier<Pk> for PsbtInputSatisfier<'psbt>[src]
fn lookup_sig(&self, pk: &Pk) -> Option<BitcoinSig>[src]
fn lookup_pkh_sig(&self, pkh: &Pk::Hash) -> Option<(PublicKey, BitcoinSig)>[src]
fn check_after(&self, n: u32) -> bool[src]
fn check_older(&self, n: u32) -> bool[src]
fn lookup_pkh_pk(&self, _: &Pk::Hash) -> Option<Pk>[src]
fn lookup_sha256(&self, _: Hash) -> Option<[u8; 32]>[src]
fn lookup_hash256(&self, _: Hash) -> Option<[u8; 32]>[src]
fn lookup_ripemd160(&self, _: Hash) -> Option<[u8; 32]>[src]
fn lookup_hash160(&self, _: Hash) -> Option<[u8; 32]>[src]
Auto Trait Implementations
impl<'psbt> RefUnwindSafe for PsbtInputSatisfier<'psbt>
impl<'psbt> Send for PsbtInputSatisfier<'psbt>
impl<'psbt> Sync for PsbtInputSatisfier<'psbt>
impl<'psbt> Unpin for PsbtInputSatisfier<'psbt>
impl<'psbt> UnwindSafe for PsbtInputSatisfier<'psbt>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,