![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Opaque data structure that holds a parsed surjection proof. More...
#include <secp256k1_surjectionproof.h>
Public Attributes | |
| size_t | n_inputs |
| Total number of input asset tags. More... | |
| unsigned char | used_inputs [SECP256K1_SURJECTIONPROOF_MAX_N_INPUTS/8] |
| Bitmap of which input tags are used in the surjection proof. More... | |
| unsigned char | data [32 *(1+SECP256K1_SURJECTIONPROOF_MAX_N_INPUTS)] |
| Borromean signature: e0, scalars. More... | |
Opaque data structure that holds a parsed surjection 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 proofs will have identical representation. (That is, memcmp may return nonzero even for identical proofs.)
To obtain these properties, instead use secp256k1_surjectionproof_parse and secp256k1_surjectionproof_serialize to encode/decode proofs 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.
Definition at line 39 of file secp256k1_surjectionproof.h.
| unsigned char secp256k1_surjectionproof::data[32 *(1+SECP256K1_SURJECTIONPROOF_MAX_N_INPUTS)] |
Borromean signature: e0, scalars.
Definition at line 49 of file secp256k1_surjectionproof.h.
| size_t secp256k1_surjectionproof::n_inputs |
Total number of input asset tags.
Definition at line 45 of file secp256k1_surjectionproof.h.
| unsigned char secp256k1_surjectionproof::used_inputs[SECP256K1_SURJECTIONPROOF_MAX_N_INPUTS/8] |
Bitmap of which input tags are used in the surjection proof.
Definition at line 47 of file secp256k1_surjectionproof.h.
1.8.17