[−][src]Module miniscript::descriptor
Output Descriptors
Tools for representing Bitcoin output's scriptPubKeys as abstract spending policies known as "output descriptors". These include a Miniscript which describes the actual signing policy, as well as the blockchain format (P2SH, Segwit v0, etc.)
The format represents EC public keys abstractly to allow wallets to replace these with BIP32 paths, pay-to-contract instructions, etc.
Structs
DescriptorKeyParseError | Descriptor Key parsing errors |
DescriptorPublicKeyCtx | Context information for deriving a public key from DescriptorPublicKey |
DescriptorSinglePriv | A Single Descriptor Secret Key with optional origin information |
DescriptorSinglePub | A Single Descriptor Key with optional origin information |
DescriptorXKey | Instance of an extended key with origin and derivation path |
SortedMultiVec | Contents of a "sortedmulti" descriptor |
Enums
Descriptor | Script descriptor |
DescriptorPublicKey | The MiniscriptKey corresponding to Descriptors. This can either be Single public key or a Xpub |
DescriptorSecretKey | A Secret Key that can be either a single key or an Xprv |
Traits
InnerXKey | Trait for "extended key" types like |
Type Definitions
KeyMap | Alias type for a map of public key to secret key |