PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Attributes | List of all members
secp256k1_whitelist_signature Struct Reference

Opaque data structure that holds a parsed whitelist proof. More...

#include <secp256k1_whitelist.h>

Public Attributes

size_t n_keys
 
unsigned char data [32 *(1+SECP256K1_WHITELIST_MAX_N_KEYS)]
 

Detailed Description

Opaque data structure that holds a parsed whitelist proof.

The exact representation of data inside is implementation defined and not guaranteed to be portable between different platforms or versions. Nor is it guaranteed to have any particular size, nor that identical signatures will have identical representation. (That is, memcmp may return nonzero even for identical signatures.)

To obtain these properties, instead use secp256k1_whitelist_signature_parse and secp256k1_whitelist_signature_serialize to encode/decode signatures into a well-defined format.

The representation is exposed to allow creation of these objects on the stack; please do not use these internals directly. To learn the number of keys for a signature, use secp256k1_whitelist_signature_n_keys.

Definition at line 34 of file secp256k1_whitelist.h.

Member Data Documentation

◆ data

unsigned char secp256k1_whitelist_signature::data[32 *(1+SECP256K1_WHITELIST_MAX_N_KEYS)]

Definition at line 37 of file secp256k1_whitelist.h.

◆ n_keys

size_t secp256k1_whitelist_signature::n_keys

Definition at line 35 of file secp256k1_whitelist.h.


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