add support for whatsminer VH60
This commit is contained in:
@@ -37,6 +37,7 @@ Supported miner types are here on this list. If your miner (or miner version) i
|
|||||||
* [M30S++][pyasic.miners.whatsminer.btminer.M3X.M30S_Plus_Plus.BTMinerM30SPlusPlus]:
|
* [M30S++][pyasic.miners.whatsminer.btminer.M3X.M30S_Plus_Plus.BTMinerM30SPlusPlus]:
|
||||||
* [VG30][pyasic.miners.whatsminer.btminer.M3X.M30S_Plus_Plus.BTMinerM30SPlusPlusVG30]
|
* [VG30][pyasic.miners.whatsminer.btminer.M3X.M30S_Plus_Plus.BTMinerM30SPlusPlusVG30]
|
||||||
* [VG40][pyasic.miners.whatsminer.btminer.M3X.M30S_Plus_Plus.BTMinerM30SPlusPlusVG40]
|
* [VG40][pyasic.miners.whatsminer.btminer.M3X.M30S_Plus_Plus.BTMinerM30SPlusPlusVG40]
|
||||||
|
* [VH60][pyasic.miners.whatsminer.btminer.M3X.M30S_Plus_Plus.BTMinerM30SPlusPlusVH60]
|
||||||
* [M31S][pyasic.miners.whatsminer.btminer.M3X.M31S.BTMinerM31S]
|
* [M31S][pyasic.miners.whatsminer.btminer.M3X.M31S.BTMinerM31S]
|
||||||
* [M31S+][pyasic.miners.whatsminer.btminer.M3X.M31S_Plus.BTMinerM31SPlus]:
|
* [M31S+][pyasic.miners.whatsminer.btminer.M3X.M31S_Plus.BTMinerM31SPlus]:
|
||||||
* [VE20][pyasic.miners.whatsminer.btminer.M3X.M31S_Plus.BTMinerM31SPlusVE20]
|
* [VE20][pyasic.miners.whatsminer.btminer.M3X.M31S_Plus.BTMinerM31SPlusVE20]
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
show_root_heading: false
|
show_root_heading: false
|
||||||
heading_level: 4
|
heading_level: 4
|
||||||
|
|
||||||
## M30S+VG40
|
## M30S++VG40
|
||||||
|
|
||||||
::: pyasic.miners.whatsminer.btminer.M3X.M30S_Plus_Plus.BTMinerM30SPlusPlusVG40
|
::: pyasic.miners.whatsminer.btminer.M3X.M30S_Plus_Plus.BTMinerM30SPlusPlusVG40
|
||||||
handler: python
|
handler: python
|
||||||
@@ -97,6 +97,14 @@
|
|||||||
show_root_heading: false
|
show_root_heading: false
|
||||||
heading_level: 4
|
heading_level: 4
|
||||||
|
|
||||||
|
## M30S++VH60
|
||||||
|
|
||||||
|
::: pyasic.miners.whatsminer.btminer.M3X.M30S_Plus_Plus.BTMinerM30SPlusPlusVH60
|
||||||
|
handler: python
|
||||||
|
options:
|
||||||
|
show_root_heading: false
|
||||||
|
heading_level: 4
|
||||||
|
|
||||||
|
|
||||||
## M31S
|
## M31S
|
||||||
|
|
||||||
@@ -130,7 +138,7 @@
|
|||||||
show_root_heading: false
|
show_root_heading: false
|
||||||
heading_level: 4
|
heading_level: 4
|
||||||
|
|
||||||
## M32
|
## M32V20
|
||||||
|
|
||||||
::: pyasic.miners.whatsminer.btminer.M3X.M32.BTMinerM32V20
|
::: pyasic.miners.whatsminer.btminer.M3X.M32.BTMinerM32V20
|
||||||
handler: python
|
handler: python
|
||||||
|
|||||||
@@ -152,6 +152,7 @@ ERROR_CODES = {
|
|||||||
2020: "Pool 0 connection failed.",
|
2020: "Pool 0 connection failed.",
|
||||||
2021: "Pool 1 connection failed.",
|
2021: "Pool 1 connection failed.",
|
||||||
2022: "Pool 2 connection failed.",
|
2022: "Pool 2 connection failed.",
|
||||||
|
2023: "Pool 3 connection failed.",
|
||||||
2030: "High rejection rate on pool.",
|
2030: "High rejection rate on pool.",
|
||||||
2040: "The pool does not support asicboost mode.",
|
2040: "The pool does not support asicboost mode.",
|
||||||
2310: "Hashrate is too low.",
|
2310: "Hashrate is too low.",
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class M30SPlusPlusVG30(BaseMiner):
|
|||||||
def __init__(self, ip: str):
|
def __init__(self, ip: str):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.ip = ip
|
self.ip = ip
|
||||||
self.model = "M30S++ V30"
|
self.model = "M30S++ VG30"
|
||||||
self.nominal_chips = 111
|
self.nominal_chips = 111
|
||||||
self.fan_count = 2
|
self.fan_count = 2
|
||||||
|
|
||||||
@@ -37,6 +37,15 @@ class M30SPlusPlusVG40(BaseMiner):
|
|||||||
def __init__(self, ip: str):
|
def __init__(self, ip: str):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.ip = ip
|
self.ip = ip
|
||||||
self.model = "M30S++ V40"
|
self.model = "M30S++ VG40"
|
||||||
self.nominal_chips = 117
|
self.nominal_chips = 117
|
||||||
self.fan_count = 2
|
self.fan_count = 2
|
||||||
|
|
||||||
|
|
||||||
|
class M30SPlusPlusVH60(BaseMiner):
|
||||||
|
def __init__(self, ip: str):
|
||||||
|
super().__init__()
|
||||||
|
self.ip = ip
|
||||||
|
self.model = "M30S++ VH60"
|
||||||
|
self.nominal_chips = 78
|
||||||
|
self.fan_count = 2
|
||||||
|
|||||||
@@ -14,7 +14,12 @@
|
|||||||
|
|
||||||
from .M30S import M30S, M30SVE10, M30SVE20, M30SVG20, M30SV50
|
from .M30S import M30S, M30SVE10, M30SVE20, M30SVG20, M30SV50
|
||||||
from .M30S_Plus import M30SPlus, M30SPlusVG60, M30SPlusVE40, M30SPlusVF20
|
from .M30S_Plus import M30SPlus, M30SPlusVG60, M30SPlusVE40, M30SPlusVF20
|
||||||
from .M30S_Plus_Plus import M30SPlusPlus, M30SPlusPlusVG30, M30SPlusPlusVG40
|
from .M30S_Plus_Plus import (
|
||||||
|
M30SPlusPlus,
|
||||||
|
M30SPlusPlusVG30,
|
||||||
|
M30SPlusPlusVG40,
|
||||||
|
M30SPlusPlusVH60,
|
||||||
|
)
|
||||||
|
|
||||||
from .M31S import M31S
|
from .M31S import M31S
|
||||||
from .M31S_Plus import M31SPlus, M31SPlusVE20
|
from .M31S_Plus import M31SPlus, M31SPlusVE20
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ from pyasic.miners._types import ( # noqa - Ignore access to _module
|
|||||||
M30SPlusPlus,
|
M30SPlusPlus,
|
||||||
M30SPlusPlusVG40,
|
M30SPlusPlusVG40,
|
||||||
M30SPlusPlusVG30,
|
M30SPlusPlusVG30,
|
||||||
|
M30SPlusPlusVH60,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -36,3 +37,9 @@ class BTMinerM30SPlusPlusVG40(BTMiner, M30SPlusPlusVG40):
|
|||||||
def __init__(self, ip: str) -> None:
|
def __init__(self, ip: str) -> None:
|
||||||
super().__init__(ip)
|
super().__init__(ip)
|
||||||
self.ip = ip
|
self.ip = ip
|
||||||
|
|
||||||
|
|
||||||
|
class BTMinerM30SPlusPlusVH60(BTMiner, M30SPlusPlusVH60):
|
||||||
|
def __init__(self, ip: str) -> None:
|
||||||
|
super().__init__(ip)
|
||||||
|
self.ip = ip
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ from .M30S_Plus_Plus import (
|
|||||||
BTMinerM30SPlusPlus,
|
BTMinerM30SPlusPlus,
|
||||||
BTMinerM30SPlusPlusVG40,
|
BTMinerM30SPlusPlusVG40,
|
||||||
BTMinerM30SPlusPlusVG30,
|
BTMinerM30SPlusPlusVG30,
|
||||||
|
BTMinerM30SPlusPlusVH60,
|
||||||
)
|
)
|
||||||
|
|
||||||
from .M31S import BTMinerM31S
|
from .M31S import BTMinerM31S
|
||||||
|
|||||||
Reference in New Issue
Block a user