Move selfTest to threads, remove legacy CryptoNight.cpp.

This commit is contained in:
XMRig
2018-04-03 14:51:05 +07:00
parent 69661094ca
commit c04c10f69d
11 changed files with 85 additions and 218 deletions

View File

@@ -39,10 +39,11 @@ class SingleWorker : public Worker
public:
SingleWorker(Handle *handle);
void start() override;
bool start() override;
private:
bool resume(const Job &job);
bool selfTest();
void consumeJob();
void save(const Job &job);