aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-08 23:27:42 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-22 23:17:42 +0000
commitb6534c40e641c957ed4869acf5f58df2be97dcac (patch)
tree25ce8862a0fa64259da34210da1d096ae213869e /src
parentringct: the commitment mask is now deterministic (diff)
downloadmonero-b6534c40e641c957ed4869acf5f58df2be97dcac.tar.xz
ringct: remove unused senderPk from ecdhTuple
This was an early ringct field, which was never used in production
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_basic/cryptonote_boost_serialization.h1
-rw-r--r--src/ringct/rctTypes.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/cryptonote_basic/cryptonote_boost_serialization.h b/src/cryptonote_basic/cryptonote_boost_serialization.h
index 8a527b898..a4228b849 100644
--- a/src/cryptonote_basic/cryptonote_boost_serialization.h
+++ b/src/cryptonote_basic/cryptonote_boost_serialization.h
@@ -262,7 +262,6 @@ namespace boost
memset(&x.amount, 0, sizeof(x.amount));
}
a & amount;
- // a & x.senderPk; // not serialized, as we do not use it in monero currently
}
template <class Archive>
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h
index a02c338e9..50d0f4d91 100644
--- a/src/ringct/rctTypes.h
+++ b/src/ringct/rctTypes.h
@@ -120,17 +120,14 @@ namespace rct {
// If the pedersen commitment to an amount is C = aG + bH,
// "mask" contains a 32 byte key a
// "amount" contains a hex representation (in 32 bytes) of a 64 bit number
- // "senderPk" is not the senders actual public key, but a one-time public key generated for
// the purpose of the ECDH exchange
struct ecdhTuple {
key mask;
key amount;
- key senderPk;
BEGIN_SERIALIZE_OBJECT()
FIELD(mask) // not saved from v2 BPs
FIELD(amount)
- // FIELD(senderPk) // not serialized, as we do not use it in monero currently
END_SERIALIZE()
};