aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_auditordb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-10-28 11:30:02 +0100
committerChristian Grothoff <christian@grothoff.org>2018-10-28 11:30:02 +0100
commitbd40aad7dc22c9f5d723f82384c5d57204205b7a (patch)
tree1a2c4433d8781c2b2f7f8d3ea28f22234784b624 /src/include/taler_auditordb_plugin.h
parentfb0d7110e80546f77d8c562ecfeb2ae06e2f4b6b (diff)
track number of coins issued per denomination in auditor (not yet used)
Diffstat (limited to 'src/include/taler_auditordb_plugin.h')
-rw-r--r--src/include/taler_auditordb_plugin.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/include/taler_auditordb_plugin.h b/src/include/taler_auditordb_plugin.h
index 65db12b7e..76dcc3507 100644
--- a/src/include/taler_auditordb_plugin.h
+++ b/src/include/taler_auditordb_plugin.h
@@ -509,7 +509,6 @@ struct TALER_AUDITORDB_Plugin
(*insert_exchange_signkey) (void *cls,
struct TALER_AUDITORDB_Session *session,
const struct TALER_AUDITORDB_ExchangeSigningKey *sk);
- // FIXME: above function is not yet implemented!, check for _XX for prepared statement!
/**
@@ -1040,6 +1039,7 @@ struct TALER_AUDITORDB_Plugin
* @param denom_pub_hash hash of the denomination public key
* @param denom_balance value of coins outstanding with this denomination key
* @param denom_risk value of coins issued with this denomination key
+ * @param num_issued how many coins of this denomination did the exchange blind-sign
* @return transaction status code
*/
enum GNUNET_DB_QueryStatus
@@ -1047,7 +1047,8 @@ struct TALER_AUDITORDB_Plugin
struct TALER_AUDITORDB_Session *session,
const struct GNUNET_HashCode *denom_pub_hash,
const struct TALER_Amount *denom_balance,
- const struct TALER_Amount *denom_risk);
+ const struct TALER_Amount *denom_risk,
+ uint64_t num_issued);
/**
@@ -1059,6 +1060,7 @@ struct TALER_AUDITORDB_Plugin
* @param denom_pub_hash hash of the denomination public key
* @param denom_balance value of coins outstanding with this denomination key
* @param denom_risk value of coins issued with this denomination key
+ * @param num_issued how many coins of this denomination did the exchange blind-sign
* @return transaction status code
*/
enum GNUNET_DB_QueryStatus
@@ -1066,7 +1068,8 @@ struct TALER_AUDITORDB_Plugin
struct TALER_AUDITORDB_Session *session,
const struct GNUNET_HashCode *denom_pub_hash,
const struct TALER_Amount *denom_balance,
- const struct TALER_Amount *denom_risk);
+ const struct TALER_Amount *denom_risk,
+ uint64_t num_issued);
/**
@@ -1077,6 +1080,7 @@ struct TALER_AUDITORDB_Plugin
* @param denom_pub_hash hash of the denomination public key
* @param[out] denom_balance value of coins outstanding with this denomination key
* @param[out] denom_risk value of coins issued with this denomination key
+ * @param[out] num_issued how many coins of this denomination did the exchange blind-sign
* @return transaction status code
*/
enum GNUNET_DB_QueryStatus
@@ -1084,7 +1088,8 @@ struct TALER_AUDITORDB_Plugin
struct TALER_AUDITORDB_Session *session,
const struct GNUNET_HashCode *denom_pub_hash,
struct TALER_Amount *denom_balance,
- struct TALER_Amount *denom_risk);
+ struct TALER_Amount *denom_risk,
+ uint64_t *num_issued);
/**