Generating additional DKs after serialized state import.
This commit is contained in:
parent
cf539c03c6
commit
ec58188446
@ -469,7 +469,7 @@ parse_json_auditor (struct TALER_EXCHANGE_AuditorInformation *auditor,
|
||||
kv.expire_deposit = GNUNET_TIME_absolute_hton (dk->expire_deposit);
|
||||
kv.expire_legal = GNUNET_TIME_absolute_hton (dk->expire_legal);
|
||||
TALER_amount_hton (&kv.value,
|
||||
&dk->value);
|
||||
&dk->value);
|
||||
TALER_amount_hton (&kv.fee_withdraw,
|
||||
&dk->fee_withdraw);
|
||||
TALER_amount_hton (&kv.fee_deposit,
|
||||
|
@ -0,0 +1,5 @@
|
||||
@INLINE@ test_exchange_api_keys_cherry_picking_extended.conf
|
||||
|
||||
[exchange]
|
||||
# Lengthen over firstly extended value (100 s)
|
||||
LOOKAHEAD_SIGN = 150 s
|
@ -47,6 +47,12 @@
|
||||
#define CONFIG_FILE_EXTENDED \
|
||||
"test_exchange_api_keys_cherry_picking_extended.conf"
|
||||
|
||||
/**
|
||||
* Used to increase the number of denomination keys.
|
||||
*/
|
||||
#define CONFIG_FILE_EXTENDED_2 \
|
||||
"test_exchange_api_keys_cherry_picking_extended_2.conf"
|
||||
|
||||
/**
|
||||
* Exchange base URL; mainly purpose is to make the compiler happy.
|
||||
*/
|
||||
@ -86,7 +92,12 @@ run (void *cls,
|
||||
"x-taler-bank",
|
||||
NULL,
|
||||
MHD_HTTP_OK),
|
||||
|
||||
|
||||
TALER_TESTING_cmd_exec_keyup ("keyup-serialization",
|
||||
CONFIG_FILE_EXTENDED_2),
|
||||
|
||||
TALER_TESTING_cmd_exec_auditor_sign ("auditor-sign-serialization",
|
||||
CONFIG_FILE_EXTENDED_2),
|
||||
TALER_TESTING_cmd_end ()
|
||||
};
|
||||
|
||||
@ -108,7 +119,7 @@ run (void *cls,
|
||||
CONFIG_FILE_EXTENDED),
|
||||
|
||||
TALER_TESTING_cmd_exec_auditor_sign ("sign-keys-1",
|
||||
CONFIG_FILE),
|
||||
CONFIG_FILE_EXTENDED),
|
||||
|
||||
/* Cause exchange to reload (new) keys */
|
||||
TALER_TESTING_cmd_signal ("trigger-keys-reload-1",
|
||||
|
Loading…
Reference in New Issue
Block a user