From 0d1ab614c06f60f79de75a0f2ec30c33a69820dd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 25 May 2021 20:52:58 +0200 Subject: return signed 404 statements for unknown denomination key hashes (#6889) --- src/exchange/taler-exchange-httpd_responses.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/exchange/taler-exchange-httpd_responses.h') diff --git a/src/exchange/taler-exchange-httpd_responses.h b/src/exchange/taler-exchange-httpd_responses.h index 6486b5d93..7182629eb 100644 --- a/src/exchange/taler-exchange-httpd_responses.h +++ b/src/exchange/taler-exchange-httpd_responses.h @@ -48,6 +48,20 @@ TEH_RESPONSE_compile_reserve_history ( struct TALER_Amount *balance); +/** + * Send assertion that the given denomination key hash + * is unknown to us at this time. + * + * @param connection connection to the client + * @param dph denomination public key hash + * @return MHD result code + */ +MHD_RESULT +TEH_RESPONSE_reply_unknown_denom_pub_hash ( + struct MHD_Connection *connection, + const struct GNUNET_HashCode *dph); + + /** * Send proof that a request is invalid to client because of * insufficient funds. This function will create a message with all -- cgit v1.2.3