WIP
This commit is contained in:
parent
4de8768137
commit
26741d686c
6 changed files with 46 additions and 17 deletions
|
@ -52,6 +52,7 @@ public:
|
|||
ALGO_CRYPTONIGHT_ULTRALITE, /* CryptoNight-Ultralite (256KB ScratchPad) */
|
||||
ALGO_CRYPTONIGHT_EXTREMELITE, /* CryptoNight-Verylite (128KB ScratchPad) */
|
||||
ALGO_CRYPTONIGHT_HEAVY, /* CryptoNight-Heavy (4MB ScratchPad) */
|
||||
ALGO_ARGON2_512, /* Argon2-Chuckwa (No pre allocated ScratchPad) */
|
||||
};
|
||||
|
||||
enum AlgoVariant {
|
||||
|
@ -126,6 +127,7 @@ public:
|
|||
inline int64_t multiHashThreadMask() const { return m_multiHashThreadMask; }
|
||||
inline void setColors(bool colors) { m_colors = colors; }
|
||||
|
||||
inline static bool isCNAlgo(Algo algo) { return algo != Options::ALGO_ARGON2_512; }
|
||||
inline static void release() { delete m_self; }
|
||||
|
||||
const char *algoName() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue