summaryrefslogtreecommitdiffstats
path: root/xmrstak/params.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmrstak/params.hpp')
-rw-r--r--xmrstak/params.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmrstak/params.hpp b/xmrstak/params.hpp
index bc32612..62cce47 100644
--- a/xmrstak/params.hpp
+++ b/xmrstak/params.hpp
@@ -31,6 +31,10 @@ struct params
std::string poolUsername;
bool nicehashMode = false;
+ static constexpr int32_t httpd_port_unset = -1;
+ static constexpr int32_t httpd_port_disabled = 0;
+ int32_t httpd_port = httpd_port_unset;
+
std::string currency;
std::string configFile;
OpenPOWER on IntegriCloud