exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 607f05fd72b88763cdf6044ac927caa082e352af
parent 14ccce8feebf4a9e5622ed4d93399cecf9a37248
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  5 Feb 2024 11:51:17 +0100

return 'implementation' field in /config responses

Diffstat:
Msrc/auditor/taler-auditor-httpd.c | 4+++-
Msrc/exchange/taler-exchange-httpd_config.c | 4+++-
Msrc/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 @@ -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 @@ -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 @@ -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" /**