Bitcoin ABC 0.30.5
P2P Digital Currency
|
Opaque data structure that holds a parsed and valid "x-only" public key. More...
#include <secp256k1_extrakeys.h>
Public Attributes | |
unsigned char | data [64] |
Opaque data structure that holds a parsed and valid "x-only" public key.
An x-only pubkey encodes a point whose Y coordinate is even. It is serialized using only its X coordinate (32 bytes). See BIP-340 for more information about x-only pubkeys.
The exact representation of data inside is implementation defined and not guaranteed to be portable between different platforms or versions. It is however guaranteed to be 64 bytes in size, and can be safely copied/moved. If you need to convert to a format suitable for storage, transmission, use use secp256k1_xonly_pubkey_serialize and secp256k1_xonly_pubkey_parse. To compare keys, use secp256k1_xonly_pubkey_cmp.
Definition at line 22 of file secp256k1_extrakeys.h.
unsigned char secp256k1_xonly_pubkey::data[64] |
Definition at line 23 of file secp256k1_extrakeys.h.