Reorder fields of CPourTx to reflect the spec.
This commit is contained in:
parent
9285bba885
commit
3ebca007f3
|
@ -44,15 +44,15 @@ public:
|
||||||
// to spend it.
|
// to spend it.
|
||||||
boost::array<uint256, ZC_NUM_JS_OUTPUTS> commitments;
|
boost::array<uint256, ZC_NUM_JS_OUTPUTS> commitments;
|
||||||
|
|
||||||
|
// Ephemeral key
|
||||||
|
uint256 ephemeralKey;
|
||||||
|
|
||||||
// Ciphertexts
|
// Ciphertexts
|
||||||
// These contain trapdoors, values and other information
|
// These contain trapdoors, values and other information
|
||||||
// that the recipient needs, including a memo field. It
|
// that the recipient needs, including a memo field. It
|
||||||
// is encrypted using the scheme implemented in crypto/NoteEncryption.cpp
|
// is encrypted using the scheme implemented in crypto/NoteEncryption.cpp
|
||||||
boost::array<ZCNoteEncryption::Ciphertext, ZC_NUM_JS_OUTPUTS> ciphertexts;
|
boost::array<ZCNoteEncryption::Ciphertext, ZC_NUM_JS_OUTPUTS> ciphertexts;
|
||||||
|
|
||||||
// Ephemeral key
|
|
||||||
uint256 ephemeralKey;
|
|
||||||
|
|
||||||
// Random seed
|
// Random seed
|
||||||
uint256 randomSeed;
|
uint256 randomSeed;
|
||||||
|
|
||||||
|
@ -91,8 +91,8 @@ public:
|
||||||
READWRITE(anchor);
|
READWRITE(anchor);
|
||||||
READWRITE(serials);
|
READWRITE(serials);
|
||||||
READWRITE(commitments);
|
READWRITE(commitments);
|
||||||
READWRITE(ciphertexts);
|
|
||||||
READWRITE(ephemeralKey);
|
READWRITE(ephemeralKey);
|
||||||
|
READWRITE(ciphertexts);
|
||||||
READWRITE(randomSeed);
|
READWRITE(randomSeed);
|
||||||
READWRITE(macs);
|
READWRITE(macs);
|
||||||
READWRITE(proof);
|
READWRITE(proof);
|
||||||
|
@ -106,8 +106,8 @@ public:
|
||||||
a.anchor == b.anchor &&
|
a.anchor == b.anchor &&
|
||||||
a.serials == b.serials &&
|
a.serials == b.serials &&
|
||||||
a.commitments == b.commitments &&
|
a.commitments == b.commitments &&
|
||||||
a.ciphertexts == b.ciphertexts &&
|
|
||||||
a.ephemeralKey == b.ephemeralKey &&
|
a.ephemeralKey == b.ephemeralKey &&
|
||||||
|
a.ciphertexts == b.ciphertexts &&
|
||||||
a.randomSeed == b.randomSeed &&
|
a.randomSeed == b.randomSeed &&
|
||||||
a.macs == b.macs &&
|
a.macs == b.macs &&
|
||||||
a.proof == b.proof
|
a.proof == b.proof
|
||||||
|
|
Loading…
Reference in New Issue