summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-29 20:00:21 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-29 20:00:21 +0100
commit090ddf170bd6fcf1d3d3d9d4fcc720ccb86b089e (patch)
tree3fc2f500c96db57fdb6cff4c68f9d93bcf5e4389 /src/include/taler_signatures.h
parent8ca555500f01ebb2f7286961588b81b4ee5ac4fe (diff)
downloadexchange-090ddf170bd6fcf1d3d3d9d4fcc720ccb86b089e.tar.gz
exchange-090ddf170bd6fcf1d3d3d9d4fcc720ccb86b089e.tar.bz2
exchange-090ddf170bd6fcf1d3d3d9d4fcc720ccb86b089e.zip
working on cleaning up /refresh/melt logic
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r--src/include/taler_signatures.h39
1 files changed, 30 insertions, 9 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index 84968582e..0518af3f0 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -234,6 +234,36 @@ struct TALER_DepositConfirmation
/**
+ * Format of the block signed by the Mint in response to
+ * a successful "/refresh/melt" request. Hereby the mint
+ * affirms that all of the coins were successfully melted.
+ */
+struct RefreshMeltResponseSignatureBody
+{
+ /**
+ * Purpose is #TALER_SIGNATURE_REFRESH_MELT_RESPONSE.
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+
+ /**
+ * Signature of the client over the melt request (thereby
+ * indirectly including all of the information the client
+ * sent).
+ */
+ struct GNUNET_CRYPTO_EddsaSignature melt_client_signature;
+
+ /**
+ * Public key of the refresh session for which
+ * @e melt_client_signature must be a valid signature.
+ */
+ struct GNUNET_CRYPTO_EddsaPublicKey session_key;
+};
+
+
+
+
+
+/**
* FIXME
*/
struct TALER_MINT_SignKeyIssue
@@ -296,15 +326,6 @@ struct RefreshCommitResponseSignatureBody
};
-/**
- * FIXME
- */
-struct RefreshMeltResponseSignatureBody
-{
- struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
- struct GNUNET_HashCode melt_response_hash;
-};
-
/**
* FIXME