aboutsummaryrefslogtreecommitdiff
path: root/design-documents/024-age-restriction.rst
diff options
context:
space:
mode:
Diffstat (limited to 'design-documents/024-age-restriction.rst')
-rw-r--r--design-documents/024-age-restriction.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/design-documents/024-age-restriction.rst b/design-documents/024-age-restriction.rst
index 7109a679..7c6c251c 100644
--- a/design-documents/024-age-restriction.rst
+++ b/design-documents/024-age-restriction.rst
@@ -155,10 +155,10 @@ Age Groups
~~~~~~~~~~
Age groups are represented as a finite list of positive, increasing integers
-that mark the beginning of the *next* age group. The value 0 is ommited but
+that mark the beginning of the *next* age group. The value 0 is omitted but
implicitly marks the beginning of the *zeroth* age group and the first number
in the list marks the beginning of the *first* age group. Age groups are
-encoded as a colon separated string of integer values. They are refered to by
+encoded as a colon separated string of integer values. They are referred to by
their *slot*, i.e. "age group 3" is the age group that starts with the 3.
integer in the list.
@@ -180,7 +180,7 @@ in ``ExchangeKeysResponse.age_restricted_denoms``.
.. ts:def:: AgeGroups
// Representation of the age groups as colon separated edges: Increasing
- // from left to right, the values mark the begining of an age group up
+ // from left to right, the values mark the beginning of an age group up
// to, but not including the next value. The initial age group starts at
// 0 and is not listed. Example: "8:10:12:14:16:18:21".
type AgeGroups = string;
@@ -467,12 +467,12 @@ The object ``CoinPaySig`` used within a ``PayRequest`` during a POST to
...
// If a minimum age was required by the order and the wallet had coins that
- // are at least commited to the corresponding age group, this is the
+ // are at least committed to the corresponding age group, this is the
// signature of the minimum age as a string, using the private key to the
// corresponding age group.
minimum_age_sig?: EddsaSignature;
- // If a minium age was required by the order, this is age commitment bound
+ // If a minimum age was required by the order, this is age commitment bound
// to the coin, i.e. the complete vector of EdDSA public keys, one for each
// age group (as defined by the exchange).
age_commitment?: EddsaPublicKey[];