pub enum IsMineSigVersion {
TOP,
P2SH,
WITNESS_V0,
}
Expand description
| This is an enum that tracks the execution | context of a script, similar to | | SigVersion in script/interpreter. | It is separate however because we want | to distinguish between top-level scriptPubKey | execution and P2SH redeemScript execution | (a distinction that has no impact on | consensus rules). |
Variants§
TOP
| scriptPubKey execution |
P2SH
| P2SH redeemScript |
WITNESS_V0
| P2WSH witness script execution |
Auto Trait Implementations§
impl RefUnwindSafe for IsMineSigVersion
impl Send for IsMineSigVersion
impl Sync for IsMineSigVersion
impl Unpin for IsMineSigVersion
impl UnwindSafe for IsMineSigVersion
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more