diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-29 20:18:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-29 20:18:04 +0100 |
commit | fa7f190745327322ced27b506fd9e905c4e65b8c (patch) | |
tree | f830b3cfd59d5a7041e478ff85caaeafb4c721ff /src/mint/mint.h | |
parent | 090ddf170bd6fcf1d3d3d9d4fcc720ccb86b089e (diff) | |
download | exchange-fa7f190745327322ced27b506fd9e905c4e65b8c.tar.xz |
logic of execute_refresh_commit is now clean
Diffstat (limited to 'src/mint/mint.h')
-rw-r--r-- | src/mint/mint.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/mint/mint.h b/src/mint/mint.h index e2d559701..fb4889dbb 100644 --- a/src/mint/mint.h +++ b/src/mint/mint.h @@ -26,7 +26,6 @@ #include <jansson.h> #include "taler_util.h" - /** * For now, we just do EUR. Should become configurable * in the future! @@ -34,58 +33,4 @@ #define MINT_CURRENCY "EUR" - - - - - - - -/** - * For each (old) coin being melted, we have a `struct - * RefreshCommitLink` that allows the user to find the shared secret - * to decrypt the respective refresh links for the new coins in the - * `struct RefreshCommitCoin`. - */ -struct RefreshCommitLink -{ - /** - * Transfer public key (FIXME: explain!) - */ - struct GNUNET_CRYPTO_EcdsaPublicKey transfer_pub; - - /** - * Encrypted shared secret to decrypt the link. - */ - struct TALER_EncryptedLinkSecret shared_secret_enc; -}; - - -/** - * We have as many `struct RefreshCommitCoin` as there are new - * coins being created by the refresh. - */ -struct RefreshCommitCoin -{ - - /** - * Encrypted data allowing those able to decrypt it to derive - * the private keys of the new coins created by the refresh. - */ - struct TALER_RefreshLinkEncrypted *refresh_link; - - /** - * Blinded message to be signed (in envelope), with @e coin_env_size bytes. - */ - char *coin_ev; - - /** - * Number of bytes in @e coin_ev. - */ - size_t coin_ev_size; - -}; - - - #endif /* _MINT_H */ |