aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-04-06 20:28:07 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-04-06 20:28:07 +0200
commit5e16b871047633f2d4925d961cdcec6396275006 (patch)
tree9235810342dd20544f33a9669cc5f691cc02c056 /src/lib
parent301f287b2b200ceb1beea50711c6611a3d1f6a2f (diff)
Improving the math.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/test_exchange_api_keys_cherry_picking_new.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/test_exchange_api_keys_cherry_picking_new.c b/src/lib/test_exchange_api_keys_cherry_picking_new.c
index 610083c55..0be980a36 100644
--- a/src/lib/test_exchange_api_keys_cherry_picking_new.c
+++ b/src/lib/test_exchange_api_keys_cherry_picking_new.c
@@ -211,11 +211,12 @@ run (void *cls,
TTH_parse_time (JAN2030)),
/**
- * For each DK with a withdraw duration of 80 s, and for
- * the latest 3500 s lookahead_sign value, we should have
- * ((3500 - _80_) / 80) keys we just downloaded + 2 old DK
- * keys stored in memory (total 45). The _80_ seconds
- * we subtract are from the one key generated at "keyup-1".
+ * For each DK with a withdraw duration of 80 s
+ * (- 1 s of overlap), and for the latest 3500 s
+ * lookahead_sign value, we should have ((3500 - _79_) / 79)
+ * keys we just downloaded + 2 old DK keys stored in memory
+ * (total 46). The _79_ seconds we subtract are from the one
+ * key generated at "keyup-1".
*
* This currently fails: look for XXX-ANCHOR at
* taler-exchange-keyup.c to get some insight about the reason
@@ -224,7 +225,7 @@ run (void *cls,
TALER_TESTING_cmd_check_keys_with_now
("check-keys-3",
3,
- 45,
+ 46,
TTH_parse_time (JAN2030)),
TALER_TESTING_cmd_end ()