aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-05 14:25:30 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-05 14:25:30 +0200
commit36a8ecd4c47eaaab767d679564aa4e87166fa361 (patch)
tree7d59767c322edc96ece6e996a1a5d5659010e196 /src/include/taler_exchangedb_plugin.h
parentbf9b7e168bfccb7a92793b50936ac404bdfb72d9 (diff)
downloadexchange-36a8ecd4c47eaaab767d679564aa4e87166fa361.tar.xz
-implemented bounded history for reserve status requests
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 4a871786f..82c46cdcb 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -3442,14 +3442,18 @@ struct TALER_EXCHANGEDB_Plugin
*
* @param cls the @e cls of this struct with the plugin-specific state
* @param reserve_pub public key of the reserve
- * @param[out] balance set to the reserve balance
+ * @param[out] balance_in set to the total of inbound
+ * transactions in the returned history
+ * @param[out] balance_out set to the total of outbound
+ * transactions in the returned history
* @param[out] rhp set to known transaction history (NULL if reserve is unknown)
* @return transaction status
*/
enum GNUNET_DB_QueryStatus
(*get_reserve_status)(void *cls,
const struct TALER_ReservePublicKeyP *reserve_pub,
- struct TALER_Amount *balance,
+ struct TALER_Amount *balance_in,
+ struct TALER_Amount *balance_out,
struct TALER_EXCHANGEDB_ReserveHistory **rhp);