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

@@ -2,6 +2,12 @@ from miners._backends import BTMiner # noqa - Ignore access to _module
from miners._types import M21SV20, M21SV60 # noqa - Ignore access to _module
class BTMinerM21S(BTMiner, M21S):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip
class BTMinerM21SV20(BTMiner, M21SV20):
def __init__(self, ip: str) -> None:
super().__init__(ip)