bdk_wallet::keys

Type Alias KeyMap

pub type KeyMap = BTreeMap<DescriptorPublicKey, DescriptorSecretKey>;
Expand description

Alias type for a map of public key to secret key

This map is returned whenever a descriptor that contains secrets is parsed using Descriptor::parse_descriptor, since the descriptor will always only contain public keys. This map allows looking up the corresponding secret key given a public key from the descriptor.

Aliased Typeยง

struct KeyMap { /* private fields */ }