![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
A shielded input to a transaction. More...
#include <sapling_transaction.h>
Public Types | |
| typedef std::array< unsigned char, 64 > | spend_auth_sig_t |
Public Member Functions | |
| SpendDescription () | |
| SERIALIZE_METHODS (SpendDescription, obj) | |
Public Attributes | |
| uint256 | cv {UINT256_ZERO} |
| A value commitment to the value of the input note. More... | |
| uint256 | anchor {UINT256_ZERO} |
| A Merkle root of the Sapling note commitment tree at some block height in the past. More... | |
| uint256 | nullifier {UINT256_ZERO} |
| The nullifier of the input note. More... | |
| uint256 | rk {UINT256_ZERO} |
| The randomized public key for spendAuthSig. More... | |
| libzcash::GrothProof | zkproof = {{0}} |
| A zero-knowledge proof using the spend circuit. More... | |
| spend_auth_sig_t | spendAuthSig = {{0}} |
| A signature authorizing this spend. More... | |
Friends | |
| bool | operator== (const SpendDescription &a, const SpendDescription &b) |
| bool | operator!= (const SpendDescription &a, const SpendDescription &b) |
A shielded input to a transaction.
It contains data that describes a Spend transfer.
Definition at line 41 of file sapling_transaction.h.
| typedef std::array<unsigned char, 64> SpendDescription::spend_auth_sig_t |
Definition at line 44 of file sapling_transaction.h.
|
inline |
Definition at line 53 of file sapling_transaction.h.
|
inline |
Definition at line 55 of file sapling_transaction.h.
|
friend |
Definition at line 69 of file sapling_transaction.h.
|
friend |
Definition at line 57 of file sapling_transaction.h.
| uint256 SpendDescription::anchor {UINT256_ZERO} |
A Merkle root of the Sapling note commitment tree at some block height in the past.
Definition at line 47 of file sapling_transaction.h.
| uint256 SpendDescription::cv {UINT256_ZERO} |
A value commitment to the value of the input note.
Definition at line 46 of file sapling_transaction.h.
| uint256 SpendDescription::nullifier {UINT256_ZERO} |
The nullifier of the input note.
Definition at line 48 of file sapling_transaction.h.
| uint256 SpendDescription::rk {UINT256_ZERO} |
The randomized public key for spendAuthSig.
Definition at line 49 of file sapling_transaction.h.
| spend_auth_sig_t SpendDescription::spendAuthSig = {{0}} |
A signature authorizing this spend.
Definition at line 51 of file sapling_transaction.h.
| libzcash::GrothProof SpendDescription::zkproof = {{0}} |
A zero-knowledge proof using the spend circuit.
Definition at line 50 of file sapling_transaction.h.