Fix for automatic variant specified by pool/proxy.
This commit is contained in:
parent
f1a1e0814c
commit
3a7e8647bb
3 changed files with 23 additions and 4 deletions
|
@ -44,6 +44,7 @@ public:
|
|||
|
||||
bool setBlob(const char *blob);
|
||||
bool setTarget(const char *target);
|
||||
void setAlgorithm(const char *algo);
|
||||
|
||||
inline bool isNicehash() const { return m_nicehash; }
|
||||
inline bool isValid() const { return m_size > 0 && m_diff > 0; }
|
||||
|
@ -60,7 +61,6 @@ public:
|
|||
inline uint32_t diff() const { return static_cast<uint32_t>(m_diff); }
|
||||
inline uint64_t target() const { return m_target; }
|
||||
inline void reset() { m_size = 0; m_diff = 0; }
|
||||
inline void setAlgorithm(const char *algo) { m_algorithm.parseAlgorithm(algo); }
|
||||
inline void setClientId(const xmrig::Id &id) { m_clientId = id; }
|
||||
inline void setPoolId(int poolId) { m_poolId = poolId; }
|
||||
inline void setThreadId(int threadId) { m_threadId = threadId; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue