diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-29 20:46:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-29 20:46:52 +0200 |
commit | f048de97822f29ec3dae5de57fab7a72a1fc4d8a (patch) | |
tree | 3432f3fac137a415b8c5b994dd5a3e8a37303aa7 /src/include | |
parent | 0ba88250a9760c3ba6473ed90a8cdaed0cf2c49a (diff) | |
download | exchange-f048de97822f29ec3dae5de57fab7a72a1fc4d8a.tar.xz |
preparations for #4840
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_error_codes.h | 8 | ||||
-rw-r--r-- | src/include/taler_exchange_service.h | 7 |
2 files changed, 14 insertions, 1 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index 5e9988ec7..907be847b 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -895,7 +895,13 @@ enum TALER_ErrorCode */ TALER_EC_PAYBACK_COIN_BALANCE_NEGATIVE = 1857, - + /** + * The "have" parameter was not a natural number. + * This reponse is provied with an HTTP status code of + * MHD_HTTP_BAD_REQUEST. + */ + TALER_EC_KEYS_HAVE_NOT_NUMERIC = 1900, + /* *********** Merchant backend error codes ********* */ diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 9a004a4f8..04fa51fff 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -206,6 +206,13 @@ struct TALER_EXCHANGE_Keys char *version; /** + * Timestamp indicating the /keys generation. Monotonically + * increasing. Used to fetch /keys incrementally. Set from + * the "list_issue_date" timestamp of /keys. + */ + struct GNUNET_TIME_Absolute last_issue_date; + + /** * Length of the @e sign_keys array. */ unsigned int num_sign_keys; |