commit 5e16b871047633f2d4925d961cdcec6396275006
parent 301f287b2b200ceb1beea50711c6611a3d1f6a2f
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Sat, 6 Apr 2019 20:28:07 +0200
Improving the math.
Diffstat:
1 file 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
@@ -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 ()