feature: add support for a lot of whatsminers

This commit is contained in:
Upstream Data
2025-01-02 14:39:12 -07:00
committed by Brett Rowan
parent bb399fe362
commit fe9894919e
156 changed files with 4211 additions and 2447 deletions

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -21,7 +6,7 @@ from pyasic.miners.device.makes import WhatsMinerMake
class M30KV10(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30KV10
expected_hashboards = 4
expected_chips = 240
expected_fans = 2
expected_hashboards = 4
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -75,6 +60,7 @@ class M30SV60(WhatsMinerMake):
class M30SV70(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SV70
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -137,6 +123,7 @@ class M30SVE50(WhatsMinerMake):
class M30SVE60(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SVE60
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -145,6 +132,7 @@ class M30SVE60(WhatsMinerMake):
class M30SVE70(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SVE70
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -234,6 +222,7 @@ class M30SVH20(WhatsMinerMake):
class M30SVH30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SVH30
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -260,6 +249,7 @@ class M30SVH50(WhatsMinerMake):
class M30SVH60(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SVH60
expected_chips = 70
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -272,3 +262,12 @@ class M30SVI20(WhatsMinerMake):
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SVJ30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SVJ30
expected_chips = 105
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -27,6 +12,15 @@ class M30SPlusV10(WhatsMinerMake):
algo = MinerAlgo.SHA256
class M30SPlusV100(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusV100
expected_chips = 215
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusV20(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusV20
@@ -39,6 +33,7 @@ class M30SPlusV20(WhatsMinerMake):
class M30SPlusV30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusV30
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -98,10 +93,10 @@ class M30SPlusV90(WhatsMinerMake):
algo = MinerAlgo.SHA256
class M30SPlusV100(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusV100
class M30SPlusVE100(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusVE100
expected_chips = 215
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -146,6 +141,7 @@ class M30SPlusVE60(WhatsMinerMake):
class M30SPlusVE70(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusVE70
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -154,6 +150,7 @@ class M30SPlusVE70(WhatsMinerMake):
class M30SPlusVE80(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusVE80
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -162,14 +159,7 @@ class M30SPlusVE80(WhatsMinerMake):
class M30SPlusVE90(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusVE90
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusVE100(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusVE100
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -290,3 +280,39 @@ class M30SPlusVH60(WhatsMinerMake):
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusVH70(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusVH70
expected_chips = 70
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusVI30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusVI30
expected_chips = 86
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusVJ30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusVJ30
expected_chips = 105
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusVJ40(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusVJ40
expected_chips = 117
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -21,18 +6,18 @@ from pyasic.miners.device.makes import WhatsMinerMake
class M30SPlusPlusV10(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusV10
expected_hashboards = 4
expected_chips = 255
expected_fans = 2
expected_hashboards = 4
algo = MinerAlgo.SHA256
class M30SPlusPlusV20(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusV20
expected_hashboards = 4
expected_chips = 255
expected_fans = 2
expected_hashboards = 4
algo = MinerAlgo.SHA256
@@ -93,6 +78,7 @@ class M30SPlusPlusVG40(WhatsMinerMake):
class M30SPlusPlusVG50(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVG50
expected_chips = 123
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -107,6 +93,24 @@ class M30SPlusPlusVH10(WhatsMinerMake):
algo = MinerAlgo.SHA256
class M30SPlusPlusVH100(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVH100
expected_chips = 82
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusPlusVH110(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVH110
expected_chips = 105
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusPlusVH20(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVH20
@@ -179,10 +183,10 @@ class M30SPlusPlusVH90(WhatsMinerMake):
algo = MinerAlgo.SHA256
class M30SPlusPlusVH100(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVH100
class M30SPlusPlusVI30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVI30
expected_chips = 82
expected_chips = 111
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -191,6 +195,7 @@ class M30SPlusPlusVH100(WhatsMinerMake):
class M30SPlusPlusVJ20(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVJ20
expected_chips = 70
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -199,6 +204,52 @@ class M30SPlusPlusVJ20(WhatsMinerMake):
class M30SPlusPlusVJ30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVJ30
expected_chips = 74
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusPlusVJ50(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVJ50
expected_chips = 82
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusPlusVJ60(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVJ60
expected_chips = 111
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusPlusVJ70(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVJ70
expected_chips = 117
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M30SPlusPlusVK30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVK30
expected_chips = 74
expected_fans = 2
expected_hashboards = 2
algo = MinerAlgo.SHA256
class M30SPlusPlusVK40(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M30SPlusPlusVK40
expected_chips = 105
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -22,7 +7,7 @@ class M31HV10(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31HV10
expected_chips = 114
expected_fans = 0
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -30,7 +15,7 @@ class M31HV10(WhatsMinerMake):
class M31HV40(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31HV40
expected_hashboards = 4
expected_chips = 136
expected_fans = 0
expected_fans = 2
expected_hashboards = 4
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -21,7 +6,7 @@ from pyasic.miners.device.makes import WhatsMinerMake
class M31LV10(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31LV10
expected_chips = 114
expected_chips = 144
expected_fans = 2
expected_hashboards = 3
expected_hashboards = 4
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -84,6 +69,7 @@ class M31SV70(WhatsMinerMake):
class M31SV80(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31SV80
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -119,6 +105,7 @@ class M31SVE20(WhatsMinerMake):
class M31SVE30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31SVE30
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -27,6 +12,15 @@ class M31SPlusV10(WhatsMinerMake):
algo = MinerAlgo.SHA256
class M31SPlusV100(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31SPlusV100
expected_chips = 111
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M31SPlusV20(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31SPlusV20
@@ -90,15 +84,6 @@ class M31SPlusV90(WhatsMinerMake):
algo = MinerAlgo.SHA256
class M31SPlusV100(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31SPlusV100
expected_chips = 111
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
class M31SPlusVE10(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31SPlusVE10
@@ -147,6 +132,7 @@ class M31SPlusVE50(WhatsMinerMake):
class M31SPlusVE60(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31SPlusVE60
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -155,6 +141,7 @@ class M31SPlusVE60(WhatsMinerMake):
class M31SPlusVE80(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31SPlusVE80
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256
@@ -172,6 +159,7 @@ class M31SPlusVF20(WhatsMinerMake):
class M31SPlusVF30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M31SPlusVF30
expected_chips = None
expected_fans = 2
expected_hashboards = 3
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -21,7 +6,7 @@ from pyasic.miners.device.makes import WhatsMinerMake
class M33SVG30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M33SVG30
expected_hashboards = 4
expected_chips = 116
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -21,24 +6,34 @@ from pyasic.miners.device.makes import WhatsMinerMake
class M33SPlusVG20(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M33SPlusVG20
expected_hashboards = 4
expected_chips = 112
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256
class M33SPlusVG30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M33SPlusVG30
expected_chips = 162
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256
class M33SPlusVH20(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M33SPlusVH20
expected_hashboards = 4
expected_chips = 100
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256
class M33SPlusVH30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M33SPlusVH30
expected_hashboards = 4
expected_chips = None
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256

View File

@@ -1,44 +1,30 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
class M33SPlusPlusVG40(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M33SPlusPlusVG40
expected_chips = 174
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256
class M33SPlusPlusVH20(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M33SPlusPlusVH20
expected_hashboards = 4
expected_chips = 112
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256
class M33SPlusPlusVH30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M33SPlusPlusVH30
expected_hashboards = 4
expected_chips = None
expected_fans = 0
algo = MinerAlgo.SHA256
class M33SPlusPlusVG40(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M33SPlusPlusVG40
expected_hashboards = 4
expected_chips = 174
expected_fans = 0
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -21,7 +6,7 @@ from pyasic.miners.device.makes import WhatsMinerMake
class M34SPlusVE10(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M34SPlusVE10
expected_hashboards = 4
expected_chips = 116
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -21,7 +6,7 @@ from pyasic.miners.device.makes import WhatsMinerMake
class M36SVE10(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M36SVE10
expected_hashboards = 4
expected_chips = 114
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -21,7 +6,7 @@ from pyasic.miners.device.makes import WhatsMinerMake
class M36SPlusVG30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M36SPlusVG30
expected_hashboards = 4
expected_chips = 108
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake
@@ -21,7 +6,7 @@ from pyasic.miners.device.makes import WhatsMinerMake
class M36SPlusPlusVH30(WhatsMinerMake):
raw_model = MinerModel.WHATSMINER.M36SPlusPlusVH30
expected_hashboards = 4
expected_chips = 80
expected_fans = 0
expected_hashboards = 4
algo = MinerAlgo.SHA256

View File

@@ -1,18 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.device.algorithm import MinerAlgo
from pyasic.device.models import MinerModel
from pyasic.miners.device.makes import WhatsMinerMake

View File

@@ -1,19 +1,3 @@
# ------------------------------------------------------------------------------
# Copyright 2022 Upstream Data Inc -
# -
# Licensed under the Apache License, Version 2.0 (the "License"); -
# you may not use this file except in compliance with the License. -
# You may obtain a copy of the License at -
# -
# http://www.apache.org/licenses/LICENSE-2.0 -
# -
# Unless required by applicable law or agreed to in writing, software -
# distributed under the License is distributed on an "AS IS" BASIS, -
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
# See the License for the specific language governing permissions and -
# limitations under the License. -
# ------------------------------------------------------------------------------
from .M30 import M30V10, M30V20
from .M30K import M30KV10
from .M30L import M30LV10
@@ -47,6 +31,7 @@ from .M30S import (
M30SVH50,
M30SVH60,
M30SVI20,
M30SVJ30,
)
from .M30S_Plus import (
M30SPlusV10,
@@ -80,6 +65,10 @@ from .M30S_Plus import (
M30SPlusVH40,
M30SPlusVH50,
M30SPlusVH60,
M30SPlusVH70,
M30SPlusVI30,
M30SPlusVJ30,
M30SPlusVJ40,
)
from .M30S_Plus_Plus import (
M30SPlusPlusV10,
@@ -101,8 +90,15 @@ from .M30S_Plus_Plus import (
M30SPlusPlusVH80,
M30SPlusPlusVH90,
M30SPlusPlusVH100,
M30SPlusPlusVH110,
M30SPlusPlusVI30,
M30SPlusPlusVJ20,
M30SPlusPlusVJ30,
M30SPlusPlusVJ50,
M30SPlusPlusVJ60,
M30SPlusPlusVJ70,
M30SPlusPlusVK30,
M30SPlusPlusVK40,
)
from .M31 import M31V10, M31V20
from .M31H import M31HV10, M31HV40
@@ -145,10 +141,9 @@ from .M31S_Plus import (
)
from .M31SE import M31SEV10, M31SEV20, M31SEV30
from .M32 import M32V10, M32V20
from .M32S import M32S
from .M33 import M33V10, M33V20, M33V30
from .M33S import M33SVG30
from .M33S_Plus import M33SPlusVG20, M33SPlusVH20, M33SPlusVH30
from .M33S_Plus import M33SPlusVG20, M33SPlusVG30, M33SPlusVH20, M33SPlusVH30
from .M33S_Plus_Plus import M33SPlusPlusVG40, M33SPlusPlusVH20, M33SPlusPlusVH30
from .M34S_Plus import M34SPlusVE10
from .M36S import M36SVE10