summaryrefslogtreecommitdiffstats
path: root/cli-miner.cpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-04-30 21:18:17 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-04-30 21:18:17 +0200
commite0356cd07d19557df7ae7ac1de5bda7eb9ede001 (patch)
tree741cec4f93a57ee0d0d5548f9a6ad28ab0e161d1 /cli-miner.cpp
parent620cd678faa27800c6f67b869d314d350b72f1f9 (diff)
downloadxmr-stak-e0356cd07d19557df7ae7ac1de5bda7eb9ede001.zip
xmr-stak-e0356cd07d19557df7ae7ac1de5bda7eb9ede001.tar.gz
add file version.h
- add file with version number - add version number to the terminal output
Diffstat (limited to 'cli-miner.cpp')
-rw-r--r--cli-miner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli-miner.cpp b/cli-miner.cpp
index 38fb720..70a5228 100644
--- a/cli-miner.cpp
+++ b/cli-miner.cpp
@@ -27,6 +27,7 @@
#include "console.h"
#include "donate-level.h"
#include "autoAdjust.hpp"
+#include "version.h"
#ifndef CONF_NO_HTTPD
# include "httpd.h"
@@ -133,7 +134,7 @@ int main(int argc, char *argv[])
#endif
printer::inst()->print_str("-------------------------------------------------------------------\n");
- printer::inst()->print_str("XMR-Stak-CPU mining software, CPU Version.\n");
+ printer::inst()->print_str( XMR_STAK_NAME" " XMR_STAK_VERSION " mining software, CPU Version.\n");
printer::inst()->print_str("Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).\n");
printer::inst()->print_str("Brought to you by fireice_uk and psychocrypt under GPLv3.\n\n");
char buffer[64];
OpenPOWER on IntegriCloud