PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Public Attributes | Friends | List of all members
OutputDescription Class Reference

A shielded output to a transaction. More...

#include <sapling_transaction.h>

Collaboration diagram for OutputDescription:
[legend]

Public Member Functions

 OutputDescription ()
 
 SERIALIZE_METHODS (OutputDescription, obj)
 

Public Attributes

uint256 cv {UINT256_ZERO}
 A value commitment to the value of the output note. More...
 
uint256 cmu {UINT256_ZERO}
 The u-coordinate of the note commitment for the output note. More...
 
uint256 ephemeralKey {UINT256_ZERO}
 A Jubjub public key. More...
 
libzcash::SaplingEncCiphertext encCiphertext = {{0}}
 A ciphertext component for the encrypted output note. More...
 
libzcash::SaplingOutCiphertext outCiphertext = {{0}}
 A ciphertext component for the encrypted output note. More...
 
libzcash::GrothProof zkproof = {{0}}
 A zero-knowledge proof using the output circuit. More...
 

Friends

bool operator== (const OutputDescription &a, const OutputDescription &b)
 
bool operator!= (const OutputDescription &a, const OutputDescription &b)
 

Detailed Description

A shielded output to a transaction.

It contains data that describes an Output transfer.

Definition at line 78 of file sapling_transaction.h.

Constructor & Destructor Documentation

◆ OutputDescription()

OutputDescription::OutputDescription ( )
inline

Definition at line 88 of file sapling_transaction.h.

Member Function Documentation

◆ SERIALIZE_METHODS()

OutputDescription::SERIALIZE_METHODS ( OutputDescription  ,
obj   
)
inline

Definition at line 90 of file sapling_transaction.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const OutputDescription a,
const OutputDescription b 
)
friend

Definition at line 104 of file sapling_transaction.h.

◆ operator==

bool operator== ( const OutputDescription a,
const OutputDescription b 
)
friend

Definition at line 92 of file sapling_transaction.h.

Member Data Documentation

◆ cmu

uint256 OutputDescription::cmu {UINT256_ZERO}

The u-coordinate of the note commitment for the output note.

Definition at line 82 of file sapling_transaction.h.

◆ cv

uint256 OutputDescription::cv {UINT256_ZERO}

A value commitment to the value of the output note.

Definition at line 81 of file sapling_transaction.h.

◆ encCiphertext

libzcash::SaplingEncCiphertext OutputDescription::encCiphertext = {{0}}

A ciphertext component for the encrypted output note.

Definition at line 84 of file sapling_transaction.h.

◆ ephemeralKey

uint256 OutputDescription::ephemeralKey {UINT256_ZERO}

A Jubjub public key.

Definition at line 83 of file sapling_transaction.h.

◆ outCiphertext

libzcash::SaplingOutCiphertext OutputDescription::outCiphertext = {{0}}

A ciphertext component for the encrypted output note.

Definition at line 85 of file sapling_transaction.h.

◆ zkproof

libzcash::GrothProof OutputDescription::zkproof = {{0}}

A zero-knowledge proof using the output circuit.

Definition at line 86 of file sapling_transaction.h.


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