aboutsummaryrefslogtreecommitdiff
path: root/src/mint/mint_db.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <sreeharsha@totakura.in>2015-03-18 13:50:03 +0100
committerSree Harsha Totakura <sreeharsha@totakura.in>2015-03-18 13:50:03 +0100
commite6b13123d78c7da4fdcb2cf0e7eb5fafe1f62975 (patch)
tree25cf5f56ec26682c52097499098ce026c66bdec6 /src/mint/mint_db.h
parent08958c73e8ba6ad30e98a30968077cdf55bc86e8 (diff)
update reserve summary when withdraws are made through insert_collectible_blindcoin
Diffstat (limited to 'src/mint/mint_db.h')
-rw-r--r--src/mint/mint_db.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mint/mint_db.h b/src/mint/mint_db.h
index 4a9ec1524..cec243c99 100644
--- a/src/mint/mint_db.h
+++ b/src/mint/mint_db.h
@@ -252,6 +252,8 @@ TALER_MINT_DB_get_collectable_blindcoin (PGconn *db_conn,
*
* @param db_conn database connection to use
* @param h_blind hash of the blinded message
+ * @param withdraw amount by which the reserve will be withdrawn with this
+ * transaction
* @param collectable corresponding collectable coin (blind signature)
* if a coin is found
* @return #GNUNET_SYSERR on internal error
@@ -261,6 +263,7 @@ TALER_MINT_DB_get_collectable_blindcoin (PGconn *db_conn,
int
TALER_MINT_DB_insert_collectable_blindcoin (PGconn *db_conn,
const struct GNUNET_HashCode *h_blind,
+ struct TALER_Amount withdraw,
const struct CollectableBlindcoin *collectable);