summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-24 17:13:17 +0100
committerChristian Grothoff <christian@grothoff.org>2015-03-24 17:13:17 +0100
commitf052af1e6bc9532c7a924ca3e8edba2e990b3b83 (patch)
tree7440e5d69953e657e8cd62a9ee2ba3c9864cdf13 /src/include/taler_signatures.h
parent55959bd01d636d324077d4201df0beca676e8d58 (diff)
downloadexchange-f052af1e6bc9532c7a924ca3e8edba2e990b3b83.tar.gz
exchange-f052af1e6bc9532c7a924ca3e8edba2e990b3b83.tar.bz2
exchange-f052af1e6bc9532c7a924ca3e8edba2e990b3b83.zip
address #3731: no need for session public key or signature
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r--src/include/taler_signatures.h70
1 files changed, 2 insertions, 68 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index fa713dc42..b8fe8a7b7 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -61,28 +61,16 @@
#define TALER_SIGNATURE_REFRESH_MELT_COIN 5
/**
- * Signature where the refresh session confirms
- * the commits.
- */
-#define TALER_SIGNATURE_REFRESH_MELT_SESSION 6
-
-/**
* Signature where the mint (current signing key)
* confirms the no-reveal index for cut-and-choose and
* the validity of the melted coins.
*/
-#define TALER_SIGNATURE_REFRESH_MELT_RESPONSE 7
-
-/**
- * Signature where coins confirm that they want
- * to be melted into a certain session.
- */
-#define TALER_SIGNATURE_REFRESH_MELT_CONFIRM 9
+#define TALER_SIGNATURE_REFRESH_MELT_RESPONSE 6
/**
* Signature where the Mint confirms a deposit request.
*/
-#define TALER_SIGNATURE_MINT_DEPOSIT 10
+#define TALER_SIGNATURE_MINT_DEPOSIT 7
/***********************/
@@ -278,40 +266,6 @@ struct RefreshMeltCoinSignature
/**
- * Message signed by a coin to indicate that the coin should
- * be melted.
- */
-struct RefreshMeltSessionSignature
-{
- /**
- * Purpose is #TALER_SIGNATURE_REFRESH_MELT_SESSION
- */
- struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
-
- /**
- * Which melting operation should the coin become a part of.
- */
- struct GNUNET_HashCode melt_hash;
-
- /**
- * Public key of the refresh session for which
- * @e melt_client_signature must be a valid signature.
- */
- struct TALER_SessionPublicKey session_key;
-
- /**
- * What is the total value of the coins created during the
- * refresh, including melting fee!
- */
- struct TALER_AmountNBO amount_with_fee;
-
- /* FIXME: we should probably also include the value of
- the melting fee here as well! */
-
-};
-
-
-/**
* 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. This also commits the mint to a
@@ -337,26 +291,6 @@ struct RefreshMeltResponseSignatureBody
/**
- * Message signed by the client requesting the final
- * result of the melting operation.
- */
-struct RefreshMeltConfirmSignRequestBody
-{
- /**
- * Purpose is #TALER_SIGNATURE_REFRESH_MELT_CONFIRM.
- */
- struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
-
- // FIXME: We probably need more info in here...
-
- /**
- * Public key the client uses for this session.
- */
- struct TALER_SessionPublicKey session_pub;
-};
-
-
-/**
* Information about a signing key of the mint. Signing keys are used
* to sign mint messages other than coins, i.e. to confirm that a
* deposit was successful or that a refresh was accepted.