Refactored ASM code
- Removed duplicate code - Autogenerated ASM files based on templates - Cleanup in naming
This commit is contained in:
parent
6574a8e844
commit
2ec65c7a20
63 changed files with 712 additions and 6907 deletions
|
@ -52,6 +52,7 @@ int64_t Client::m_sequence = 1;
|
|||
Client::Client(int id, const char *agent, IClientListener *listener) :
|
||||
m_quiet(false),
|
||||
m_nicehash(false),
|
||||
m_donate(false),
|
||||
m_agent(agent),
|
||||
m_listener(listener),
|
||||
m_id(id),
|
||||
|
@ -231,7 +232,7 @@ bool Client::parseJob(const rapidjson::Value ¶ms, int *code)
|
|||
|
||||
PowVariant powVariant = Options::i()->powVariant();
|
||||
|
||||
if (!Options::i()->forcePowVariant()) {
|
||||
if (!Options::i()->forcePowVariant() || m_donate) {
|
||||
if (params.HasMember("algo")) {
|
||||
std::string algo = params["algo"].GetString();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue