From cbac6d7c5e82fbb4c22b44623ce411ab98bcab4e Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 26 Dec 2014 21:57:31 -0200 Subject: [PATCH] different id names per platform --- src/version.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/version.cpp b/src/version.cpp index b2215d46..46db946c 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -8,7 +8,13 @@ // Name of client reported in the 'version' message. Report the same name // for both bitcoind and bitcoin-qt, to make it harder for attackers to // target servers or GUI users specifically. +#if defined(__ANDROID__) +const std::string CLIENT_NAME("twisterd_android"); +#elif defined(WIN32) +const std::string CLIENT_NAME("twisterd_windows"); +#else const std::string CLIENT_NAME("twisterd"); +#endif // Client version number #define CLIENT_VERSION_SUFFIX "-beta"