summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
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