Type Alias miniscript::descriptor::KeyMap
source · 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 */ }
Trait Implementations§
source§impl IntoAssets for KeyMap
impl IntoAssets for KeyMap
source§fn into_assets(self) -> Assets
fn into_assets(self) -> Assets
Convert
self
into a Assets
struct