changed the way antminers and whatsminers are handled in the factory to allow for more precision on chip counts

This commit is contained in:
UpstreamData
2022-05-12 16:42:02 -06:00
parent 9d0d1a24d9
commit 06540efc98
81 changed files with 699 additions and 156 deletions

View File

@@ -0,0 +1,11 @@
from miners.bmminer import BMMiner
class BMMinerS9(BMMiner):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.model = "S9"
self.api_type = "BMMiner"
def __repr__(self) -> str:
return f"BMMinerS9: {str(self.ip)}"