#672 Reverted back "cryptonight-light" and exit if no valid algorithm specified.
This commit is contained in:
parent
1748a7bd57
commit
e320b2e928
5 changed files with 15 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue