improved whatsminer handling, and added VF20 to miner dict

This commit is contained in:
UpstreamData
2022-06-06 09:26:38 -06:00
parent dce25a679f
commit d292b9c195
9 changed files with 45 additions and 9 deletions

View File

@@ -1,10 +1,17 @@
from miners._backends import BTMiner # noqa - Ignore access to _module
from miners._types import ( # noqa - Ignore access to _module
M30SPlusPlus,
M30SPlusPlusVG40,
M30SPlusPlusVG30,
)
class BTMinerM30SPlusPlus(BTMiner, M30SPlusPlus):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip
class BTMinerM30SPlusPlusVG40(BTMiner, M30SPlusPlusVG40):
def __init__(self, ip: str) -> None:
super().__init__(ip)