Module bitcoin::util::schnorr

source ·
Expand description

Schnorr Bitcoin keys.

This module provides Schnorr keys used in Bitcoin, reexporting Secp256k1 Schnorr key types.

Structs

A BIP340-341 serialized schnorr signature with the corresponding hash type.
Tweaked BIP-340 key pair
Tweaked BIP-340 X-coord-only public key

Enums

A schnorr sig related error.

Traits

A trait for tweaking BIP340 key types (x-only public keys and key pairs).

Type Definitions

KeyPairDeprecated
Deprecated re-export of secp256k1::KeyPair
Untweaked BIP-340 key pair
Untweaked BIP-340 X-coord-only public key
XOnlyPublicKeyDeprecated
Deprecated re-export of secp256k1::XOnlyPublicKey