Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Attributes | List of all members
secp256k1_xonly_pubkey Struct Reference

Opaque data structure that holds a parsed and valid "x-only" public key. More...

#include <secp256k1_extrakeys.h>

Public Attributes

unsigned char data [64]
 

Detailed Description

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, or comparison, use secp256k1_xonly_pubkey_serialize and secp256k1_xonly_pubkey_parse.

Definition at line 22 of file secp256k1_extrakeys.h.

Member Data Documentation

◆ data

unsigned char secp256k1_xonly_pubkey::data[64]

Definition at line 23 of file secp256k1_extrakeys.h.


The documentation for this struct was generated from the following file: