refactor: move base classes to base.py in their directories, move data locations to miners.data, and rename types to models.
This commit is contained in:
22
pyasic/miners/models/__init__.py
Normal file
22
pyasic/miners/models/__init__.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .antminer import *
|
||||
from .auradine import *
|
||||
from .avalonminer import *
|
||||
from .goldshell import *
|
||||
from .innosilicon import *
|
||||
from .whatsminer import *
|
||||
23
pyasic/miners/models/antminer/X15/Z15.py
Normal file
23
pyasic/miners/models/antminer/X15/Z15.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class Z15(AntMinerMake):
|
||||
raw_model = "Z15"
|
||||
expected_chips = 3
|
||||
expected_fans = 2
|
||||
16
pyasic/miners/models/antminer/X15/__init__.py
Normal file
16
pyasic/miners/models/antminer/X15/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .Z15 import Z15
|
||||
41
pyasic/miners/models/antminer/X17/S17.py
Normal file
41
pyasic/miners/models/antminer/X17/S17.py
Normal file
@@ -0,0 +1,41 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class S17(AntMinerMake):
|
||||
raw_model = "S17"
|
||||
expected_chips = 48
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S17Plus(AntMinerMake):
|
||||
raw_model = "S17+"
|
||||
expected_chips = 65
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S17Pro(AntMinerMake):
|
||||
raw_model = "S17 Pro"
|
||||
expected_chips = 48
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S17e(AntMinerMake):
|
||||
raw_model = "S17e"
|
||||
expected_chips = 135
|
||||
expected_fans = 4
|
||||
35
pyasic/miners/models/antminer/X17/T17.py
Normal file
35
pyasic/miners/models/antminer/X17/T17.py
Normal file
@@ -0,0 +1,35 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class T17(AntMinerMake):
|
||||
raw_model = "T17"
|
||||
expected_chips = 30
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class T17Plus(AntMinerMake):
|
||||
raw_model = "T17+"
|
||||
expected_chips = 44
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class T17e(AntMinerMake):
|
||||
raw_model = "T17e"
|
||||
expected_chips = 78
|
||||
expected_fans = 4
|
||||
18
pyasic/miners/models/antminer/X17/__init__.py
Normal file
18
pyasic/miners/models/antminer/X17/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .S17 import S17, S17e, S17Plus, S17Pro
|
||||
from .T17 import T17, T17e, T17Plus
|
||||
120
pyasic/miners/models/antminer/X19/S19.py
Normal file
120
pyasic/miners/models/antminer/X19/S19.py
Normal file
@@ -0,0 +1,120 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class S19(AntMinerMake):
|
||||
raw_model = "S19"
|
||||
expected_chips = 76
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19NoPIC(AntMinerMake):
|
||||
raw_model = "S19 No PIC"
|
||||
expected_chips = 88
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19Pro(AntMinerMake):
|
||||
raw_model = "S19 Pro"
|
||||
expected_chips = 114
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19i(AntMinerMake):
|
||||
raw_model = "S19i"
|
||||
expected_chips = 80
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19Plus(AntMinerMake):
|
||||
raw_model = "S19+"
|
||||
expected_chips = 80
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19ProPlus(AntMinerMake):
|
||||
raw_model = "S19 Pro+"
|
||||
expected_chips = 120
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19XP(AntMinerMake):
|
||||
raw_model = "S19 XP"
|
||||
expected_chips = 110
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19a(AntMinerMake):
|
||||
raw_model = "S19a"
|
||||
expected_chips = 72
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19aPro(AntMinerMake):
|
||||
raw_model = "S19a Pro"
|
||||
expected_chips = 100
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19j(AntMinerMake):
|
||||
raw_model = "S19j"
|
||||
expected_chips = 114
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19jNoPIC(AntMinerMake):
|
||||
raw_model = "S19j No PIC"
|
||||
expected_chips = 88
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19jPro(AntMinerMake):
|
||||
raw_model = "S19j Pro"
|
||||
expected_chips = 126
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19jProPlus(AntMinerMake):
|
||||
raw_model = "S19j Pro+"
|
||||
expected_chips = 120
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19kPro(AntMinerMake):
|
||||
raw_model = "S19k Pro"
|
||||
expected_chips = 77
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19L(AntMinerMake):
|
||||
raw_model = "S19L"
|
||||
expected_chips = 76
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19kProNoPIC(AntMinerMake):
|
||||
raw_model = "S19k Pro No PIC"
|
||||
expected_chips = 77
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class S19ProHydro(AntMinerMake):
|
||||
raw_model = "S19 Pro Hydro"
|
||||
expected_chips = 180
|
||||
expected_hashboards = 4
|
||||
expected_fans = 0
|
||||
23
pyasic/miners/models/antminer/X19/T19.py
Normal file
23
pyasic/miners/models/antminer/X19/T19.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class T19(AntMinerMake):
|
||||
raw_model = "T19"
|
||||
expected_chips = 76
|
||||
expected_fans = 4
|
||||
36
pyasic/miners/models/antminer/X19/__init__.py
Normal file
36
pyasic/miners/models/antminer/X19/__init__.py
Normal file
@@ -0,0 +1,36 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .S19 import (
|
||||
S19,
|
||||
S19L,
|
||||
S19XP,
|
||||
S19a,
|
||||
S19aPro,
|
||||
S19i,
|
||||
S19j,
|
||||
S19jNoPIC,
|
||||
S19jPro,
|
||||
S19jProPlus,
|
||||
S19kPro,
|
||||
S19kProNoPIC,
|
||||
S19NoPIC,
|
||||
S19Plus,
|
||||
S19Pro,
|
||||
S19ProHydro,
|
||||
S19ProPlus,
|
||||
)
|
||||
from .T19 import T19
|
||||
25
pyasic/miners/models/antminer/X3/D3.py
Normal file
25
pyasic/miners/models/antminer/X3/D3.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class D3(AntMinerMake):
|
||||
raw_model = "D3"
|
||||
|
||||
expected_chips = 60
|
||||
expected_hashboards = 3
|
||||
expected_fans = 2
|
||||
25
pyasic/miners/models/antminer/X3/HS3.py
Normal file
25
pyasic/miners/models/antminer/X3/HS3.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class HS3(AntMinerMake):
|
||||
raw_model = "HS3"
|
||||
|
||||
expected_chips = 92
|
||||
expected_hashboards = 3
|
||||
expected_fans = 2
|
||||
22
pyasic/miners/models/antminer/X3/L3.py
Normal file
22
pyasic/miners/models/antminer/X3/L3.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class L3Plus(AntMinerMake):
|
||||
raw_model = "L3+"
|
||||
expected_chips = 72
|
||||
expected_fans = 2
|
||||
18
pyasic/miners/models/antminer/X3/__init__.py
Normal file
18
pyasic/miners/models/antminer/X3/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .D3 import D3
|
||||
from .HS3 import HS3
|
||||
from .L3 import L3Plus
|
||||
24
pyasic/miners/models/antminer/X5/DR5.py
Normal file
24
pyasic/miners/models/antminer/X5/DR5.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class DR5(AntMinerMake):
|
||||
raw_model = "DR5"
|
||||
expected_chips = 72
|
||||
expected_hashboards = 3
|
||||
expected_fans = 2
|
||||
16
pyasic/miners/models/antminer/X5/__init__.py
Normal file
16
pyasic/miners/models/antminer/X5/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .DR5 import DR5
|
||||
22
pyasic/miners/models/antminer/X7/L7.py
Normal file
22
pyasic/miners/models/antminer/X7/L7.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class L7(AntMinerMake):
|
||||
raw_model = "L7"
|
||||
expected_chips = 120
|
||||
expected_fans = 4
|
||||
16
pyasic/miners/models/antminer/X7/__init__.py
Normal file
16
pyasic/miners/models/antminer/X7/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .L7 import L7
|
||||
24
pyasic/miners/models/antminer/X9/E9.py
Normal file
24
pyasic/miners/models/antminer/X9/E9.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class E9Pro(AntMinerMake):
|
||||
raw_model = "E9Pro"
|
||||
expected_chips = 8
|
||||
expected_hashboards = 2
|
||||
expected_fans = 4
|
||||
35
pyasic/miners/models/antminer/X9/S9.py
Normal file
35
pyasic/miners/models/antminer/X9/S9.py
Normal file
@@ -0,0 +1,35 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class S9(AntMinerMake):
|
||||
raw_model = "S9"
|
||||
expected_chips = 63
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class S9i(AntMinerMake):
|
||||
raw_model = "S9i"
|
||||
expected_chips = 63
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class S9j(AntMinerMake):
|
||||
raw_model = "S9j"
|
||||
expected_chips = 63
|
||||
expected_fans = 2
|
||||
23
pyasic/miners/models/antminer/X9/T9.py
Normal file
23
pyasic/miners/models/antminer/X9/T9.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AntMinerMake
|
||||
|
||||
|
||||
class T9(AntMinerMake):
|
||||
raw_model = "T9"
|
||||
expected_chips = 54
|
||||
expected_fans = 2
|
||||
19
pyasic/miners/models/antminer/X9/__init__.py
Normal file
19
pyasic/miners/models/antminer/X9/__init__.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .E9 import E9Pro
|
||||
from .S9 import S9, S9i, S9j
|
||||
from .T9 import T9
|
||||
22
pyasic/miners/models/antminer/__init__.py
Normal file
22
pyasic/miners/models/antminer/__init__.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .X3 import *
|
||||
from .X5 import *
|
||||
from .X7 import *
|
||||
from .X9 import *
|
||||
from .X15 import *
|
||||
from .X17 import *
|
||||
from .X19 import *
|
||||
6
pyasic/miners/models/auradine/AD/AD2.py
Normal file
6
pyasic/miners/models/auradine/AD/AD2.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from pyasic.miners.makes import AuradineMake
|
||||
|
||||
|
||||
class AuradineAD2500(AuradineMake):
|
||||
raw_model = "AD2500"
|
||||
expected_fans = 0
|
||||
6
pyasic/miners/models/auradine/AD/AD3.py
Normal file
6
pyasic/miners/models/auradine/AD/AD3.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from pyasic.miners.makes import AuradineMake
|
||||
|
||||
|
||||
class AuradineAD3500(AuradineMake):
|
||||
raw_model = "AD3500"
|
||||
expected_fans = 0
|
||||
2
pyasic/miners/models/auradine/AD/__init__.py
Normal file
2
pyasic/miners/models/auradine/AD/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
from .AD2 import AuradineAD2500
|
||||
from .AD3 import AuradineAD3500
|
||||
6
pyasic/miners/models/auradine/AI/AI2.py
Normal file
6
pyasic/miners/models/auradine/AI/AI2.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from pyasic.miners.makes import AuradineMake
|
||||
|
||||
|
||||
class AuradineAI2500(AuradineMake):
|
||||
raw_model = "AI2500"
|
||||
expected_fans = 0
|
||||
6
pyasic/miners/models/auradine/AI/AI3.py
Normal file
6
pyasic/miners/models/auradine/AI/AI3.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from pyasic.miners.makes import AuradineMake
|
||||
|
||||
|
||||
class AuradineAI3680(AuradineMake):
|
||||
raw_model = "AI3680"
|
||||
expected_fans = 0
|
||||
2
pyasic/miners/models/auradine/AI/__init__.py
Normal file
2
pyasic/miners/models/auradine/AI/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
from .AI2 import AuradineAI2500
|
||||
from .AI3 import AuradineAI3680
|
||||
7
pyasic/miners/models/auradine/AT/AT1.py
Normal file
7
pyasic/miners/models/auradine/AT/AT1.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from pyasic.miners.makes import AuradineMake
|
||||
|
||||
|
||||
class AuradineAT1500(AuradineMake):
|
||||
raw_model = "AT1500"
|
||||
expected_chips = 132
|
||||
expected_fans = 4
|
||||
11
pyasic/miners/models/auradine/AT/AT2.py
Normal file
11
pyasic/miners/models/auradine/AT/AT2.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from pyasic.miners.makes import AuradineMake
|
||||
|
||||
|
||||
class AuradineAT2860(AuradineMake):
|
||||
raw_model = "AT2860"
|
||||
expected_fans = 4
|
||||
|
||||
|
||||
class AuradineAT2880(AuradineMake):
|
||||
raw_model = "AT2880"
|
||||
expected_fans = 4
|
||||
2
pyasic/miners/models/auradine/AT/__init__.py
Normal file
2
pyasic/miners/models/auradine/AT/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
from .AT1 import AuradineAT1500
|
||||
from .AT2 import AuradineAT2860, AuradineAT2880
|
||||
3
pyasic/miners/models/auradine/__init__.py
Normal file
3
pyasic/miners/models/auradine/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from .AD import *
|
||||
from .AI import *
|
||||
from .AT import *
|
||||
23
pyasic/miners/models/avalonminer/A10X/A1026.py
Normal file
23
pyasic/miners/models/avalonminer/A10X/A1026.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon1026(AvalonMinerMake):
|
||||
raw_model = "Avalon 1026"
|
||||
expected_chips = 80
|
||||
expected_fans = 2
|
||||
23
pyasic/miners/models/avalonminer/A10X/A1047.py
Normal file
23
pyasic/miners/models/avalonminer/A10X/A1047.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon1047(AvalonMinerMake):
|
||||
raw_model = "Avalon 1047"
|
||||
expected_chips = 80
|
||||
expected_fans = 2
|
||||
23
pyasic/miners/models/avalonminer/A10X/A1066.py
Normal file
23
pyasic/miners/models/avalonminer/A10X/A1066.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon1066(AvalonMinerMake):
|
||||
raw_model = "Avalon 1066"
|
||||
expected_chips = 114
|
||||
expected_fans = 4
|
||||
19
pyasic/miners/models/avalonminer/A10X/__init__.py
Normal file
19
pyasic/miners/models/avalonminer/A10X/__init__.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .A1026 import Avalon1026
|
||||
from .A1047 import Avalon1047
|
||||
from .A1066 import Avalon1066
|
||||
23
pyasic/miners/models/avalonminer/A11X/A1166.py
Normal file
23
pyasic/miners/models/avalonminer/A11X/A1166.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon1166Pro(AvalonMinerMake):
|
||||
raw_model = "Avalon 1166 Pro"
|
||||
expected_chips = 120
|
||||
expected_fans = 4
|
||||
18
pyasic/miners/models/avalonminer/A11X/__init__.py
Normal file
18
pyasic/miners/models/avalonminer/A11X/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .A1166 import Avalon1166Pro
|
||||
23
pyasic/miners/models/avalonminer/A12X/A1246.py
Normal file
23
pyasic/miners/models/avalonminer/A12X/A1246.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon1246(AvalonMinerMake):
|
||||
raw_model = "Avalon 1246"
|
||||
expected_chips = 120
|
||||
expected_fans = 4
|
||||
17
pyasic/miners/models/avalonminer/A12X/__init__.py
Normal file
17
pyasic/miners/models/avalonminer/A12X/__init__.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .A1246 import Avalon1246
|
||||
24
pyasic/miners/models/avalonminer/A7X/A721.py
Normal file
24
pyasic/miners/models/avalonminer/A7X/A721.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon721(AvalonMinerMake):
|
||||
raw_model = "Avalon 721"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 18
|
||||
expected_fans = 1
|
||||
24
pyasic/miners/models/avalonminer/A7X/A741.py
Normal file
24
pyasic/miners/models/avalonminer/A7X/A741.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon741(AvalonMinerMake):
|
||||
raw_model = "Avalon 741"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 22
|
||||
expected_fans = 1
|
||||
24
pyasic/miners/models/avalonminer/A7X/A761.py
Normal file
24
pyasic/miners/models/avalonminer/A7X/A761.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon761(AvalonMinerMake):
|
||||
raw_model = "Avalon 761"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 18
|
||||
expected_fans = 1
|
||||
19
pyasic/miners/models/avalonminer/A7X/__init__.py
Normal file
19
pyasic/miners/models/avalonminer/A7X/__init__.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .A721 import Avalon721
|
||||
from .A741 import Avalon741
|
||||
from .A761 import Avalon761
|
||||
24
pyasic/miners/models/avalonminer/A8X/A821.py
Normal file
24
pyasic/miners/models/avalonminer/A8X/A821.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon821(AvalonMinerMake):
|
||||
raw_model = "Avalon 821"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 26
|
||||
expected_fans = 1
|
||||
24
pyasic/miners/models/avalonminer/A8X/A841.py
Normal file
24
pyasic/miners/models/avalonminer/A8X/A841.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon841(AvalonMinerMake):
|
||||
raw_model = "Avalon 841"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 26
|
||||
expected_fans = 1
|
||||
24
pyasic/miners/models/avalonminer/A8X/A851.py
Normal file
24
pyasic/miners/models/avalonminer/A8X/A851.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon851(AvalonMinerMake):
|
||||
raw_model = "Avalon 851"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 26
|
||||
expected_fans = 1
|
||||
19
pyasic/miners/models/avalonminer/A8X/__init__.py
Normal file
19
pyasic/miners/models/avalonminer/A8X/__init__.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .A821 import Avalon821
|
||||
from .A841 import Avalon841
|
||||
from .A851 import Avalon851
|
||||
24
pyasic/miners/models/avalonminer/A9X/A921.py
Normal file
24
pyasic/miners/models/avalonminer/A9X/A921.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import AvalonMinerMake
|
||||
|
||||
|
||||
class Avalon921(AvalonMinerMake):
|
||||
raw_model = "Avalon 921"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 26
|
||||
expected_fans = 1
|
||||
17
pyasic/miners/models/avalonminer/A9X/__init__.py
Normal file
17
pyasic/miners/models/avalonminer/A9X/__init__.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .A921 import Avalon921
|
||||
22
pyasic/miners/models/avalonminer/__init__.py
Normal file
22
pyasic/miners/models/avalonminer/__init__.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .A7X import *
|
||||
from .A8X import *
|
||||
from .A9X import *
|
||||
from .A10X import *
|
||||
from .A11X import *
|
||||
from .A12X import *
|
||||
23
pyasic/miners/models/goldshell/X5/CK5.py
Normal file
23
pyasic/miners/models/goldshell/X5/CK5.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import GoldshellMake
|
||||
|
||||
|
||||
class CK5(GoldshellMake):
|
||||
raw_model = "CK5"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 46
|
||||
expected_fans = 4
|
||||
23
pyasic/miners/models/goldshell/X5/HS5.py
Normal file
23
pyasic/miners/models/goldshell/X5/HS5.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import GoldshellMake
|
||||
|
||||
|
||||
class HS5(GoldshellMake):
|
||||
raw_model = "HS5"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 46
|
||||
expected_fans = 4
|
||||
23
pyasic/miners/models/goldshell/X5/KD5.py
Normal file
23
pyasic/miners/models/goldshell/X5/KD5.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import GoldshellMake
|
||||
|
||||
|
||||
class KD5(GoldshellMake):
|
||||
raw_model = "KD5"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 46
|
||||
expected_fans = 4
|
||||
18
pyasic/miners/models/goldshell/X5/__init__.py
Normal file
18
pyasic/miners/models/goldshell/X5/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .CK5 import CK5
|
||||
from .HS5 import HS5
|
||||
from .KD5 import KD5
|
||||
23
pyasic/miners/models/goldshell/XMax/KDMax.py
Normal file
23
pyasic/miners/models/goldshell/XMax/KDMax.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import GoldshellMake
|
||||
|
||||
|
||||
class KDMax(GoldshellMake):
|
||||
raw_model = "KD Max"
|
||||
expected_hashboards = 3
|
||||
expected_chips = 84
|
||||
expected_fans = 4
|
||||
16
pyasic/miners/models/goldshell/XMax/__init__.py
Normal file
16
pyasic/miners/models/goldshell/XMax/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .KDMax import KDMax
|
||||
17
pyasic/miners/models/goldshell/__init__.py
Normal file
17
pyasic/miners/models/goldshell/__init__.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .X5 import *
|
||||
from .XMax import *
|
||||
20
pyasic/miners/models/innosilicon/A10X/A10X.py
Normal file
20
pyasic/miners/models/innosilicon/A10X/A10X.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import InnosiliconMake
|
||||
|
||||
|
||||
class A10X(InnosiliconMake):
|
||||
raw_model = "A10X"
|
||||
16
pyasic/miners/models/innosilicon/A10X/__init__.py
Normal file
16
pyasic/miners/models/innosilicon/A10X/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .A10X import *
|
||||
23
pyasic/miners/models/innosilicon/T3X/T3H.py
Normal file
23
pyasic/miners/models/innosilicon/T3X/T3H.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import InnosiliconMake
|
||||
|
||||
|
||||
class T3HPlus(InnosiliconMake):
|
||||
raw_model = "T3H+"
|
||||
expected_chips = 114
|
||||
expected_fans = 4
|
||||
17
pyasic/miners/models/innosilicon/T3X/__init__.py
Normal file
17
pyasic/miners/models/innosilicon/T3X/__init__.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .T3H import T3HPlus
|
||||
18
pyasic/miners/models/innosilicon/__init__.py
Normal file
18
pyasic/miners/models/innosilicon/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .A10X import *
|
||||
from .T3X import *
|
||||
23
pyasic/miners/models/whatsminer/M2X/M20.py
Normal file
23
pyasic/miners/models/whatsminer/M2X/M20.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M20V10(WhatsMinerMake):
|
||||
raw_model = "M20 V10"
|
||||
expected_chips = 70
|
||||
expected_fans = 2
|
||||
29
pyasic/miners/models/whatsminer/M2X/M20P.py
Normal file
29
pyasic/miners/models/whatsminer/M2X/M20P.py
Normal file
@@ -0,0 +1,29 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M20PV10(WhatsMinerMake):
|
||||
raw_model = "M20P V10"
|
||||
expected_chips = 156
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M20PV30(WhatsMinerMake):
|
||||
raw_model = "M20P V30"
|
||||
expected_chips = 148
|
||||
expected_fans = 2
|
||||
35
pyasic/miners/models/whatsminer/M2X/M20S.py
Normal file
35
pyasic/miners/models/whatsminer/M2X/M20S.py
Normal file
@@ -0,0 +1,35 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M20SV10(WhatsMinerMake):
|
||||
raw_model = "M20S V10"
|
||||
expected_chips = 105
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M20SV20(WhatsMinerMake):
|
||||
raw_model = "M20S V20"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M20SV30(WhatsMinerMake):
|
||||
raw_model = "M20S V30"
|
||||
expected_chips = 140
|
||||
expected_fans = 2
|
||||
22
pyasic/miners/models/whatsminer/M2X/M20S_Plus.py
Normal file
22
pyasic/miners/models/whatsminer/M2X/M20S_Plus.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M20SPlusV30(WhatsMinerMake):
|
||||
raw_model = "M20S+ V30"
|
||||
expected_fans = 2
|
||||
23
pyasic/miners/models/whatsminer/M2X/M21.py
Normal file
23
pyasic/miners/models/whatsminer/M2X/M21.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M21V10(WhatsMinerMake):
|
||||
raw_model = "M21 V10"
|
||||
expected_chips = 33
|
||||
expected_fans = 2
|
||||
35
pyasic/miners/models/whatsminer/M2X/M21S.py
Normal file
35
pyasic/miners/models/whatsminer/M2X/M21S.py
Normal file
@@ -0,0 +1,35 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M21SV20(WhatsMinerMake):
|
||||
raw_model = "M21S V20"
|
||||
expected_chips = 66
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M21SV60(WhatsMinerMake):
|
||||
raw_model = "M21S V60"
|
||||
expected_chips = 105
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M21SV70(WhatsMinerMake):
|
||||
raw_model = "M21S V70"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
22
pyasic/miners/models/whatsminer/M2X/M21S_Plus.py
Normal file
22
pyasic/miners/models/whatsminer/M2X/M21S_Plus.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M21SPlusV20(WhatsMinerMake):
|
||||
raw_model = "M21S+ V20"
|
||||
expected_fans = 2
|
||||
23
pyasic/miners/models/whatsminer/M2X/M29.py
Normal file
23
pyasic/miners/models/whatsminer/M2X/M29.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M29V10(WhatsMinerMake):
|
||||
raw_model = "M29 V10"
|
||||
expected_chips = 50
|
||||
expected_fans = 2
|
||||
24
pyasic/miners/models/whatsminer/M2X/__init__.py
Normal file
24
pyasic/miners/models/whatsminer/M2X/__init__.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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 .M20 import M20V10
|
||||
from .M20P import M20PV10, M20PV30
|
||||
from .M20S import M20SV10, M20SV20, M20SV30
|
||||
from .M20S_Plus import M20SPlusV30
|
||||
from .M21 import M21V10
|
||||
from .M21S import M21SV20, M21SV60, M21SV70
|
||||
from .M21S_Plus import M21SPlusV20
|
||||
from .M29 import M29V10
|
||||
29
pyasic/miners/models/whatsminer/M3X/M30.py
Normal file
29
pyasic/miners/models/whatsminer/M3X/M30.py
Normal file
@@ -0,0 +1,29 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M30V10(WhatsMinerMake):
|
||||
raw_model = "M30 V10"
|
||||
expected_chips = 105
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30V20(WhatsMinerMake):
|
||||
raw_model = "M30 V20"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
24
pyasic/miners/models/whatsminer/M3X/M30K.py
Normal file
24
pyasic/miners/models/whatsminer/M3X/M30K.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M30KV10(WhatsMinerMake):
|
||||
raw_model = "M30K V10"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 240
|
||||
expected_fans = 2
|
||||
24
pyasic/miners/models/whatsminer/M3X/M30L.py
Normal file
24
pyasic/miners/models/whatsminer/M3X/M30L.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M30LV10(WhatsMinerMake):
|
||||
raw_model = "M30L V10"
|
||||
board_num = 4
|
||||
expected_chips = 144
|
||||
expected_fans = 2
|
||||
186
pyasic/miners/models/whatsminer/M3X/M30S.py
Normal file
186
pyasic/miners/models/whatsminer/M3X/M30S.py
Normal file
@@ -0,0 +1,186 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M30SV10(WhatsMinerMake):
|
||||
raw_model = "M30S V10"
|
||||
expected_chips = 148
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SV20(WhatsMinerMake):
|
||||
raw_model = "M30S V20"
|
||||
expected_chips = 156
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SV30(WhatsMinerMake):
|
||||
raw_model = "M30S V30"
|
||||
expected_chips = 164
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SV40(WhatsMinerMake):
|
||||
raw_model = "M30S V40"
|
||||
expected_chips = 172
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SV50(WhatsMinerMake):
|
||||
raw_model = "M30S V50"
|
||||
expected_chips = 156
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SV60(WhatsMinerMake):
|
||||
raw_model = "M30S V60"
|
||||
expected_chips = 164
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SV70(WhatsMinerMake):
|
||||
raw_model = "M30S V70"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SV80(WhatsMinerMake):
|
||||
raw_model = "M30S V80"
|
||||
expected_chips = 129
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVE10(WhatsMinerMake):
|
||||
raw_model = "M30S VE10"
|
||||
expected_chips = 105
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVE20(WhatsMinerMake):
|
||||
raw_model = "M30S VE20"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVE30(WhatsMinerMake):
|
||||
raw_model = "M30S VE30"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVE40(WhatsMinerMake):
|
||||
raw_model = "M30S VE40"
|
||||
expected_chips = 123
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVE50(WhatsMinerMake):
|
||||
raw_model = "M30S VE50"
|
||||
expected_chips = 129
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVE60(WhatsMinerMake):
|
||||
raw_model = "M30S VE60"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVE70(WhatsMinerMake):
|
||||
raw_model = "M30S VE70"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVF10(WhatsMinerMake):
|
||||
raw_model = "M30S VF10"
|
||||
expected_chips = 70
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVF20(WhatsMinerMake):
|
||||
raw_model = "M30S VF20"
|
||||
expected_chips = 74
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVF30(WhatsMinerMake):
|
||||
raw_model = "M30S VF30"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVG10(WhatsMinerMake):
|
||||
raw_model = "M30S VG10"
|
||||
expected_chips = 66
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVG20(WhatsMinerMake):
|
||||
raw_model = "M30S VG20"
|
||||
expected_chips = 70
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVG30(WhatsMinerMake):
|
||||
raw_model = "M30S VG30"
|
||||
expected_chips = 74
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVG40(WhatsMinerMake):
|
||||
raw_model = "M30S VG40"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVH10(WhatsMinerMake):
|
||||
raw_model = "M30S VH10"
|
||||
expected_chips = 64
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVH20(WhatsMinerMake):
|
||||
raw_model = "M30S VH20"
|
||||
expected_chips = 66
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVH30(WhatsMinerMake):
|
||||
raw_model = "M30S VH30"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVH40(WhatsMinerMake):
|
||||
raw_model = "M30S VH40"
|
||||
expected_chips = 64
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVH50(WhatsMinerMake):
|
||||
raw_model = "M30S VH50"
|
||||
expected_chips = 66
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVH60(WhatsMinerMake):
|
||||
raw_model = "M30S VH60"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SVI20(WhatsMinerMake):
|
||||
raw_model = "M30S VI20"
|
||||
expected_chips = 70
|
||||
expected_fans = 2
|
||||
198
pyasic/miners/models/whatsminer/M3X/M30S_Plus.py
Normal file
198
pyasic/miners/models/whatsminer/M3X/M30S_Plus.py
Normal file
@@ -0,0 +1,198 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M30SPlusV10(WhatsMinerMake):
|
||||
raw_model = "M30S+ V10"
|
||||
expected_chips = 215
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusV20(WhatsMinerMake):
|
||||
raw_model = "M30S+ V20"
|
||||
expected_chips = 255
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusV30(WhatsMinerMake):
|
||||
raw_model = "M30S+ V30"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusV40(WhatsMinerMake):
|
||||
raw_model = "M30S+ V40"
|
||||
expected_chips = 235
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusV50(WhatsMinerMake):
|
||||
raw_model = "M30S+ V50"
|
||||
expected_chips = 225
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusV60(WhatsMinerMake):
|
||||
raw_model = "M30S+ V60"
|
||||
expected_chips = 245
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusV70(WhatsMinerMake):
|
||||
raw_model = "M30S+ V70"
|
||||
expected_chips = 235
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusV80(WhatsMinerMake):
|
||||
raw_model = "M30S+ V80"
|
||||
expected_chips = 245
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusV90(WhatsMinerMake):
|
||||
raw_model = "M30S+ V90"
|
||||
expected_chips = 225
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusV100(WhatsMinerMake):
|
||||
raw_model = "M30S+ V100"
|
||||
expected_chips = 215
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVE30(WhatsMinerMake):
|
||||
raw_model = "M30S+ VE30"
|
||||
expected_chips = 148
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVE40(WhatsMinerMake):
|
||||
raw_model = "M30S+ VE40"
|
||||
expected_chips = 156
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVE50(WhatsMinerMake):
|
||||
raw_model = "M30S+ VE50"
|
||||
expected_chips = 164
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVE60(WhatsMinerMake):
|
||||
raw_model = "M30S+ VE60"
|
||||
expected_chips = 172
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVE70(WhatsMinerMake):
|
||||
raw_model = "M30S+ VE70"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVE80(WhatsMinerMake):
|
||||
raw_model = "M30S+ VE80"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVE90(WhatsMinerMake):
|
||||
raw_model = "M30S+ VE90"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVE100(WhatsMinerMake):
|
||||
raw_model = "M30S+ VE100"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVF20(WhatsMinerMake):
|
||||
raw_model = "M30S+ VF20"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVF30(WhatsMinerMake):
|
||||
raw_model = "M30S+ VF30"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVG20(WhatsMinerMake):
|
||||
raw_model = "M30S+ VG20"
|
||||
expected_chips = 82
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVG30(WhatsMinerMake):
|
||||
raw_model = "M30S+ VG30"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVG40(WhatsMinerMake):
|
||||
raw_model = "M30S+ VG40"
|
||||
expected_chips = 105
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVG50(WhatsMinerMake):
|
||||
raw_model = "M30S+ VG50"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVG60(WhatsMinerMake):
|
||||
raw_model = "M30S+ VG60"
|
||||
expected_chips = 86
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVH10(WhatsMinerMake):
|
||||
raw_model = "M30S+ VH10"
|
||||
expected_chips = 64
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVH20(WhatsMinerMake):
|
||||
raw_model = "M30S+ VH20"
|
||||
expected_chips = 66
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVH30(WhatsMinerMake):
|
||||
raw_model = "M30S+ VH30"
|
||||
expected_chips = 70
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVH40(WhatsMinerMake):
|
||||
raw_model = "M30S+ VH40"
|
||||
expected_chips = 74
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVH50(WhatsMinerMake):
|
||||
raw_model = "M30S+ VH50"
|
||||
expected_chips = 64
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusVH60(WhatsMinerMake):
|
||||
raw_model = "M30S+ VH60"
|
||||
expected_chips = 66
|
||||
expected_fans = 2
|
||||
142
pyasic/miners/models/whatsminer/M3X/M30S_Plus_Plus.py
Normal file
142
pyasic/miners/models/whatsminer/M3X/M30S_Plus_Plus.py
Normal file
@@ -0,0 +1,142 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M30SPlusPlusV10(WhatsMinerMake):
|
||||
raw_model = "M30S++ V10"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 255
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusV20(WhatsMinerMake):
|
||||
raw_model = "M30S++ V20"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 255
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVE30(WhatsMinerMake):
|
||||
raw_model = "M30S++ VE30"
|
||||
expected_chips = 215
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVE40(WhatsMinerMake):
|
||||
raw_model = "M30S++ VE40"
|
||||
expected_chips = 225
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVE50(WhatsMinerMake):
|
||||
raw_model = "M30S++ VE50"
|
||||
expected_chips = 235
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVF40(WhatsMinerMake):
|
||||
raw_model = "M30S++ VF40"
|
||||
expected_chips = 156
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVG30(WhatsMinerMake):
|
||||
raw_model = "M30S++ VG30"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVG40(WhatsMinerMake):
|
||||
raw_model = "M30S++ VG40"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVG50(WhatsMinerMake):
|
||||
raw_model = "M30S++ VG50"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVH10(WhatsMinerMake):
|
||||
raw_model = "M30S++ VH10"
|
||||
expected_chips = 82
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVH20(WhatsMinerMake):
|
||||
raw_model = "M30S++ VH20"
|
||||
expected_chips = 86
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVH30(WhatsMinerMake):
|
||||
raw_model = "M30S++ VH30"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVH40(WhatsMinerMake):
|
||||
raw_model = "M30S++ VH40"
|
||||
expected_chips = 70
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVH50(WhatsMinerMake):
|
||||
raw_model = "M30S++ VH50"
|
||||
expected_chips = 74
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVH60(WhatsMinerMake):
|
||||
raw_model = "M30S++ VH60"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVH70(WhatsMinerMake):
|
||||
raw_model = "M30S++ VH70"
|
||||
expected_chips = 70
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVH80(WhatsMinerMake):
|
||||
raw_model = "M30S++ VH80"
|
||||
expected_chips = 74
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVH90(WhatsMinerMake):
|
||||
raw_model = "M30S++ VH90"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVH100(WhatsMinerMake):
|
||||
raw_model = "M30S++ VH100"
|
||||
expected_chips = 82
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVJ20(WhatsMinerMake):
|
||||
raw_model = "M30S++ VJ20"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M30SPlusPlusVJ30(WhatsMinerMake):
|
||||
raw_model = "M30S++ VJ30"
|
||||
expected_fans = 2
|
||||
29
pyasic/miners/models/whatsminer/M3X/M31.py
Normal file
29
pyasic/miners/models/whatsminer/M3X/M31.py
Normal file
@@ -0,0 +1,29 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M31V10(WhatsMinerMake):
|
||||
raw_model = "M31 V10"
|
||||
expected_chips = 70
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31V20(WhatsMinerMake):
|
||||
raw_model = "M31 V20"
|
||||
expected_chips = 74
|
||||
expected_fans = 2
|
||||
30
pyasic/miners/models/whatsminer/M3X/M31H.py
Normal file
30
pyasic/miners/models/whatsminer/M3X/M31H.py
Normal file
@@ -0,0 +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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M31HV10(WhatsMinerMake):
|
||||
raw_model = "M31H V10"
|
||||
expected_chips = 114
|
||||
expected_fans = 0
|
||||
|
||||
|
||||
class M31HV40(WhatsMinerMake):
|
||||
raw_model = "M31H V40"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 136
|
||||
expected_fans = 0
|
||||
23
pyasic/miners/models/whatsminer/M3X/M31L.py
Normal file
23
pyasic/miners/models/whatsminer/M3X/M31L.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M31LV10(WhatsMinerMake):
|
||||
raw_model = "M31L V10"
|
||||
expected_chips = 114
|
||||
expected_fans = 2
|
||||
87
pyasic/miners/models/whatsminer/M3X/M31S.py
Normal file
87
pyasic/miners/models/whatsminer/M3X/M31S.py
Normal file
@@ -0,0 +1,87 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M31SV10(WhatsMinerMake):
|
||||
raw_model = "M31S V10"
|
||||
expected_chips = 105
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SV20(WhatsMinerMake):
|
||||
raw_model = "M31S V20"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SV30(WhatsMinerMake):
|
||||
raw_model = "M31S V30"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SV40(WhatsMinerMake):
|
||||
raw_model = "M31S V40"
|
||||
expected_chips = 123
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SV50(WhatsMinerMake):
|
||||
raw_model = "M31S V50"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SV60(WhatsMinerMake):
|
||||
raw_model = "M31S V60"
|
||||
expected_chips = 105
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SV70(WhatsMinerMake):
|
||||
raw_model = "M31S V70"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SV80(WhatsMinerMake):
|
||||
raw_model = "M31S V80"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SV90(WhatsMinerMake):
|
||||
raw_model = "M31S V90"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SVE10(WhatsMinerMake):
|
||||
raw_model = "M31S VE10"
|
||||
expected_chips = 70
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SVE20(WhatsMinerMake):
|
||||
raw_model = "M31S VE20"
|
||||
expected_chips = 74
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SVE30(WhatsMinerMake):
|
||||
raw_model = "M31S VE30"
|
||||
expected_fans = 2
|
||||
35
pyasic/miners/models/whatsminer/M3X/M31SE.py
Normal file
35
pyasic/miners/models/whatsminer/M3X/M31SE.py
Normal file
@@ -0,0 +1,35 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M31SEV10(WhatsMinerMake):
|
||||
raw_model = "M31SE V10"
|
||||
expected_chips = 82
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SEV20(WhatsMinerMake):
|
||||
raw_model = "M31SE V20"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SEV30(WhatsMinerMake):
|
||||
raw_model = "M31SE V30"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
134
pyasic/miners/models/whatsminer/M3X/M31S_Plus.py
Normal file
134
pyasic/miners/models/whatsminer/M3X/M31S_Plus.py
Normal file
@@ -0,0 +1,134 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M31SPlusV10(WhatsMinerMake):
|
||||
raw_model = "M31S+ V10"
|
||||
expected_chips = 105
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusV20(WhatsMinerMake):
|
||||
raw_model = "M31S+ V20"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusV30(WhatsMinerMake):
|
||||
raw_model = "M31S+ V30"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusV40(WhatsMinerMake):
|
||||
raw_model = "M31S+ V40"
|
||||
expected_chips = 123
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusV50(WhatsMinerMake):
|
||||
raw_model = "M31S+ V50"
|
||||
expected_chips = 148
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusV60(WhatsMinerMake):
|
||||
raw_model = "M31S+ V60"
|
||||
expected_chips = 156
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusV80(WhatsMinerMake):
|
||||
raw_model = "M31S+ V80"
|
||||
expected_chips = 129
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusV90(WhatsMinerMake):
|
||||
raw_model = "M31S+ V90"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusV100(WhatsMinerMake):
|
||||
raw_model = "M31S+ V100"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVE10(WhatsMinerMake):
|
||||
raw_model = "M31S+ VE10"
|
||||
expected_chips = 82
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVE20(WhatsMinerMake):
|
||||
raw_model = "M31S+ VE20"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVE30(WhatsMinerMake):
|
||||
raw_model = "M31S+ VE30"
|
||||
expected_chips = 105
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVE40(WhatsMinerMake):
|
||||
raw_model = "M31S+ VE40"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVE50(WhatsMinerMake):
|
||||
raw_model = "M31S+ VE50"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVE60(WhatsMinerMake):
|
||||
raw_model = "M31S+ VE60"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVE80(WhatsMinerMake):
|
||||
raw_model = "M31S+ VE80"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVF20(WhatsMinerMake):
|
||||
raw_model = "M31S+ VF20"
|
||||
expected_chips = 66
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVF30(WhatsMinerMake):
|
||||
raw_model = "M31S+ VF30"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVG20(WhatsMinerMake):
|
||||
raw_model = "M31S+ VG20"
|
||||
expected_chips = 66
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M31SPlusVG30(WhatsMinerMake):
|
||||
raw_model = "M31S+ VG30"
|
||||
expected_chips = 70
|
||||
expected_fans = 2
|
||||
29
pyasic/miners/models/whatsminer/M3X/M32.py
Normal file
29
pyasic/miners/models/whatsminer/M3X/M32.py
Normal file
@@ -0,0 +1,29 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M32V10(WhatsMinerMake):
|
||||
raw_model = "M32 V10"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M32V20(WhatsMinerMake):
|
||||
raw_model = "M32 V20"
|
||||
expected_chips = 74
|
||||
expected_fans = 2
|
||||
23
pyasic/miners/models/whatsminer/M3X/M32S.py
Normal file
23
pyasic/miners/models/whatsminer/M3X/M32S.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M32S(WhatsMinerMake):
|
||||
raw_model = "M32S"
|
||||
expected_chips = 78
|
||||
expected_fans = 2
|
||||
35
pyasic/miners/models/whatsminer/M3X/M33.py
Normal file
35
pyasic/miners/models/whatsminer/M3X/M33.py
Normal file
@@ -0,0 +1,35 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M33V10(WhatsMinerMake):
|
||||
raw_model = "M33 V10"
|
||||
expected_chips = 33
|
||||
expected_fans = 0
|
||||
|
||||
|
||||
class M33V20(WhatsMinerMake):
|
||||
raw_model = "M33 V20"
|
||||
expected_chips = 62
|
||||
expected_fans = 0
|
||||
|
||||
|
||||
class M33V30(WhatsMinerMake):
|
||||
raw_model = "M33 V30"
|
||||
expected_chips = 66
|
||||
expected_fans = 0
|
||||
24
pyasic/miners/models/whatsminer/M3X/M33S.py
Normal file
24
pyasic/miners/models/whatsminer/M3X/M33S.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M33SVG30(WhatsMinerMake):
|
||||
raw_model = "M33S VG30"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 116
|
||||
expected_fans = 0
|
||||
37
pyasic/miners/models/whatsminer/M3X/M33S_Plus.py
Normal file
37
pyasic/miners/models/whatsminer/M3X/M33S_Plus.py
Normal file
@@ -0,0 +1,37 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M33SPlusVG20(WhatsMinerMake):
|
||||
raw_model = "M33S+ VG20"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 112
|
||||
expected_fans = 0
|
||||
|
||||
|
||||
class M33SPlusVH20(WhatsMinerMake):
|
||||
raw_model = "M33S+ VH20"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 100
|
||||
expected_fans = 0
|
||||
|
||||
|
||||
class M33SPlusVH30(WhatsMinerMake):
|
||||
raw_model = "M33S+ VH30"
|
||||
expected_hashboards = 4
|
||||
expected_fans = 0
|
||||
37
pyasic/miners/models/whatsminer/M3X/M33S_Plus_Plus.py
Normal file
37
pyasic/miners/models/whatsminer/M3X/M33S_Plus_Plus.py
Normal file
@@ -0,0 +1,37 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M33SPlusPlusVH20(WhatsMinerMake):
|
||||
raw_model = "M33S++ VH20"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 112
|
||||
expected_fans = 0
|
||||
|
||||
|
||||
class M33SPlusPlusVH30(WhatsMinerMake):
|
||||
raw_model = "M33S++ VH30"
|
||||
expected_hashboards = 4
|
||||
expected_fans = 0
|
||||
|
||||
|
||||
class M33SPlusPlusVG40(WhatsMinerMake):
|
||||
raw_model = "M33S++ VG40"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 174
|
||||
expected_fans = 0
|
||||
24
pyasic/miners/models/whatsminer/M3X/M34S_Plus.py
Normal file
24
pyasic/miners/models/whatsminer/M3X/M34S_Plus.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M34SPlusVE10(WhatsMinerMake):
|
||||
raw_model = "M34S+ VE10"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 116
|
||||
expected_fans = 0
|
||||
24
pyasic/miners/models/whatsminer/M3X/M36S.py
Normal file
24
pyasic/miners/models/whatsminer/M3X/M36S.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M36SVE10(WhatsMinerMake):
|
||||
raw_model = "M36S VE10"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 114
|
||||
expected_fans = 0
|
||||
24
pyasic/miners/models/whatsminer/M3X/M36S_Plus.py
Normal file
24
pyasic/miners/models/whatsminer/M3X/M36S_Plus.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M36SPlusVG30(WhatsMinerMake):
|
||||
raw_model = "M36S+ VG30"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 108
|
||||
expected_fans = 0
|
||||
24
pyasic/miners/models/whatsminer/M3X/M36S_Plus_Plus.py
Normal file
24
pyasic/miners/models/whatsminer/M3X/M36S_Plus_Plus.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M36SPlusPlusVH30(WhatsMinerMake):
|
||||
raw_model = "M36S++ VH30"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 80
|
||||
expected_fans = 0
|
||||
35
pyasic/miners/models/whatsminer/M3X/M39.py
Normal file
35
pyasic/miners/models/whatsminer/M3X/M39.py
Normal file
@@ -0,0 +1,35 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M39V10(WhatsMinerMake):
|
||||
raw_model = "M39 V10"
|
||||
expected_chips = 50
|
||||
expected_fans = 0
|
||||
|
||||
|
||||
class M39V20(WhatsMinerMake):
|
||||
raw_model = "M39 V20"
|
||||
expected_chips = 54
|
||||
expected_fans = 0
|
||||
|
||||
|
||||
class M39V30(WhatsMinerMake):
|
||||
raw_model = "M39 V30"
|
||||
expected_chips = 68
|
||||
expected_fans = 0
|
||||
157
pyasic/miners/models/whatsminer/M3X/__init__.py
Normal file
157
pyasic/miners/models/whatsminer/M3X/__init__.py
Normal file
@@ -0,0 +1,157 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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
|
||||
from .M30S import (
|
||||
M30SV10,
|
||||
M30SV20,
|
||||
M30SV30,
|
||||
M30SV40,
|
||||
M30SV50,
|
||||
M30SV60,
|
||||
M30SV70,
|
||||
M30SV80,
|
||||
M30SVE10,
|
||||
M30SVE20,
|
||||
M30SVE30,
|
||||
M30SVE40,
|
||||
M30SVE50,
|
||||
M30SVE60,
|
||||
M30SVE70,
|
||||
M30SVF10,
|
||||
M30SVF20,
|
||||
M30SVF30,
|
||||
M30SVG10,
|
||||
M30SVG20,
|
||||
M30SVG30,
|
||||
M30SVG40,
|
||||
M30SVH10,
|
||||
M30SVH20,
|
||||
M30SVH30,
|
||||
M30SVH40,
|
||||
M30SVH50,
|
||||
M30SVH60,
|
||||
M30SVI20,
|
||||
)
|
||||
from .M30S_Plus import (
|
||||
M30SPlusV10,
|
||||
M30SPlusV20,
|
||||
M30SPlusV30,
|
||||
M30SPlusV40,
|
||||
M30SPlusV50,
|
||||
M30SPlusV60,
|
||||
M30SPlusV70,
|
||||
M30SPlusV80,
|
||||
M30SPlusV90,
|
||||
M30SPlusV100,
|
||||
M30SPlusVE30,
|
||||
M30SPlusVE40,
|
||||
M30SPlusVE50,
|
||||
M30SPlusVE60,
|
||||
M30SPlusVE70,
|
||||
M30SPlusVE80,
|
||||
M30SPlusVE90,
|
||||
M30SPlusVE100,
|
||||
M30SPlusVF20,
|
||||
M30SPlusVF30,
|
||||
M30SPlusVG20,
|
||||
M30SPlusVG30,
|
||||
M30SPlusVG40,
|
||||
M30SPlusVG50,
|
||||
M30SPlusVG60,
|
||||
M30SPlusVH10,
|
||||
M30SPlusVH20,
|
||||
M30SPlusVH30,
|
||||
M30SPlusVH40,
|
||||
M30SPlusVH50,
|
||||
M30SPlusVH60,
|
||||
)
|
||||
from .M30S_Plus_Plus import (
|
||||
M30SPlusPlusV10,
|
||||
M30SPlusPlusV20,
|
||||
M30SPlusPlusVE30,
|
||||
M30SPlusPlusVE40,
|
||||
M30SPlusPlusVE50,
|
||||
M30SPlusPlusVF40,
|
||||
M30SPlusPlusVG30,
|
||||
M30SPlusPlusVG40,
|
||||
M30SPlusPlusVG50,
|
||||
M30SPlusPlusVH10,
|
||||
M30SPlusPlusVH20,
|
||||
M30SPlusPlusVH30,
|
||||
M30SPlusPlusVH40,
|
||||
M30SPlusPlusVH50,
|
||||
M30SPlusPlusVH60,
|
||||
M30SPlusPlusVH70,
|
||||
M30SPlusPlusVH80,
|
||||
M30SPlusPlusVH90,
|
||||
M30SPlusPlusVH100,
|
||||
M30SPlusPlusVJ20,
|
||||
M30SPlusPlusVJ30,
|
||||
)
|
||||
from .M31 import M31V10, M31V20
|
||||
from .M31H import M31HV10, M31HV40
|
||||
from .M31L import M31LV10
|
||||
from .M31S import (
|
||||
M31SV10,
|
||||
M31SV20,
|
||||
M31SV30,
|
||||
M31SV40,
|
||||
M31SV50,
|
||||
M31SV60,
|
||||
M31SV70,
|
||||
M31SV80,
|
||||
M31SV90,
|
||||
M31SVE10,
|
||||
M31SVE20,
|
||||
M31SVE30,
|
||||
)
|
||||
from .M31S_Plus import (
|
||||
M31SPlusV10,
|
||||
M31SPlusV20,
|
||||
M31SPlusV30,
|
||||
M31SPlusV40,
|
||||
M31SPlusV50,
|
||||
M31SPlusV60,
|
||||
M31SPlusV80,
|
||||
M31SPlusV90,
|
||||
M31SPlusV100,
|
||||
M31SPlusVE10,
|
||||
M31SPlusVE20,
|
||||
M31SPlusVE30,
|
||||
M31SPlusVE40,
|
||||
M31SPlusVE50,
|
||||
M31SPlusVE60,
|
||||
M31SPlusVE80,
|
||||
M31SPlusVF20,
|
||||
M31SPlusVF30,
|
||||
M31SPlusVG20,
|
||||
M31SPlusVG30,
|
||||
)
|
||||
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_Plus import M33SPlusPlusVG40, M33SPlusPlusVH20, M33SPlusPlusVH30
|
||||
from .M34S_Plus import M34SPlusVE10
|
||||
from .M36S import M36SVE10
|
||||
from .M36S_Plus import M36SPlusVG30
|
||||
from .M36S_Plus_Plus import M36SPlusPlusVH30
|
||||
from .M39 import M39V10, M39V20, M39V30
|
||||
93
pyasic/miners/models/whatsminer/M5X/M50.py
Normal file
93
pyasic/miners/models/whatsminer/M5X/M50.py
Normal file
@@ -0,0 +1,93 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M50VE30(WhatsMinerMake):
|
||||
raw_model = "M50 VE30"
|
||||
expected_hashboards = 4
|
||||
expected_chips = 255
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VG30(WhatsMinerMake):
|
||||
raw_model = "M50 VG30"
|
||||
expected_chips = 156
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VH10(WhatsMinerMake):
|
||||
raw_model = "M50 VH10"
|
||||
expected_chips = 86
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VH20(WhatsMinerMake):
|
||||
raw_model = "M50 VH20"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VH30(WhatsMinerMake):
|
||||
raw_model = "M50 VH30"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VH40(WhatsMinerMake):
|
||||
raw_model = "M50 VH40"
|
||||
expected_chips = 84
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VH50(WhatsMinerMake):
|
||||
raw_model = "M50 VH50"
|
||||
expected_chips = 105
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VH60(WhatsMinerMake):
|
||||
raw_model = "M50 VH60"
|
||||
expected_chips = 84
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VH70(WhatsMinerMake):
|
||||
raw_model = "M50 VH70"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VH80(WhatsMinerMake):
|
||||
raw_model = "M50 VH80"
|
||||
expected_chips = 111
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VJ10(WhatsMinerMake):
|
||||
raw_model = "M50 VJ10"
|
||||
expected_chips = 0
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VJ20(WhatsMinerMake):
|
||||
raw_model = "M50 VJ20"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50VJ30(WhatsMinerMake):
|
||||
raw_model = "M50 VJ30"
|
||||
expected_fans = 2
|
||||
59
pyasic/miners/models/whatsminer/M5X/M50S.py
Normal file
59
pyasic/miners/models/whatsminer/M5X/M50S.py
Normal file
@@ -0,0 +1,59 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M50SVJ10(WhatsMinerMake):
|
||||
raw_model = "M50S VJ10"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SVJ20(WhatsMinerMake):
|
||||
raw_model = "M50S VJ20"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SVJ30(WhatsMinerMake):
|
||||
raw_model = "M50S VJ30"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SVH10(WhatsMinerMake):
|
||||
raw_model = "M50S VH10"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SVH20(WhatsMinerMake):
|
||||
raw_model = "M50S VH20"
|
||||
expected_chips = 135
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SVH30(WhatsMinerMake):
|
||||
raw_model = "M50S VH30"
|
||||
expected_chips = 156
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SVH40(WhatsMinerMake):
|
||||
raw_model = "M50S VH40"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SVH50(WhatsMinerMake):
|
||||
raw_model = "M50S VH50"
|
||||
expected_fans = 2
|
||||
38
pyasic/miners/models/whatsminer/M5X/M50S_Plus.py
Normal file
38
pyasic/miners/models/whatsminer/M5X/M50S_Plus.py
Normal file
@@ -0,0 +1,38 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M50SPlusVH30(WhatsMinerMake):
|
||||
raw_model = "M50S+ VH30"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SPlusVH40(WhatsMinerMake):
|
||||
raw_model = "M50S+ VH40"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SPlusVJ30(WhatsMinerMake):
|
||||
raw_model = "M50S+ VJ30"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SPlusVK20(WhatsMinerMake):
|
||||
raw_model = "M50S+ VK20"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
34
pyasic/miners/models/whatsminer/M5X/M50S_Plus_Plus.py
Normal file
34
pyasic/miners/models/whatsminer/M5X/M50S_Plus_Plus.py
Normal file
@@ -0,0 +1,34 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
# 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.miners.makes import WhatsMinerMake
|
||||
|
||||
|
||||
class M50SPlusPlusVK10(WhatsMinerMake):
|
||||
raw_model = "M50S++ VK10"
|
||||
expected_chips = 117
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SPlusPlusVK20(WhatsMinerMake):
|
||||
raw_model = "M50S++ VK20"
|
||||
expected_fans = 2
|
||||
|
||||
|
||||
class M50SPlusPlusVK30(WhatsMinerMake):
|
||||
raw_model = "M50S++ VK30"
|
||||
expected_chips = 76
|
||||
expected_fans = 2
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user