add dual rig support to ePIC

This commit is contained in:
John-Paul Compagnone
2024-12-13 14:20:48 -05:00
committed by Brett Rowan
parent 5081319a2f
commit 01263da52b
4 changed files with 12 additions and 0 deletions

View File

@@ -330,6 +330,7 @@ class GoldshellModels(MinerModelType):
class ePICModels(MinerModelType): class ePICModels(MinerModelType):
BM520i = "BlockMiner 520i" BM520i = "BlockMiner 520i"
BM720i = "BlockMiner 720i" BM720i = "BlockMiner 720i"
S19jProDual = "S19j Pro Dual"
def __str__(self): def __str__(self):
return self.value return self.value

View File

@@ -15,6 +15,7 @@
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
from pyasic.miners.backends import ePIC from pyasic.miners.backends import ePIC
from pyasic.device.models import MinerModel
from pyasic.miners.device.models import ( from pyasic.miners.device.models import (
S19, S19,
S19XP, S19XP,
@@ -52,3 +53,11 @@ class ePICS19kPro(ePIC, S19kPro):
class ePICS19XP(ePIC, S19XP): class ePICS19XP(ePIC, S19XP):
pass pass
class ePICS19jProDual(ePIC, S19jPro):
S19jPro.raw_model = MinerModel.EPIC.S19jProDual
S19jPro.expected_fans *= 2
S19jPro.expected_hashboards *= 2
pass

View File

@@ -18,6 +18,7 @@ from .S19 import (
ePICS19, ePICS19,
ePICS19j, ePICS19j,
ePICS19jPro, ePICS19jPro,
ePICS19jProDual,
ePICS19jProPlus, ePICS19jProPlus,
ePICS19kPro, ePICS19kPro,
ePICS19Pro, ePICS19Pro,

View File

@@ -427,6 +427,7 @@ MINER_CLASSES = {
"ANTMINER S21": ePICS21, "ANTMINER S21": ePICS21,
"ANTMINER S21 PRO": ePICS21Pro, "ANTMINER S21 PRO": ePICS21Pro,
"ANTMINER T21": ePICT21, "ANTMINER T21": ePICT21,
"ANTMINER S19J PRO DUAL": ePICS19jProDual,
"BLOCKMINER 520I": ePICBlockMiner520i, "BLOCKMINER 520I": ePICBlockMiner520i,
"BLOCKMINER 720I": ePICBlockMiner720i, "BLOCKMINER 720I": ePICBlockMiner720i,
}, },