#672 Reverted back "cryptonight-light" and exit if no valid algorithm specified.

This commit is contained in:
XMRig 2018-06-04 02:09:29 +07:00
parent 1748a7bd57
commit e320b2e928
5 changed files with 15 additions and 5 deletions

View file

@ -24,6 +24,7 @@
#define __ICONFIG_H__
#include "common/crypto/Algorithm.h"
#include "rapidjson/fwd.h"
@ -97,6 +98,7 @@ public:
virtual bool parseString(int key, const char *arg) = 0;
virtual bool parseUint64(int key, uint64_t arg) = 0;
virtual bool save() = 0;
virtual const Algorithm &algorithm() const = 0;
virtual const char *fileName() const = 0;
virtual void getJSON(rapidjson::Document &doc) const = 0;
virtual void parseJSON(const rapidjson::Document &doc) = 0;