[−][src]Module bdk::descriptor
Descriptors
This module contains generic utilities to work with descriptors, plus some re-exported types
from miniscript
.
Re-exports
pub use self::checksum::get_checksum; |
pub use self::error::Error as DescriptorError; |
pub use self::policy::Policy; |
Modules
checksum | Descriptor checksum |
error | Descriptor errors |
policy | Descriptor policy |
template | Descriptor templates |
Structs
Miniscript | Top-level script AST type |
Enums
Descriptor | Script descriptor |
Legacy | Legacy ScriptContext
To be used as P2SH scripts
For creation of Bare scriptpubkeys, construct the Miniscript
under |
Segwitv0 | Segwitv0 ScriptContext |
Terminal | All AST elements |
Traits
ExtractPolicy | Trait implemented on |
MiniscriptKey | Public key trait which can be converted to Hash type |
ScriptContext | The ScriptContext for Miniscript. Additional type information associated with miniscript that is used for carrying out checks that dependent on the context under which the script is used. For example, disallowing uncompressed keys in Segwit context |
ToPublicKey | Trait describing public key types which can be converted to bitcoin pubkeys
The trait relies on Copy trait because in all practical usecases |
ToWalletDescriptor | Trait for types which can be converted into an |
Type Definitions
ExtendedDescriptor | Alias for a |
HDKeyPaths | Alias for the type of maps that represent derivation paths in a |
KeyMap | Alias type for a map of public key to secret key |