Sync changes with proxy.
This commit is contained in:
parent
be232fa1f2
commit
2b0309e159
4 changed files with 46 additions and 1 deletions
|
@ -49,6 +49,11 @@ public:
|
|||
setAlgo(algo);
|
||||
}
|
||||
|
||||
inline Algorithm(const char *algo)
|
||||
{
|
||||
parseAlgorithm(algo);
|
||||
}
|
||||
|
||||
bool isEqual(const Algorithm &other) const { return m_algo == other.m_algo && m_variant == other.m_variant; }
|
||||
inline Algo algo() const { return m_algo; }
|
||||
inline const char *name() const { return name(false); }
|
||||
|
@ -66,6 +71,10 @@ public:
|
|||
void parseVariant(int variant);
|
||||
void setAlgo(Algo algo);
|
||||
|
||||
# ifdef XMRIG_PROXY_PROJECT
|
||||
void parseXmrStakAlgorithm(const char *algo);
|
||||
# endif
|
||||
|
||||
private:
|
||||
const char *name(bool shortName) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue