diff options
author | psychocrypt <psychocryptHPC@gmail.com> | 2017-12-25 21:41:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-25 21:41:32 +0100 |
commit | 046c2589f8903c3fb58e29c43fa409f7d30ce3f2 (patch) | |
tree | 153a7c093eb40c1bab3816a572a979b5551ed822 /xmrstak/params.hpp | |
parent | 52c305796127258f29d119843e86906541ea27b3 (diff) | |
parent | 9201a73269ad057d93d7c850aa68336b264f5468 (diff) | |
download | xmr-stak-046c2589f8903c3fb58e29c43fa409f7d30ce3f2.zip xmr-stak-046c2589f8903c3fb58e29c43fa409f7d30ce3f2.tar.gz |
Merge pull request #701 from fireice-uk/topic-http-cli
Add option to enable web interface from cli
Diffstat (limited to 'xmrstak/params.hpp')
-rw-r--r-- | xmrstak/params.hpp | 4 |
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; |