aboutsummaryrefslogtreecommitdiff
path: root/src/serialization
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-08-09 10:09:39 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-08-09 10:13:51 +0100
commita2d7a5fb49dedd6c7e024701eefc4c0beade1edd (patch)
tree3dfc661d007479bcf5431db39fe95a5b2aacca62 /src/serialization
parentEncrypted payment IDs (diff)
downloadmonero-a2d7a5fb49dedd6c7e024701eefc4c0beade1edd.tar.xz
encrypted payment ids are now 64 bit, instead of 256 bit
Pros: - smaller on the blockchain - shorter integrated addresses Cons: - less sparseness - less ability to embed actual information The boolean argument to encrypt payment ids is now gone from the RPC calls, since the decision is made based on the length of the payment id passed.
Diffstat (limited to 'src/serialization')
-rw-r--r--src/serialization/crypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serialization/crypto.h b/src/serialization/crypto.h
index f18e85b12..575697c06 100644
--- a/src/serialization/crypto.h
+++ b/src/serialization/crypto.h
@@ -79,12 +79,14 @@ bool do_serialize(Archive<true> &ar, std::vector<crypto::signature> &v)
BLOB_SERIALIZER(crypto::chacha8_iv);
BLOB_SERIALIZER(crypto::hash);
+BLOB_SERIALIZER(crypto::hash8);
BLOB_SERIALIZER(crypto::public_key);
BLOB_SERIALIZER(crypto::secret_key);
BLOB_SERIALIZER(crypto::key_derivation);
BLOB_SERIALIZER(crypto::key_image);
BLOB_SERIALIZER(crypto::signature);
VARIANT_TAG(debug_archive, crypto::hash, "hash");
+VARIANT_TAG(debug_archive, crypto::hash8, "hash8");
VARIANT_TAG(debug_archive, crypto::public_key, "public_key");
VARIANT_TAG(debug_archive, crypto::secret_key, "secret_key");
VARIANT_TAG(debug_archive, crypto::key_derivation, "key_derivation");