Module schnorr
Expand description
Schnorr Bitcoin keys.
This module provides Schnorr keys used in Bitcoin, reexporting Secp256k1 Schnorr key types.
Structs§
- Schnorr
Sig - A BIP340-341 serialized schnorr signature with the corresponding hash type.
- Tweaked
KeyPair - Tweaked BIP-340 key pair
- Tweaked
Public Key - Tweaked BIP-340 X-coord-only public key
Enums§
- Schnorr
SigError - A schnorr sig related error.
Traits§
- TapTweak
- A trait for tweaking BIP340 key types (x-only public keys and key pairs).
Type Aliases§
- KeyPair
Deprecated - Deprecated re-export of
secp256k1::KeyPair
- Untweaked
KeyPair - Untweaked BIP-340 key pair
- Untweaked
Public Key - Untweaked BIP-340 X-coord-only public key
- XOnly
Public Key Deprecated - Deprecated re-export of
secp256k1::XOnlyPublicKey