From 4fd01f2bee0a64a72d67129e2f84007125e81ad2 Mon Sep 17 00:00:00 2001 From: Shen Noether Date: Sat, 9 Jul 2016 19:30:28 +0100 Subject: ringct: "simple" ringct variant Allows the fake outs to be in different positions for each ring. For rct inputs only. --- src/cryptonote_core/cryptonote_boost_serialization.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/cryptonote_core') diff --git a/src/cryptonote_core/cryptonote_boost_serialization.h b/src/cryptonote_core/cryptonote_boost_serialization.h index ccdd55883..01239c5ae 100644 --- a/src/cryptonote_core/cryptonote_boost_serialization.h +++ b/src/cryptonote_core/cryptonote_boost_serialization.h @@ -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 + 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; + } } } -- cgit v1.2.3