pub struct PsbtInputSatisfier<'psbt> {
    pub psbt: &'psbt Psbt,
    pub index: usize,
}
Expand description

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 Psbt

pbst

index: usize

input index

Implementations

create a new PsbtInputsatisfier from psbt and index

Trait Implementations

Lookup the tap key spend sig
Given a public key and a associated leaf hash, look up an schnorr signature with that key
Given a raw Pkh, lookup corresponding bitcoin::PublicKey
Obtain a reference to the control block for a ver and script
Given a keyhash, look up the schnorr signature and the associated key Even if signatures for public key Hashes are not available, the users can use this map to provide pkh -> pk mapping which can be useful for dissatisfying pkh. Read more
Given a public key, look up an ECDSA signature with that key
Given a keyhash, look up the EC signature and the associated key Even if signatures for public key Hashes are not available, the users can use this map to provide pkh -> pk mapping which can be useful for dissatisfying pkh. Read more
Assert whether a absolute locktime is satisfied
Assert whether an relative locktime is satisfied
Given a HASH160 hash, look up its preimage
Given a SHA256 hash, look up its preimage
Given a HASH256 hash, look up its preimage
Given a RIPEMD160 hash, look up its preimage
Given a raw Pkh, lookup corresponding [bitcoin::XOnlyPublicKey]

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.