Compare commits

..

4 Commits

Author SHA1 Message Date
Upstream Data
05cfe8cc5d version: bump version number. 2023-03-05 16:26:36 -07:00
Upstream Data
b4d9e60bff bug: fix E9Pro strop_mining and resume_mining 2023-03-05 16:26:13 -07:00
Upstream Data
6bcf372be6 version: bump version number. 2023-03-04 17:55:46 -07:00
Upstream Data
092a586329 bug: fix an issue with innosilicon A10X not allowing pool config. 2023-03-04 17:46:11 -07:00
3 changed files with 11 additions and 3 deletions

View File

@@ -29,6 +29,12 @@ class X9(CGMiner):
self.ip = ip
self.web = X19WebAPI(ip)
async def stop_mining(self) -> bool:
return False
async def resume_mining(self) -> bool:
return False
async def get_config(self) -> MinerConfig:
data = await self.web.get_miner_conf()
if data:

View File

@@ -87,8 +87,10 @@ class CGMinerA10X(CGMiner, A10X):
# return False
async def send_config(self, config: MinerConfig, user_suffix: str = None) -> None:
self.config = config
await self.web.update_pools(config.as_inno(user_suffix=user_suffix))
pass
# doesnt work for some reason
# self.config = config
# await self.web.update_pools(config.as_inno(user_suffix=user_suffix))
##################################################
### DATA GATHERING FUNCTIONS (get_{some_data}) ###

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyasic"
version = "0.32.3"
version = "0.32.5"
description = "A set of modules for interfacing with many common types of ASIC bitcoin miners, using both their API and SSH."
authors = ["UpstreamData <brett@upstreamdata.ca>"]
repository = "https://github.com/UpstreamData/pyasic"