From c17909d8209e18829102c7de2789909722e1af3b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 17 Mar 2020 17:33:30 +0100 Subject: add cmd line option to restrict timetravel, minor code cleanup of keystate logic --- src/include/taler_error_codes.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include') diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index 9a7c544b9..0969261a8 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -1051,6 +1051,13 @@ enum TALER_ErrorCode */ TALER_EC_KEYS_MISSING = 1901, + /** + * This exchange does not allow clients to request /keys for times + * other than the current (exchange) time. This reponse is provied + * with an HTTP status code of MHD_HTTP_FORBIDDEN. + */ + TALER_EC_KEYS_TIMETRAVEL_FORBIDDEN = 1902, + /** * The backend could not find the merchant instance specified in the * request. This response is provided with HTTP status code -- cgit v1.2.3