From 36a8ecd4c47eaaab767d679564aa4e87166fa361 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 5 Jul 2022 14:25:30 +0200 Subject: -implemented bounded history for reserve status requests --- src/include/taler_exchangedb_plugin.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/include') 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); -- cgit v1.2.3