Bitcoin Core 28.99.0
P2P Digital Currency
|
This module implements BIP 327 "MuSig2 for BIP340-compatible Multi-Signatures" (https://github.com/bitcoin/bips/blob/master/bip-0327.mediawiki) v1.0.0. More...
#include <secp256k1_musig.h>
Public Attributes | |
unsigned char | data [197] |
This module implements BIP 327 "MuSig2 for BIP340-compatible Multi-Signatures" (https://github.com/bitcoin/bips/blob/master/bip-0327.mediawiki) v1.0.0.
You can find an example demonstrating the musig module in examples/musig.c.
The module also supports BIP 341 ("Taproot") public key tweaking.
It is recommended to read the documentation in this include file carefully. Further notes on API usage can be found in doc/musig.md
Since the first version of MuSig is essentially replaced by MuSig2, we use MuSig, musig and MuSig2 synonymously unless noted otherwise. Opaque data structures
The exact representation of data inside the opaque data structures is implementation defined and not guaranteed to be portable between different platforms or versions. With the exception of secp256k1_musig_secnonce
, the data structures can be safely copied/moved. If you need to convert to a format suitable for storage, transmission, or comparison, use the corresponding serialization and parsing functions. Opaque data structure that caches information about public key aggregation.
Guaranteed to be 197 bytes in size. No serialization and parsing functions (yet).
Definition at line 43 of file secp256k1_musig.h.
unsigned char secp256k1_musig_keyagg_cache::data[197] |
Definition at line 44 of file secp256k1_musig.h.