From 975d9c9d15e5b6694639e55c7d73d4d86fc48cab Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 21 Jan 2020 16:13:22 +0100 Subject: make sure request_uid is actually unique Allowing duplicate request_uid for different transfer details means that somebody might eventually rely on this, which is bad. They should really be unique, it makes tracing easier. --- src/include/taler_error_codes.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/include/taler_error_codes.h') diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index 3833e7a4e..ac7f92888 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -1735,6 +1735,12 @@ enum TALER_ErrorCode */ TALER_EC_BANK_SOFT_EXCEPTION = 5400, + /** + * The request UID for a request to transfer funds has already been + * used, but with different details for the transfer. + */ + TALER_EC_BANK_TRANSFER_REQUEST_UID_REUSED = 5500, + /** * The sync service failed to access its database. This response is * provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR. -- cgit v1.2.3