summaryrefslogtreecommitdiff
path: root/src/include/taler_exchange_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-07 23:41:33 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-07 23:41:33 +0200
commit415c922c929a2d0a1a7263a406cdd793b0d40cb3 (patch)
treee03a58e7a00299050f155d11eae8851e5769e528 /src/include/taler_exchange_service.h
parent2d84d7f6ddce69b5c1d4d44a16a9aa0663fd4eba (diff)
downloadexchange-415c922c929a2d0a1a7263a406cdd793b0d40cb3.tar.gz
exchange-415c922c929a2d0a1a7263a406cdd793b0d40cb3.tar.bz2
exchange-415c922c929a2d0a1a7263a406cdd793b0d40cb3.zip
-address FIXMEs for purses GET requests
Diffstat (limited to 'src/include/taler_exchange_service.h')
-rw-r--r--src/include/taler_exchange_service.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index 2a88c1014..756e9cd99 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -4097,6 +4097,12 @@ struct TALER_EXCHANGE_PurseGetResponse
*/
struct GNUNET_TIME_Timestamp deposit_timestamp;
+ /**
+ * Reserve balance (how much was deposited in
+ * total into the reserve, minus deposit fees).
+ */
+ struct TALER_Amount balance;
+
} success;
} details;
@@ -4126,7 +4132,7 @@ struct TALER_EXCHANGE_PurseGetHandle;
* Request information about a purse from the exchange.
*
* @param exchange exchange handle
- * @param purse_priv private key of the purse
+ * @param purse_pub public key of the purse
* @param timeout how long to wait for a change to happen
* @param wait_for_merge true to wait for a merge event, otherwise wait for a deposit event
* @param cb function to call with the exchange's result
@@ -4136,7 +4142,7 @@ struct TALER_EXCHANGE_PurseGetHandle;
struct TALER_EXCHANGE_PurseGetHandle *
TALER_EXCHANGE_purse_get (
struct TALER_EXCHANGE_Handle *exchange,
- const struct TALER_PurseContractPrivateKeyP *purse_priv,
+ const struct TALER_PurseContractPublicKeyP *purse_pub,
struct GNUNET_TIME_Relative timeout,
bool wait_for_merge,
TALER_EXCHANGE_PurseGetCallback cb,