aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_crypto_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-07-15 22:01:06 +0200
committerChristian Grothoff <christian@grothoff.org>2019-07-15 22:01:06 +0200
commit4785bcb4bbdd6055cd54b3d461909e6b071811f5 (patch)
treee0d81384ed06fb9139fa4c8d41b6e69ebd54298f /src/include/taler_crypto_lib.h
parent28f790fac5af5d801d5cb7bd3cdfe53f0ac948d2 (diff)
towards #5777, adding todos/notes
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r--src/include/taler_crypto_lib.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index 18c214e19..4024123bf 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -434,6 +434,28 @@ struct TALER_PlanchetSecretsP
};
+
+/**
+ * Header for serializations of coin-specific information about the fresh
+ * coins we generate from refresh. These are the secrets that arise during
+ * planchet generation, which is the first stage of creating a new coin from
+ * refresh.
+ */
+struct TALER_RefreshPlanchetSecretsP
+{
+
+ /**
+ * Private key of the coin.
+ */
+ struct TALER_CoinSpendPrivateKeyP coin_priv;
+
+ /**
+ * XXX. See #5777~0014690 - need a solution for this first!
+ */
+ struct TALER_TransferPrivateKeyP transfer_priv;
+
+};
+
GNUNET_NETWORK_STRUCT_END