commit 4d1ef62faf2993399153fd7746f6fa1532b85be9
parent 92fb1e6b26a1f452549ce8ed2cd5a0423c62ad8a
Author: Özgür Kesim <oec-taler@kesim.org>
Date: Wed, 3 May 2023 14:29:35 +0200
refinement of age-withdraw reveal protocol and schema
Diffstat:
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
@@ -2512,10 +2512,6 @@ If so, the exchange will blindly sign ``n`` undisclosed coins from the request.
.. ts:def:: AgeWithdrawRevealRequest
interface AgeWithdrawRevealRequest {
- // The public key of the reserve that was used for the initial commitment
- // request. Needed for optimized database lookup.
- reserve_pub: EddsaPublicKey;
-
// Array of ``n`` of ``(kappa - 1)`` disclosed coin master secrets, from
// which the coins' private key ``coin_priv``, blinding ``beta`` and nonce
// ``nonce`` (for Clause-Schnorr) itself are derived as usually in wallet
diff --git a/design-documents/024-age-restriction.rst b/design-documents/024-age-restriction.rst
@@ -439,7 +439,7 @@ schema in the exchange is given here:
label=<<B>age_withdraw_commitments</B>>
margin=20
commitments [
- label="age_withdraw_commitments_id\l|<hc>h_commitment\l|amount_with_fee_val\l|amount_with_fee_frac\l|noreveal_index\l|max_age\l|<res>reserve_pub\l|reserve_sig\l"
+ label="age_withdraw_commitments_id\l|<hc>h_commitment\l|amount_with_fee_val\l|amount_with_fee_frac\l|noreveal_index\l|max_age\l|<res>reserve_pub\l|reserve_sig\l|<denom>n*denominations_serial\l|n*denom_sig\l"
]
}
@@ -447,13 +447,13 @@ schema in the exchange is given here:
label=<<B>age_withdraw_revealed_coins</B>>
margin=20
reveals [
- label="freshcoin_index\l|<comm>h_commitment\l|<denom>denominations_serial\l|h_blind_ev\l|denom_sig\l"
+ label="freshcoin_index\l|<comm>h_commitment\l|h_blind_ev\l"
]
}
commitments:res->reserves:id [ label="n:1"; fontname="monospace"];
+ commitments:denom -> denominations:id [ label="n:1"; fontname="monospace"] ;
reveals:comm -> commitments:hc [ label="n:1"; fontname="monospace" ];
- reveals:denom -> denominations:id [ label="n:1"; fontname="monospace"] ;
}