aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorShen Noether <Shen.Noether@gmx.com>2016-07-09 19:30:28 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:29:14 +0100
commit4fd01f2bee0a64a72d67129e2f84007125e81ad2 (patch)
tree490e090d8253d7ccc7889369a76ea8b580d94187 /src/cryptonote_core
parentwallet: rct specific output selection (diff)
downloadmonero-4fd01f2bee0a64a72d67129e2f84007125e81ad2.tar.xz
ringct: "simple" ringct variant
Allows the fake outs to be in different positions for each ring. For rct inputs only.
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/cryptonote_boost_serialization.h13
1 files changed, 13 insertions, 0 deletions
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 <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;
+ }
}
}