summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-02-05 11:51:17 +0100
committerChristian Grothoff <christian@grothoff.org>2024-02-05 11:51:17 +0100
commit607f05fd72b88763cdf6044ac927caa082e352af (patch)
treefcfab11b94f3a34d2f43a77d664b13dda072f636
parent14ccce8feebf4a9e5622ed4d93399cecf9a37248 (diff)
downloadexchange-0.9.4-dev.12.tar.gz
exchange-0.9.4-dev.12.tar.bz2
exchange-0.9.4-dev.12.zip
return 'implementation' field in /config responsesv0.9.4-dev.12
-rw-r--r--src/auditor/taler-auditor-httpd.c4
-rw-r--r--src/exchange/taler-exchange-httpd_config.c4
-rw-r--r--src/exchange/taler-exchange-httpd_config.h2
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"
/**