mirror of
https://github.com/monero-project/monero.git
synced 2025-07-22 01:58:50 -04:00
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:
parent
37c895e5e3
commit
4fd01f2bee
6 changed files with 262 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue