summaryrefslogtreecommitdiff
path: root/dev-exchange.rst
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-09-21 11:21:14 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-09-21 11:21:14 +0200
commit67bd2ba53ac5adfa89e17f6840c52364b26135c4 (patch)
tree7b276cf8f708a9c2844751b7ca479a08e5027e4a /dev-exchange.rst
parent480be98d54fae7045c01f112507c9ebcab7f230c (diff)
downloaddocs-67bd2ba53ac5adfa89e17f6840c52364b26135c4.tar.gz
docs-67bd2ba53ac5adfa89e17f6840c52364b26135c4.tar.bz2
docs-67bd2ba53ac5adfa89e17f6840c52364b26135c4.zip
adding chapter on keys duration
Diffstat (limited to 'dev-exchange.rst')
-rw-r--r--dev-exchange.rst29
1 files changed, 20 insertions, 9 deletions
diff --git a/dev-exchange.rst b/dev-exchange.rst
index 4ca913ae..4d0de76a 100644
--- a/dev-exchange.rst
+++ b/dev-exchange.rst
@@ -11,22 +11,33 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
@author Christian Grothoff
+ @author Marcello Stanisci
========
Exchange
========
-------------
-Introduction
-------------
-TBD
+.. _keys-duration:
+
+-------------
+Keys duration
+-------------
+
+`signkeys`. The option `lookahead_sign` is such that, being `t` the time when `taler-exchange-keyup`
+is run, `taler-exchange-keyup` will generate `n` `signkeys`, where `t + (n * signkey_duration) = t +
+lookahead_sign`. In other words, we generate a number of keys which is sufficient to cover a period of
+`lookahead_sign`. As for the starting date, the first generated key will get a starting time of `t`,
+and the `j`-th key will get a starting time of `x + signkey_duration`, where `x` is the starting time
+of the `(j-1)`-th key.
+
+`denom keys`. The option `lookahead_sign` is such that, being `t` the time when `taler-exchange-keyup`
+is run, `taler-exchange-keyup` will generate `n` `denom keys` for each denomination, where
+`t + (n * duration_withdraw) = t + lookahead_sign`. In other words, for each denomination, we generate a
+number of keys which is sufficient to cover a period of `lookahead_sign`. As for the starting date, the
+first generated key will get a starting time of `t`, and the `j`-th key will get a starting time of
+`x + duration_withdraw`, where `x` is the starting time of the `(j-1)`-th key.
-.. _keys:
-----
-Keys
-----
-TBD (do mention "starting date")
---------------
Database Scheme