ringct: "simple" ringct variant

Allows the fake outs to be in different positions for each ring.
For rct inputs only.
This commit is contained in:
Shen Noether 2016-07-09 19:30:28 +01:00 committed by moneromooo-monero
parent 37c895e5e3
commit 4fd01f2bee
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
6 changed files with 262 additions and 3 deletions

View file

@ -232,6 +232,19 @@ namespace boost
a & x.txnFee;
// a & x.bash_hash; bash_hash is not serialized, as it can be reconstructed from the tx data
}
template <class Archive>
inline void serialize(Archive &a, rct::sRctSig &x, const boost::serialization::version_type ver)
{
// a & x.message; message is not serialized, as it can be reconstructed from the tx data
a & x.rangeSigs;
a & x.MG;
// a & x.mixRing; mixRing is not serialized, as it can be reconstructed from the offsets
a & x.pseudoOuts;
a & x.ecdhInfo;
a & x.outPk;
a & x.txnFee;
}
}
}