pub type PegInDescriptor = Descriptor<CompressedPublicKey>;
Aliased Type§
enum PegInDescriptor {
Bare(Bare<CompressedPublicKey>),
Pkh(Pkh<CompressedPublicKey>),
Wpkh(Wpkh<CompressedPublicKey>),
Sh(Sh<CompressedPublicKey>),
Wsh(Wsh<CompressedPublicKey>),
Tr(Tr<CompressedPublicKey>),
}
Variants§
Bare(Bare<CompressedPublicKey>)
A raw scriptpubkey (including pay-to-pubkey) under Legacy context
Pkh(Pkh<CompressedPublicKey>)
Pay-to-PubKey-Hash
Wpkh(Wpkh<CompressedPublicKey>)
Pay-to-Witness-PubKey-Hash
Sh(Sh<CompressedPublicKey>)
Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)
Wsh(Wsh<CompressedPublicKey>)
Pay-to-Witness-ScriptHash with Segwitv0 context
Tr(Tr<CompressedPublicKey>)
Pay-to-Taproot