diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-29 20:41:11 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-29 20:41:11 +0100 |
commit | d751c9c6dea06267259ca5fe934feeb26f6ea6db (patch) | |
tree | 292dbbf49dbf98e68e081fae423acd15f2ceb9df /src/mint/mint_db.h | |
parent | f35d358552d9d4be39623e38577821835686d430 (diff) |
eliminating obsolete KnownCoin APIs
Diffstat (limited to 'src/mint/mint_db.h')
-rw-r--r-- | src/mint/mint_db.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/mint/mint_db.h b/src/mint/mint_db.h index ae3f69ef..5762656d 100644 --- a/src/mint/mint_db.h +++ b/src/mint/mint_db.h @@ -44,50 +44,6 @@ TALER_MINT_DB_insert_refresh_order (PGconn *db_conn, - - - -/** - * FIXME - */ -struct KnownCoin -{ - struct TALER_CoinPublicInfo public_info; - - /** - * Refreshing session, only valid if - * is_refreshed==1. - */ - struct GNUNET_CRYPTO_EddsaPublicKey refresh_session_pub; - - struct TALER_Amount expended_balance; - - int is_refreshed; - -}; - - -int -TALER_MINT_DB_get_known_coin (PGconn *db_conn, - const struct GNUNET_CRYPTO_EcdsaPublicKey *coin_pub, - struct KnownCoin *known_coin); - -// FIXME: what does 'upsert' even mean!? -int -TALER_MINT_DB_upsert_known_coin (PGconn *db_conn, - struct KnownCoin *known_coin); - - -int -TALER_MINT_DB_insert_known_coin (PGconn *db_conn, - const struct KnownCoin *known_coin); - - - - - - - struct GNUNET_CRYPTO_rsa_PublicKey * TALER_MINT_DB_get_refresh_order (PGconn *db_conn, uint16_t newcoin_index, |