summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2021-10-14 13:53:22 +0200
committerÖzgür Kesim <oec@codeblau.de>2021-10-14 13:54:24 +0200
commite746d8f0d363bc8115cc21ac91a429d8d161ed70 (patch)
tree950f71c82a4ba1031d590eedb46846727c8e8535
parent25e571be72dffb769e50ba93d4282be8d7e68f31 (diff)
downloaddocs-age-restriction.tar.gz
docs-age-restriction.tar.bz2
docs-age-restriction.zip
typos fixed in 024-age-restriction.tstage-restriction
-rw-r--r--design-documents/024-age-restriction.rst26
1 files changed, 18 insertions, 8 deletions
diff --git a/design-documents/024-age-restriction.rst b/design-documents/024-age-restriction.rst
index c7433f0..ccc2a84 100644
--- a/design-documents/024-age-restriction.rst
+++ b/design-documents/024-age-restriction.rst
@@ -89,7 +89,7 @@ registering the extension ``age_restriction.v1`` with a value type
.. ts:def:: ExtensionAgeRestriction
interface ExtensionAgeRestriction {
- // The fields ``description``and ``required`` are mandatory for each
+ // The fields ``description`` and ``required`` are mandatory for each
// extension.
// Description will be something like:
@@ -114,10 +114,10 @@ registering the extension ``age_restriction.v1`` with a value type
}
Registering an extension is defined in
-:doc:`design document 006 *Extensions* <006-extensions>`.
+:doc:`design document 006 ― Extensions <006-extensions>`.
Age restricted denominations
-----------------------------
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If age-restriction is registered as an extension under the name
``age_restriction.v1``, as described above, the root-object
@@ -152,31 +152,40 @@ apply for each denomination in the list:
// denominations in ExchangeKeysResponse.denoms. **However**, the
// following differences apply for each denomination in the list:
//
- // 1. The value of TALER_DenominationKeyValidityPS.denom_hash
+ // 1. The value of ``TALER_DenominationKeyValidityPS.denom_hash``
// is taken over the public key of the denomination __and__ the
// string in ``ExtensionAgeRestriction.age_groups`` from the
// corresponding extension object.
//
- // 2. The value of TALER_DenominationKeyValidityPS.purpose is set to
- // TALER_SIGNATURE_MASTER_AGE_RESTRICTED_DENOMINATION_KEY_VALIDITY
+ // 2. The value of ``TALER_DenominationKeyValidityPS.purpose`` is set to
+ // ``TALER_SIGNATURE_MASTER_AGE_RESTRICTED_DENOMINATION_KEY_VALIDITY``
age_restricted_denoms: Denoms[];
//...
}
+SQL changes
+-----------
+
+TODO: Define schema changes
+
+
+Protocol changes
+----------------
Refresh
--------
+~~~~~~~
TODO: Extension of the cut'n-choose-protocol.
Deposit
--------
+~~~~~~~
TODO: Add opaque hash value of the commitments to the protocol
+
Changes in the Merchant
^^^^^^^^^^^^^^^^^^^^^^^
@@ -212,6 +221,7 @@ TODO.
* age restricted coins are basically shared between ward and warden.
Also discuss:
+
* storage overhead
* computational overhead
* bandwidth overhead