Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98a94ce4a6 | ||
|
|
f0a8b6e1c7 |
@@ -77,6 +77,7 @@ Supported miner types are here on this list. If your miner (or miner version) i
|
|||||||
<summary><a href="/miners/whatsminer/M3X/#m31s_1">M31S+</a></summary>
|
<summary><a href="/miners/whatsminer/M3X/#m31s_1">M31S+</a></summary>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/miners/whatsminer/M3X/#m31sve20">VE20</a></li>
|
<li><a href="/miners/whatsminer/M3X/#m31sve20">VE20</a></li>
|
||||||
|
<li><a href="/miners/whatsminer/M3X/#m31sv30">V30</a></li>
|
||||||
<li><a href="/miners/whatsminer/M3X/#m31sv40">V40</a></li>
|
<li><a href="/miners/whatsminer/M3X/#m31sv40">V40</a></li>
|
||||||
<li><a href="/miners/whatsminer/M3X/#m31sv60">V60</a></li>
|
<li><a href="/miners/whatsminer/M3X/#m31sv60">V60</a></li>
|
||||||
<li><a href="/miners/whatsminer/M3X/#m31sv80">V80</a></li>
|
<li><a href="/miners/whatsminer/M3X/#m31sv80">V80</a></li>
|
||||||
|
|||||||
@@ -130,6 +130,14 @@
|
|||||||
show_root_heading: false
|
show_root_heading: false
|
||||||
heading_level: 4
|
heading_level: 4
|
||||||
|
|
||||||
|
## M31S+V30
|
||||||
|
|
||||||
|
::: pyasic.miners.whatsminer.btminer.M3X.M31S_Plus.BTMinerM31SPlusV30
|
||||||
|
handler: python
|
||||||
|
options:
|
||||||
|
show_root_heading: false
|
||||||
|
heading_level: 4
|
||||||
|
|
||||||
## M31S+V40
|
## M31S+V40
|
||||||
|
|
||||||
::: pyasic.miners.whatsminer.btminer.M3X.M31S_Plus.BTMinerM31SPlusV40
|
::: pyasic.miners.whatsminer.btminer.M3X.M31S_Plus.BTMinerM31SPlusV40
|
||||||
|
|||||||
@@ -33,6 +33,15 @@ class M31SPlusVE20(BaseMiner):
|
|||||||
self.fan_count = 2
|
self.fan_count = 2
|
||||||
|
|
||||||
|
|
||||||
|
class M31SPlusV30(BaseMiner):
|
||||||
|
def __init__(self, ip: str):
|
||||||
|
super().__init__()
|
||||||
|
self.ip = ip
|
||||||
|
self.model = "M31S+ V30"
|
||||||
|
self.nominal_chips = 17
|
||||||
|
self.fan_count = 2
|
||||||
|
|
||||||
|
|
||||||
class M31SPlusV40(BaseMiner):
|
class M31SPlusV40(BaseMiner):
|
||||||
def __init__(self, ip: str):
|
def __init__(self, ip: str):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ from .M31S import M31S
|
|||||||
from .M31S_Plus import (
|
from .M31S_Plus import (
|
||||||
M31SPlus,
|
M31SPlus,
|
||||||
M31SPlusVE20,
|
M31SPlusVE20,
|
||||||
|
M31SPlusV30,
|
||||||
M31SPlusV40,
|
M31SPlusV40,
|
||||||
M31SPlusV80,
|
M31SPlusV80,
|
||||||
M31SPlusV60,
|
M31SPlusV60,
|
||||||
|
|||||||
@@ -197,6 +197,7 @@ MINER_CLASSES = {
|
|||||||
"Default": BTMinerM31SPlus,
|
"Default": BTMinerM31SPlus,
|
||||||
"BTMiner": BTMinerM31SPlus,
|
"BTMiner": BTMinerM31SPlus,
|
||||||
"E20": BTMinerM31SPlusVE20,
|
"E20": BTMinerM31SPlusVE20,
|
||||||
|
"30": BTMinerM31SPlusV30,
|
||||||
"40": BTMinerM31SPlusV40,
|
"40": BTMinerM31SPlusV40,
|
||||||
"60": BTMinerM31SPlusV60,
|
"60": BTMinerM31SPlusV60,
|
||||||
"80": BTMinerM31SPlusV80,
|
"80": BTMinerM31SPlusV80,
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
|
|||||||
from pyasic.miners._types import (
|
from pyasic.miners._types import (
|
||||||
M31SPlus,
|
M31SPlus,
|
||||||
M31SPlusVE20,
|
M31SPlusVE20,
|
||||||
|
M31SPlusV30,
|
||||||
M31SPlusV40,
|
M31SPlusV40,
|
||||||
M31SPlusV60,
|
M31SPlusV60,
|
||||||
M31SPlusV80,
|
M31SPlusV80,
|
||||||
@@ -35,6 +36,12 @@ class BTMinerM31SPlusVE20(BTMiner, M31SPlusVE20):
|
|||||||
self.ip = ip
|
self.ip = ip
|
||||||
|
|
||||||
|
|
||||||
|
class BTMinerM31SPlusV30(BTMiner, M31SPlusV30):
|
||||||
|
def __init__(self, ip: str) -> None:
|
||||||
|
super().__init__(ip)
|
||||||
|
self.ip = ip
|
||||||
|
|
||||||
|
|
||||||
class BTMinerM31SPlusV40(BTMiner, M31SPlusV40):
|
class BTMinerM31SPlusV40(BTMiner, M31SPlusV40):
|
||||||
def __init__(self, ip: str) -> None:
|
def __init__(self, ip: str) -> None:
|
||||||
super().__init__(ip)
|
super().__init__(ip)
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ from .M31S import BTMinerM31S
|
|||||||
from .M31S_Plus import (
|
from .M31S_Plus import (
|
||||||
BTMinerM31SPlus,
|
BTMinerM31SPlus,
|
||||||
BTMinerM31SPlusVE20,
|
BTMinerM31SPlusVE20,
|
||||||
|
BTMinerM31SPlusV30,
|
||||||
BTMinerM31SPlusV40,
|
BTMinerM31SPlusV40,
|
||||||
BTMinerM31SPlusV60,
|
BTMinerM31SPlusV60,
|
||||||
BTMinerM31SPlusV80,
|
BTMinerM31SPlusV80,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pyasic"
|
name = "pyasic"
|
||||||
version = "0.17.8"
|
version = "0.17.9"
|
||||||
description = "A set of modules for interfacing with many common types of ASIC bitcoin miners, using both their API and SSH."
|
description = "A set of modules for interfacing with many common types of ASIC bitcoin miners, using both their API and SSH."
|
||||||
authors = ["UpstreamData <brett@upstreamdata.ca>"]
|
authors = ["UpstreamData <brett@upstreamdata.ca>"]
|
||||||
repository = "https://github.com/UpstreamData/pyasic"
|
repository = "https://github.com/UpstreamData/pyasic"
|
||||||
|
|||||||
Reference in New Issue
Block a user