Enum bitcoin_scripting::SigVersion
source · pub enum SigVersion {
BASE,
WITNESS_V0,
TAPROOT,
TAPSCRIPT,
}
Variants§
BASE
| Bare scripts and BIP16 P2SH-wrapped | redeemscripts |
WITNESS_V0
| Witness v0 (P2WPKH and P2WSH); see BIP | 141 |
TAPROOT
| Witness v1 with 32-byte program, not | BIP16 P2SH-wrapped, key path spending; | see BIP 341 |
TAPSCRIPT
| Witness v1 with 32-byte program, not | BIP16 P2SH-wrapped, script path spending, | leaf version 0xc0; see BIP 342 |
Auto Trait Implementations§
impl RefUnwindSafe for SigVersion
impl Send for SigVersion
impl Sync for SigVersion
impl Unpin for SigVersion
impl UnwindSafe for SigVersion
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