[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: Updates to Policy* definitions
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: Updates to Policy* definitions |
Date: |
Wed, 05 Oct 2022 09:30:04 +0200 |
This is an automated email from the git hooks/post-receive script.
oec pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 5ebdef1 Updates to Policy* definitions
5ebdef1 is described below
commit 5ebdef1e17d86a890f8c898c16a4b5f1d05ebd3d
Author: Özgür Kesim <oec-taler@kesim.org>
AuthorDate: Wed Oct 5 09:30:01 2022 +0200
Updates to Policy* definitions
---
core/api-exchange.rst | 32 ++++++++++++++------------------
1 file changed, 14 insertions(+), 18 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index fb6572d..011c4a5 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -2116,6 +2116,9 @@ proof to the seller for the escrow of sufficient fund.
// EdDSA `public key of the merchant <merchant-pub>`, so that the client
can identify the
// merchant for refund requests.
+ //
+ // THIS FIELD WILL BE DEPRICATED, once the refund mechanism becomes a
+ // policy via extension.
merchant_pub: EddsaPublicKey;
// Date until which the merchant can issue a refund to the customer via
the
@@ -2167,7 +2170,7 @@ proof to the seller for the escrow of sufficient fund.
type DepositPolicy =
| PolicyRefund
- | PolicyAuction
+ | PolicyBrandtVickereyAuction
| PolicyEscrow;
.. ts:def:: PolicyRefund
@@ -2179,30 +2182,29 @@ proof to the seller for the escrow of sufficient fund.
interface PolicyRefund {
type: "refund";
+ // EdDSA `public key of the merchant <merchant-pub>`, so that the client
can identify the
+ // merchant for refund requests.
+ merchant_pub: EddsaPublicKey;
+
// Date until which the merchant can issue a refund to the customer via
// the ``/extensions/policy_refund``-endpoint of the exchange.
deadline: Timestamp;
}
- .. ts:def:: PolicyAuction
+ .. ts:def:: PolicyBrandtVickereyAuction
// CAVEAT: THIS IS STILL WORK IN PROGRESS.
// This policy is optional and might not be supported by the exchange.
// If it does, the exchange MUST show support for this policy in the
// ``extensions`` field in the response to ``/keys``.
- interface PolicyAuction {
+ interface PolicyVickereyAuction {
type: "auction";
// Public key of this bidder.
//
// The bidder uses this key to sign the auction information and
// the messages it sends to the seller during the auction.
- bidder_key: EddsaPublicKey;
-
- // Signature of the ``h_contract_terms`` from the `DepositRequest`
- // (here, the hash of the auction information), signed by the bidder's
- // private key.
- h_auction_sig: EddsaSignature;
+ bidder_pub: EddsaPublicKey;
// Date until the auction must have been successfully executed and
// a valid transcript provided to the ``/extensions/policy_auction``
@@ -2236,18 +2238,12 @@ proof to the seller for the escrow of sufficient fund.
// key, to the ``/extensions/policy_escrow``-endpoint of the exchange,
// after the date specified in ``not_before`` and before the date
// specified in ``not_after``.
- trustor_key: EddsaPublicKey;
-
- // Earliest date before the deposit can be claimed by the merchant.
- // Any attempts to claim this deposit before that date is ignored.
- // Must lie before the date specified in ``not_after``.
- not_before: Timestamp;
+ trustor_pub: EddsaPublicKey;
// Latest date by which the deposit must be claimed. If the deposit
- // has not been claimed by that date, the deposited coins can be
+ // has not been claimed by that date, the deposited coins can be
// refreshed by the (still) owner.
- // Must lie after the date specified in ``not_before``.
- not_after: Timestamp;
+ deadline: Timestamp;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: Updates to Policy* definitions,
gnunet <=