feature: add support for bitaxe gamma
This commit is contained in:
@@ -344,6 +344,7 @@ class BitAxeModels(str, Enum):
|
||||
BM1366 = "Ultra"
|
||||
BM1368 = "Supra"
|
||||
BM1397 = "Max"
|
||||
BM1370 = "Gamma"
|
||||
|
||||
def __str__(self):
|
||||
return self.value
|
||||
|
||||
6
pyasic/miners/bitaxe/espminer/BM/BM1370.py
Normal file
6
pyasic/miners/bitaxe/espminer/BM/BM1370.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from pyasic.miners.backends.bitaxe import BitAxe
|
||||
from pyasic.miners.device.models.bitaxe import Gamma
|
||||
|
||||
|
||||
class BitAxeGamma(BitAxe, Gamma):
|
||||
pass
|
||||
@@ -1,3 +1,4 @@
|
||||
from .BM1366 import BitAxeUltra
|
||||
from .BM1368 import BitAxeSupra
|
||||
from .BM1370 import BitAxeGamma
|
||||
from .BM1397 import BitAxeMax
|
||||
|
||||
10
pyasic/miners/device/models/bitaxe/BM/BM1370.py
Normal file
10
pyasic/miners/device/models/bitaxe/BM/BM1370.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from pyasic.device.models import MinerModel
|
||||
from pyasic.miners.device.makes import BitAxeMake
|
||||
|
||||
|
||||
class Gamma(BitAxeMake):
|
||||
raw_model = MinerModel.BITAXE.BM1370
|
||||
|
||||
expected_hashboards = 1
|
||||
expected_chips = 1
|
||||
expected_fans = 1
|
||||
@@ -1,3 +1,4 @@
|
||||
from .BM1366 import Ultra
|
||||
from .BM1368 import Supra
|
||||
from .BM1370 import Gamma
|
||||
from .BM1397 import Max
|
||||
|
||||
@@ -465,6 +465,7 @@ MINER_CLASSES = {
|
||||
"BM1368": BitAxeSupra,
|
||||
"BM1366": BitAxeUltra,
|
||||
"BM1397": BitAxeMax,
|
||||
"BM1370": BitAxeGamma,
|
||||
},
|
||||
MinerTypes.ICERIVER: {
|
||||
None: type("IceRiverUnknown", (IceRiver, IceRiverMake), {}),
|
||||
|
||||
Reference in New Issue
Block a user