Type Alias bdk_wallet::descriptor::DerivedDescriptor

source ·
pub type DerivedDescriptor = Descriptor<DefiniteDescriptorKey>;
Expand description

Alias for a Descriptor that contains extended derived keys

Aliased Type§

enum DerivedDescriptor {
    Bare(Bare<DefiniteDescriptorKey>),
    Pkh(Pkh<DefiniteDescriptorKey>),
    Wpkh(Wpkh<DefiniteDescriptorKey>),
    Sh(Sh<DefiniteDescriptorKey>),
    Wsh(Wsh<DefiniteDescriptorKey>),
    Tr(Tr<DefiniteDescriptorKey>),
}

Variants§

§

Bare(Bare<DefiniteDescriptorKey>)

A raw scriptpubkey (including pay-to-pubkey) under Legacy context

§

Pkh(Pkh<DefiniteDescriptorKey>)

Pay-to-PubKey-Hash

§

Wpkh(Wpkh<DefiniteDescriptorKey>)

Pay-to-Witness-PubKey-Hash

§

Sh(Sh<DefiniteDescriptorKey>)

Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)

§

Wsh(Wsh<DefiniteDescriptorKey>)

Pay-to-Witness-ScriptHash with Segwitv0 context

§

Tr(Tr<DefiniteDescriptorKey>)

Pay-to-Taproot