Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2bb8b5d9b | ||
|
|
62aaf36fd7 | ||
|
|
63023650a9 | ||
|
|
0025c613f0 |
@@ -215,7 +215,7 @@ class _PoolGroup:
|
||||
return pools
|
||||
|
||||
def as_x17(self, user_suffix: str = None) -> dict:
|
||||
"""Convert the data in this class to a list usable by an X5 device.
|
||||
"""Convert the data in this class to a list usable by an X17 device.
|
||||
|
||||
Parameters:
|
||||
user_suffix: The suffix to append to username.
|
||||
@@ -547,11 +547,11 @@ class MinerConfig:
|
||||
"""
|
||||
logging.debug(f"MinerConfig - (As X19) - Generating X19 config")
|
||||
cfg = {
|
||||
"pools": self.pool_groups[0].as_x19(user_suffix=user_suffix),
|
||||
"bitmain-fan-ctrl": False,
|
||||
"bitmain-fan-pwn": "100",
|
||||
"freq-level": "100",
|
||||
"miner-mode": str(self.miner_mode.value),
|
||||
"freq-level": "100"
|
||||
"pools": self.pool_groups[0].as_x19(user_suffix=user_suffix),
|
||||
}
|
||||
|
||||
if not self.temp_mode == "auto":
|
||||
|
||||
@@ -168,7 +168,7 @@ MINER_CLASSES = {
|
||||
"BOSMiner+": BOSMinerS19jNoPIC,
|
||||
"BMMiner": BMMinerS19jNoPIC,
|
||||
},
|
||||
"AANTMINER S19PRO+": {
|
||||
"ANTMINER S19PRO+": {
|
||||
"Default": BMMinerS19ProPlus,
|
||||
"BMMiner": BMMinerS19ProPlus,
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "pyasic"
|
||||
version = "0.33.19"
|
||||
version = "0.33.21"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user