#97 Ignore keepalive option with minergate and nicehash.com
This commit is contained in:
parent
af51513614
commit
914fdd5f0a
4 changed files with 25 additions and 8 deletions
|
@ -41,6 +41,7 @@ public:
|
|||
~Url();
|
||||
|
||||
inline bool isKeepAlive() const { return m_keepAlive; }
|
||||
inline bool isNicehash() const { return m_nicehash; }
|
||||
inline bool isValid() const { return m_host && m_port > 0; }
|
||||
inline const char *host() const { return m_host; }
|
||||
inline const char *password() const { return m_password ? m_password : kDefaultPassword; }
|
||||
|
@ -49,9 +50,9 @@ public:
|
|||
inline void setKeepAlive(bool keepAlive) { m_keepAlive = keepAlive; }
|
||||
inline void setNicehash(bool nicehash) { m_nicehash = nicehash; }
|
||||
|
||||
bool isNicehash() const;
|
||||
bool parse(const char *url);
|
||||
bool setUserpass(const char *userpass);
|
||||
void applyExceptions();
|
||||
void setPassword(const char *password);
|
||||
void setUser(const char *user);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue