Module bdk::keys [−][src]
Key formats
Modules
bip39 | keys-bip39 BIP-0039 |
Structs
DescriptorSinglePriv | A Single Descriptor Secret Key with optional origin information |
DescriptorSinglePub | A Single Descriptor Key with optional origin information |
GeneratedKey | Output of a |
PrivateKeyGenerateOptions | Options for generating a |
SortedMultiVec | Contents of a “sortedmulti” descriptor |
Enums
DescriptorKey | Container for public or secret keys |
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 |
ExtendedKey | Enum for extended keys that can be either |
KeyError | Errors thrown while working with |
ScriptContextEnum | Enum representation of the known valid |
Traits
DerivableKey | Trait for keys that can be derived. |
ExtScriptContext | Trait that adds extra useful methods to |
GeneratableDefaultOptions | Trait that allows generating a key with the default options |
GeneratableKey | Trait for keys that can be generated |
IntoDescriptorKey | Trait for objects that can be turned into a public or secret |
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 |
Functions
any_network | Create a set containing mainnet, testnet and regtest |
mainnet_network | Create a set only containing mainnet |
merge_networks | Compute the intersection of two sets |
test_networks | Create a set containing testnet and regtest |
Type Definitions
KeyMap | Alias type for a map of public key to secret key |
ValidNetworks | Set of valid networks for a key |