Send our P2Pool version to other peers

This commit is contained in:
SChernykh
2022-11-10 11:33:57 +01:00
parent 8a7f1b1b3a
commit da9cdf7df3
4 changed files with 29 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ namespace p2pool {
#define STR2(X) STR(X)
#define STR(X) #X
const char* VERSION = "v2.5 (built"
const char* VERSION = "v" STR2(P2POOL_VERSION_MAJOR) "." STR2(P2POOL_VERSION_MINOR) " (built"
#if defined(__clang__)
" with clang/" __clang_version__
#elif defined(__GNUC__)