diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-17 09:04:38 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-08-26 19:28:25 +0000 |
commit | 33e91e1a1e94c2957f59def9fe49f75956a9f699 (patch) | |
tree | 60462ee47708a782176159acb22bdb4893414b98 /src/version.cpp.in | |
parent | Merge pull request #5827 (diff) | |
download | monero-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 '')
-rw-r--r-- | src/version.cpp.in | 2 |
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; |