pub struct After(pub u32);
Expand description

Newtype around u32 which implements Satisfier using n as an absolute locktime

Tuple Fields

0: u32

Trait Implementations

Assert whether a absolute locktime is satisfied

Given a public key, look up an ECDSA signature with that key

Lookup the tap key spend sig

Given a public key and a associated leaf hash, look up an schnorr signature with that key

Obtain a reference to the control block for a ver and script

Given a Pkh, lookup corresponding Pk

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

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 SHA256 hash, look up its preimage

Given a HASH256 hash, look up its preimage

Given a RIPEMD160 hash, look up its preimage

Given a HASH160 hash, look up its preimage

Assert whether an relative locktime is satisfied

Assert if tx template is satisfied

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.