commit 25af3f7f20ab6e84e7944359e76df2ad5be22cef
parent 7f3675e342165619db3f46f46e91c8769030c320
Author: Özgür Kesim <oec-taler@kesim.org>
Date: Tue, 15 Apr 2025 10:12:47 +0200
[exchange] change definition of the commitment for /reveal-withdraw
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
@@ -2243,7 +2243,7 @@ These endpoints are called by the client
Error code:
``TALER_EC_EXCHANGE_GENERIC_COIN_AGE_REQUIREMENT_FAILURE``.
- The computation of the hash of the commitment with provided input does
- result in the value of field ``h_planchets``.
+ result in the value of field ``h_commitment``.
Error code:
``TALER_EC_EXCHANGE_AGE_WITHDRAW_REVEAL_INVALID_HASH``
@@ -2255,9 +2255,10 @@ These endpoints are called by the client
.. ts:def:: RevealWithdrawRequest
interface RevealWithdrawRequest {
- // The running hash of all blinded planchets
- // from the previous call to /withdraw.
- h_planchets: string;
+ // This is the Hash(reserve_pub, h_planchets), of the reserve's public
+ // key and the running hash of all blinded planchets from the previous
+ // call to /withdraw.
+ h_commitment: string;
// Array of ``(kappa - 1)`` disclosed batch secrets,
// from which for each of the n coins in a batch