Module bdk_wallet::descriptor

source ·
Expand description

Descriptors

This module contains generic utilities to work with descriptors, plus some re-exported types from [miniscript].

Re-exports§

Modules§

Structs§

  • The top-level miniscript abstract syntax tree (AST).

Enums§

  • Script descriptor
  • The descriptor pubkey, either a single pubkey or an xpub.
  • Legacy ScriptContext To be used as P2SH scripts For creation of Bare scriptpubkeys, construct the Miniscript under Bare ScriptContext
  • Segwitv0 ScriptContext

Traits§

  • Trait implemented on Descriptors to add a method to extract the spending policy
  • Trait for types which can be converted into an ExtendedDescriptor and a KeyMap usable by a wallet in a specific [Network]
  • 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

Type Aliases§