From 607f05fd72b88763cdf6044ac927caa082e352af Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 5 Feb 2024 11:51:17 +0100 Subject: return 'implementation' field in /config responses --- src/auditor/taler-auditor-httpd.c | 4 +++- src/exchange/taler-exchange-httpd_config.c | 4 +++- src/exchange/taler-exchange-httpd_config.h | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/auditor/taler-auditor-httpd.c b/src/auditor/taler-auditor-httpd.c index 94adb5471..be6d74be6 100644 --- a/src/auditor/taler-auditor-httpd.c +++ b/src/auditor/taler-auditor-httpd.c @@ -48,7 +48,7 @@ * release version, and the format is NOT the same that semantic * versioning uses either. */ -#define AUDITOR_PROTOCOL_VERSION "0:0:0" +#define AUDITOR_PROTOCOL_VERSION "0:1:0" /** * Backlog for listen operation on unix domain sockets. @@ -161,6 +161,8 @@ handle_config (struct TAH_RequestHandler *rh, "taler-auditor"), GNUNET_JSON_pack_string ("version", AUDITOR_PROTOCOL_VERSION), + GNUNET_JSON_pack_string ("implementation", + "urn:net:taler:specs:auditor:c-reference"), GNUNET_JSON_pack_string ("currency", TAH_currency), GNUNET_JSON_pack_data_auto ("auditor_public_key", diff --git a/src/exchange/taler-exchange-httpd_config.c b/src/exchange/taler-exchange-httpd_config.c index fde1823fc..29cbf2b51 100644 --- a/src/exchange/taler-exchange-httpd_config.c +++ b/src/exchange/taler-exchange-httpd_config.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2015-2021 Taler Systems SA + Copyright (C) 2015-2024 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software @@ -46,6 +46,8 @@ TEH_handler_config (struct TEH_RequestContext *rc, TEH_currency), GNUNET_JSON_pack_string ("name", "taler-exchange"), + GNUNET_JSON_pack_string ("implementation", + "urn:net:taler:specs:exchange:c-reference"), GNUNET_JSON_pack_string ("version", EXCHANGE_PROTOCOL_VERSION)); } diff --git a/src/exchange/taler-exchange-httpd_config.h b/src/exchange/taler-exchange-httpd_config.h index 362667aca..40293e89a 100644 --- a/src/exchange/taler-exchange-httpd_config.h +++ b/src/exchange/taler-exchange-httpd_config.h @@ -41,7 +41,7 @@ * * Returned via both /config and /keys endpoints. */ -#define EXCHANGE_PROTOCOL_VERSION "18:0:1" +#define EXCHANGE_PROTOCOL_VERSION "18:1:1" /** -- cgit v1.2.3