gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: return 'implementation' field in


From: gnunet
Subject: [taler-exchange] branch master updated: return 'implementation' field in /config responses
Date: Mon, 05 Feb 2024 11:51:21 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 607f05fd return 'implementation' field in /config responses
607f05fd is described below

commit 607f05fd72b88763cdf6044ac927caa082e352af
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Feb 5 11:51:17 2024 +0100

    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 94adb547..be6d74be 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 fde1823f..29cbf2b5 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 362667ac..40293e89 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"
 
 
 /**

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]