diff --git a/nheqminer/patches/008-bitcoingold-support.patch b/nheqminer/patches/008-bitcoingold-support.patch new file mode 100644 index 0000000..799da2a --- /dev/null +++ b/nheqminer/patches/008-bitcoingold-support.patch @@ -0,0 +1,13 @@ +diff --git a/nheqminer/libstratum/ZcashStratum.cpp b/nheqminer/libstratum/ZcashStratum.cpp +index 7eac719..5bef4da 100644 +--- a/nheqminer/libstratum/ZcashStratum.cpp ++++ b/nheqminer/libstratum/ZcashStratum.cpp +@@ -490,7 +490,7 @@ ZcashJob* ZcashMiner::parseJob(const Array& params) + // TODO: On a LE host shouldn't this be le32toh? + ret->header.nVersion = be32toh(version); + +- if (ret->header.nVersion == 4) { ++ if (ret->header.nVersion == 4 || ret->header.nVersion == 0x20000000) { + if (params.size() < 8) { + throw std::logic_error("Invalid job params"); + }