aboutsummaryrefslogtreecommitdiff
path: root/src/version.cpp.in
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-17 09:04:38 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-08-26 19:28:25 +0000
commit33e91e1a1e94c2957f59def9fe49f75956a9f699 (patch)
tree60462ee47708a782176159acb22bdb4893414b98 /src/version.cpp.in
parentMerge pull request #5827 (diff)
downloadmonero-33e91e1a1e94c2957f59def9fe49f75956a9f699.tar.xz
wallet, rpc: add a release field to get_version
It does not leak much since you can make a fair guess by RPC version already, and some people want to avoid non release clients when using third parties' nodes (because they'd never lie about it)
Diffstat (limited to 'src/version.cpp.in')
-rw-r--r--src/version.cpp.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.cpp.in b/src/version.cpp.in
index 28ce38df7..9121cdf85 100644
--- a/src/version.cpp.in
+++ b/src/version.cpp.in
@@ -2,6 +2,7 @@
#define DEF_MONERO_VERSION "0.14.1.2"
#define DEF_MONERO_RELEASE_NAME "Boron Butterfly"
#define DEF_MONERO_VERSION_FULL DEF_MONERO_VERSION "-" DEF_MONERO_VERSION_TAG
+#define DEF_MONERO_VERSION_IS_RELEASE @VERSION_IS_RELEASE@
#include "version.h"
@@ -9,3 +10,4 @@ const char* const MONERO_VERSION_TAG = DEF_MONERO_VERSION_TAG;
const char* const MONERO_VERSION = DEF_MONERO_VERSION;
const char* const MONERO_RELEASE_NAME = DEF_MONERO_RELEASE_NAME;
const char* const MONERO_VERSION_FULL = DEF_MONERO_VERSION_FULL;
+const bool MONERO_VERSION_IS_RELEASE = DEF_MONERO_VERSION_IS_RELEASE;