1
0
Fork 0
forked from lthn/blockchain

tx_out_zarcanum: mix_attr added

This commit is contained in:
sowle 2022-06-30 18:42:13 +02:00
parent 45e1bbcafa
commit fc01b6a099
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC
2 changed files with 4 additions and 0 deletions

View file

@ -358,6 +358,7 @@ namespace currency
crypto::public_key concealing_point; // group element Q, see also Zarcanum paper
crypto::public_key amount_commitment;
uint64_t encrypted_amount;
uint8_t mix_attr;
//crypto::public_key token_masked_generator;
BEGIN_SERIALIZE_OBJECT()
@ -365,6 +366,7 @@ namespace currency
FIELD(concealing_point)
FIELD(amount_commitment)
FIELD(encrypted_amount)
FIELD(mix_attr)
END_SERIALIZE()
BEGIN_BOOST_SERIALIZATION()
@ -372,6 +374,7 @@ namespace currency
BOOST_SERIALIZE(concealing_point)
BOOST_SERIALIZE(amount_commitment)
BOOST_SERIALIZE(encrypted_amount)
BOOST_SERIALIZE(mix_attr)
END_BOOST_SERIALIZATION()
};

View file

@ -117,6 +117,7 @@ namespace boost
a & x.concealing_point;
a & x.amount_commitment;
a & x.encrypted_amount;
a & x.mix_attr;
}
template <class Archive>