在 Linux 上使用 nicehash 矿工进行 nuxhash 挖矿

在 Linux 上使用 nicehash 矿工进行 nuxhash 挖矿
 line 38, in request
    raise Exception(str(response.status_code) + ": " + response.reason)
Exception: 404: Not Found
install ocl-icd-libopencl1
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/nuxhash/gui/mining.py", line 140, in do_requests
    wallet, unpaid = get_balances(self._Settings)
  File "/usr/local/lib/python3.8/dist-packages/nuxhash/nicehash.py", line 26, in get_balances
    response = nh.public_api(HOST).request(
  File "/usr/local/lib/python3.8/dist-packages/nuxhash/nhrest/python/nicehash.py", line 38, in request
    raise Exception(str(response.status_code) + ": " + response.reason)
Exception: 404: Not Found

我已经安装到这一步了,没有任何进一步的想法

答案1

Nicehash api 已更新您需要编辑 /usr/local/lib/python3.8/dist-packages/nuxhash/nicehash.py 并在 url 中添加“2”

获取 main/api/v2/mining/external/{btcAddress}/rigs2

(从https://www.nicehash.com/blog/post/api-changes-notification-apr-3

相关内容