diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-10 16:15:14 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-10 16:15:14 +0100 |
commit | c2c8646a83c07662e1246f768c23e71c687ddcb0 (patch) | |
tree | 3ea5a96e43fda20b9ecb10485bbc05b0749eff33 /src/mint/mint_db.h | |
parent | 07f18f16601cc4757c0c2658ad501497b07cebee (diff) | |
download | exchange-c2c8646a83c07662e1246f768c23e71c687ddcb0.tar.xz |
combining /mint/melt and /mint/commit
Diffstat (limited to 'src/mint/mint_db.h')
-rw-r--r-- | src/mint/mint_db.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/mint/mint_db.h b/src/mint/mint_db.h index 403e1f394..9818172af 100644 --- a/src/mint/mint_db.h +++ b/src/mint/mint_db.h @@ -474,17 +474,10 @@ struct RefreshSession /** * Index (smaller @e kappa) which the mint has chosen to not - * have revealed during cut and choose. Only valid if - * @e has_commit_sig is set to #GNUNET_YES. + * have revealed during cut and choose. */ uint16_t noreveal_index; - /** - * #GNUNET_YES if we have accepted the /refresh/commit and - * thus the @e commit_sig is valid. - */ - int has_commit_sig; - }; @@ -520,24 +513,6 @@ TALER_MINT_DB_create_refresh_session (PGconn *db_conn, /** - * Update new refresh session with the new state after the - * /refresh/commit operation. - * - * @param db_conn database handle to use - * @param refresh_session_pub public key to use to locate the session - * @param noreveal_index index chosen for the client to not reveal - * @param commit_client_sig signature of the client over its commitment - * @return #GNUNET_YES on success, - * #GNUNET_SYSERR on DB failure - */ -int -TALER_MINT_DB_update_refresh_session (PGconn *db_conn, - const struct GNUNET_CRYPTO_EddsaPublicKey *session_pub, - uint16_t noreveal_index, - const struct GNUNET_CRYPTO_EddsaSignature *commit_client_sig); - - -/** * Specification for coin in a /refresh/melt operation. */ struct RefreshMelt |