commit 0ba6a9d3e1c1322d2617454e217017c72ba5faab
parent a28ce22b48a24251e241d4b869ff421994c615d6
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 30 Jul 2026 10:14:35 +0200
expose build_version in /config
Diffstat:
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/donau/donau-httpd_get-config.c b/src/donau/donau-httpd_get-config.c
@@ -41,6 +41,8 @@ DH_handler_get_config (struct DH_RequestContext *rc,
DH_currency),
GNUNET_JSON_pack_string ("name",
"donau"),
+ GNUNET_JSON_pack_string ("build_version",
+ PACKAGE_VERSION),
GNUNET_JSON_pack_string ("legal_domain",
DH_legal_domain),
GNUNET_JSON_pack_string ("version",
diff --git a/src/donau/donau-httpd_get-config.h b/src/donau/donau-httpd_get-config.h
@@ -41,7 +41,7 @@
*
* Returned via both /config and /keys endpoints.
*/
-#define DONAU_PROTOCOL_VERSION "0:1:0"
+#define DONAU_PROTOCOL_VERSION "1:0:1"
/**
diff --git a/src/lib/donau_api_handle.c b/src/lib/donau_api_handle.c
@@ -37,12 +37,12 @@
* Which version of the Donau protocol is implemented
* by this library? Used to determine compatibility.
*/
-#define DONAU_PROTOCOL_CURRENT 0
+#define DONAU_PROTOCOL_CURRENT 1
/**
* How many versions are we backwards compatible with?
*/
-#define DONAU_PROTOCOL_AGE 0
+#define DONAU_PROTOCOL_AGE 1
/**
* Set to 1 for extra debug logging.