refactor: refactor miner types.

This commit is contained in:
UpstreamData
2023-06-12 11:02:51 -06:00
parent 134c44aedc
commit e446176922
342 changed files with 628 additions and 2906 deletions

View 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 .btminer import *

View 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.backends import M2X
from pyasic.miners.types import M20V10
class BTMinerM20V10(M2X, M20V10):
pass

View 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.backends import M2X
from pyasic.miners.types import M20SV10, M20SV20, M20SV30
class BTMinerM20SV10(M2X, M20SV10):
pass
class BTMinerM20SV20(M2X, M20SV20):
pass
class BTMinerM20SV30(M2X, M20SV30):
pass

View 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.backends import M2X
from pyasic.miners.types import M20SPlusV30
class BTMinerM20SPlusV30(M2X, M20SPlusV30):
pass

View 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.backends import M2X
from pyasic.miners.types import M21V10
class BTMinerM21V10(M2X, M21V10):
pass

View 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.backends import M2X
from pyasic.miners.types import M21SV20, M21SV60, M21SV70
class BTMinerM21SV20(M2X, M21SV20):
pass
class BTMinerM21SV60(M2X, M21SV60):
pass
class BTMinerM21SV70(M2X, M21SV70):
pass

View 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.backends import M2X
from pyasic.miners.types import M21SPlusV20
class BTMinerM21SPlusV20(M2X, M21SPlusV20):
pass

View 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.backends import M2X
from pyasic.miners.types import M29V10
class BTMinerM29V10(M2X, M29V10):
pass

View 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 .M20 import BTMinerM20V10
from .M20S import BTMinerM20SV10, BTMinerM20SV20, BTMinerM20SV30
from .M20S_Plus import BTMinerM20SPlusV30
from .M21 import BTMinerM21V10
from .M21S import BTMinerM21SV20, BTMinerM21SV60, BTMinerM21SV70
from .M21S_Plus import BTMinerM21SPlusV20
from .M29 import BTMinerM29V10

View File

@@ -0,0 +1,26 @@
# ------------------------------------------------------------------------------
# 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.backends import M3X
from pyasic.miners.types import M30V10, M30V20
class BTMinerM30V10(M3X, M30V10):
pass
class BTMinerM30V20(M3X, M30V20):
pass

View File

@@ -0,0 +1,164 @@
# ------------------------------------------------------------------------------
# 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.backends import M3X
from pyasic.miners.types 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,
)
class BTMinerM30SV10(M3X, M30SV10):
pass
class BTMinerM30SV20(M3X, M30SV20):
pass
class BTMinerM30SV30(M3X, M30SV30):
pass
class BTMinerM30SV40(M3X, M30SV40):
pass
class BTMinerM30SV50(M3X, M30SV50):
pass
class BTMinerM30SV60(M3X, M30SV60):
pass
class BTMinerM30SV70(M3X, M30SV70):
pass
class BTMinerM30SV80(M3X, M30SV80):
pass
class BTMinerM30SVE10(M3X, M30SVE10):
pass
class BTMinerM30SVE20(M3X, M30SVE20):
pass
class BTMinerM30SVE30(M3X, M30SVE30):
pass
class BTMinerM30SVE40(M3X, M30SVE40):
pass
class BTMinerM30SVE50(M3X, M30SVE50):
pass
class BTMinerM30SVE60(M3X, M30SVE60):
pass
class BTMinerM30SVE70(M3X, M30SVE70):
pass
class BTMinerM30SVF10(M3X, M30SVF10):
pass
class BTMinerM30SVF20(M3X, M30SVF20):
pass
class BTMinerM30SVF30(M3X, M30SVF30):
pass
class BTMinerM30SVG10(M3X, M30SVG10):
pass
class BTMinerM30SVG20(M3X, M30SVG20):
pass
class BTMinerM30SVG30(M3X, M30SVG30):
pass
class BTMinerM30SVG40(M3X, M30SVG40):
pass
class BTMinerM30SVH10(M3X, M30SVH10):
pass
class BTMinerM30SVH20(M3X, M30SVH20):
pass
class BTMinerM30SVH30(M3X, M30SVH30):
pass
class BTMinerM30SVH40(M3X, M30SVH40):
pass
class BTMinerM30SVH50(M3X, M30SVH50):
pass
class BTMinerM30SVH60(M3X, M30SVH60):
pass
class BTMinerM30SVI20(M3X, M30SVI20):
pass

View File

@@ -0,0 +1,174 @@
# ------------------------------------------------------------------------------
# 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.backends import M3X
from pyasic.miners.types import (
M30SPlusV10,
M30SPlusV20,
M30SPlusV30,
M30SPlusV40,
M30SPlusV50,
M30SPlusV60,
M30SPlusV70,
M30SPlusV80,
M30SPlusV90,
M30SPlusV100,
M30SPlusVE30,
M30SPlusVE40,
M30SPlusVE50,
M30SPlusVE60,
M30SPlusVE70,
M30SPlusVE80,
M30SPlusVE90,
M30SPlusVE100,
M30SPlusVF20,
M30SPlusVF30,
M30SPlusVG30,
M30SPlusVG40,
M30SPlusVG50,
M30SPlusVG60,
M30SPlusVH10,
M30SPlusVH20,
M30SPlusVH30,
M30SPlusVH40,
M30SPlusVH50,
M30SPlusVH60,
M36SPlusVG30,
)
class BTMinerM30SPlusV10(M3X, M30SPlusV10):
pass
class BTMinerM30SPlusV20(M3X, M30SPlusV20):
pass
class BTMinerM30SPlusV30(M3X, M30SPlusV30):
pass
class BTMinerM30SPlusV40(M3X, M30SPlusV40):
pass
class BTMinerM30SPlusV50(M3X, M30SPlusV50):
pass
class BTMinerM30SPlusV60(M3X, M30SPlusV60):
pass
class BTMinerM30SPlusV70(M3X, M30SPlusV70):
pass
class BTMinerM30SPlusV80(M3X, M30SPlusV80):
pass
class BTMinerM30SPlusV90(M3X, M30SPlusV90):
pass
class BTMinerM30SPlusV100(M3X, M30SPlusV100):
pass
class BTMinerM30SPlusVE30(M3X, M30SPlusVE30):
pass
class BTMinerM30SPlusVE40(M3X, M30SPlusVE40):
pass
class BTMinerM30SPlusVE50(M3X, M30SPlusVE50):
pass
class BTMinerM30SPlusVE60(M3X, M30SPlusVE60):
pass
class BTMinerM30SPlusVE70(M3X, M30SPlusVE70):
pass
class BTMinerM30SPlusVE80(M3X, M30SPlusVE80):
pass
class BTMinerM30SPlusVE90(M3X, M30SPlusVE90):
pass
class BTMinerM30SPlusVE100(M3X, M30SPlusVE100):
pass
class BTMinerM30SPlusVF20(M3X, M30SPlusVF20):
pass
class BTMinerM30SPlusVF30(M3X, M30SPlusVF30):
pass
class BTMinerM36SPlusVG30(M3X, M36SPlusVG30):
pass
class BTMinerM30SPlusVG30(M3X, M30SPlusVG30):
pass
class BTMinerM30SPlusVG40(M3X, M30SPlusVG40):
pass
class BTMinerM30SPlusVG50(M3X, M30SPlusVG50):
pass
class BTMinerM30SPlusVG60(M3X, M30SPlusVG60):
pass
class BTMinerM30SPlusVH10(M3X, M30SPlusVH10):
pass
class BTMinerM30SPlusVH20(M3X, M30SPlusVH20):
pass
class BTMinerM30SPlusVH30(M3X, M30SPlusVH30):
pass
class BTMinerM30SPlusVH40(M3X, M30SPlusVH40):
pass
class BTMinerM30SPlusVH50(M3X, M30SPlusVH50):
pass
class BTMinerM30SPlusVH60(M3X, M30SPlusVH60):
pass

View File

@@ -0,0 +1,124 @@
# ------------------------------------------------------------------------------
# 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.backends import M3X
from pyasic.miners.types import (
M30SPlusPlusV10,
M30SPlusPlusV20,
M30SPlusPlusVE30,
M30SPlusPlusVE40,
M30SPlusPlusVE50,
M30SPlusPlusVF40,
M30SPlusPlusVG30,
M30SPlusPlusVG40,
M30SPlusPlusVG50,
M30SPlusPlusVH10,
M30SPlusPlusVH20,
M30SPlusPlusVH30,
M30SPlusPlusVH40,
M30SPlusPlusVH50,
M30SPlusPlusVH60,
M30SPlusPlusVH70,
M30SPlusPlusVH80,
M30SPlusPlusVH90,
M30SPlusPlusVH100,
M30SPlusPlusVJ20,
M30SPlusPlusVJ30,
)
class BTMinerM30SPlusPlusV10(M3X, M30SPlusPlusV10):
pass
class BTMinerM30SPlusPlusV20(M3X, M30SPlusPlusV20):
pass
class BTMinerM30SPlusPlusVE30(M3X, M30SPlusPlusVE30):
pass
class BTMinerM30SPlusPlusVE40(M3X, M30SPlusPlusVE40):
pass
class BTMinerM30SPlusPlusVE50(M3X, M30SPlusPlusVE50):
pass
class BTMinerM30SPlusPlusVF40(M3X, M30SPlusPlusVF40):
pass
class BTMinerM30SPlusPlusVG30(M3X, M30SPlusPlusVG30):
pass
class BTMinerM30SPlusPlusVG40(M3X, M30SPlusPlusVG40):
pass
class BTMinerM30SPlusPlusVG50(M3X, M30SPlusPlusVG50):
pass
class BTMinerM30SPlusPlusVH10(M3X, M30SPlusPlusVH10):
pass
class BTMinerM30SPlusPlusVH20(M3X, M30SPlusPlusVH20):
pass
class BTMinerM30SPlusPlusVH30(M3X, M30SPlusPlusVH30):
pass
class BTMinerM30SPlusPlusVH40(M3X, M30SPlusPlusVH40):
pass
class BTMinerM30SPlusPlusVH50(M3X, M30SPlusPlusVH50):
pass
class BTMinerM30SPlusPlusVH60(M3X, M30SPlusPlusVH60):
pass
class BTMinerM30SPlusPlusVH70(M3X, M30SPlusPlusVH70):
pass
class BTMinerM30SPlusPlusVH80(M3X, M30SPlusPlusVH80):
pass
class BTMinerM30SPlusPlusVH90(M3X, M30SPlusPlusVH90):
pass
class BTMinerM30SPlusPlusVH100(M3X, M30SPlusPlusVH100):
pass
class BTMinerM30SPlusPlusVJ20(M3X, M30SPlusPlusVJ20):
pass
class BTMinerM30SPlusPlusVJ30(M3X, M30SPlusPlusVJ30):
pass

View File

@@ -0,0 +1,26 @@
# ------------------------------------------------------------------------------
# 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.backends import M3X
from pyasic.miners.types import M31V10, M31V20
class BTMinerM31V10(M3X, M31V10):
pass
class BTMinerM31V20(M3X, M31V20):
pass

View 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.backends import M3X
from pyasic.miners.types import M31HV40
class BTMinerM31HV40(M3X, M31HV40):
pass

View File

@@ -0,0 +1,79 @@
# ------------------------------------------------------------------------------
# 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.backends import M3X
from pyasic.miners.types import (
M31SV10,
M31SV20,
M31SV30,
M31SV40,
M31SV50,
M31SV60,
M31SV70,
M31SV80,
M31SV90,
M31SVE10,
M31SVE20,
M31SVE30,
)
class BTMinerM31SV10(M3X, M31SV10):
pass
class BTMinerM31SV20(M3X, M31SV20):
pass
class BTMinerM31SV30(M3X, M31SV30):
pass
class BTMinerM31SV40(M3X, M31SV40):
pass
class BTMinerM31SV50(M3X, M31SV50):
pass
class BTMinerM31SV60(M3X, M31SV60):
pass
class BTMinerM31SV70(M3X, M31SV70):
pass
class BTMinerM31SV80(M3X, M31SV80):
pass
class BTMinerM31SV90(M3X, M31SV90):
pass
class BTMinerM31SVE10(M3X, M31SVE10):
pass
class BTMinerM31SVE20(M3X, M31SVE20):
pass
class BTMinerM31SVE30(M3X, M31SVE30):
pass

View 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.backends import M3X
from pyasic.miners.types import M31SEV10, M31SEV20, M31SEV30
class BTMinerM31SEV10(M3X, M31SEV10):
pass
class BTMinerM31SEV20(M3X, M31SEV20):
pass
class BTMinerM31SEV30(M3X, M31SEV30):
pass

View File

@@ -0,0 +1,119 @@
# ------------------------------------------------------------------------------
# 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.backends import M3X
from pyasic.miners.types import (
M31SPlusV10,
M31SPlusV20,
M31SPlusV30,
M31SPlusV40,
M31SPlusV50,
M31SPlusV60,
M31SPlusV80,
M31SPlusV90,
M31SPlusV100,
M31SPlusVE10,
M31SPlusVE20,
M31SPlusVE30,
M31SPlusVE40,
M31SPlusVE50,
M31SPlusVE60,
M31SPlusVE80,
M31SPlusVF20,
M31SPlusVF30,
M31SPlusVG20,
M31SPlusVG30,
)
class BTMinerM31SPlusV10(M3X, M31SPlusV10):
pass
class BTMinerM31SPlusV20(M3X, M31SPlusV20):
pass
class BTMinerM31SPlusV30(M3X, M31SPlusV30):
pass
class BTMinerM31SPlusV40(M3X, M31SPlusV40):
pass
class BTMinerM31SPlusV50(M3X, M31SPlusV50):
pass
class BTMinerM31SPlusV60(M3X, M31SPlusV60):
pass
class BTMinerM31SPlusV80(M3X, M31SPlusV80):
pass
class BTMinerM31SPlusV90(M3X, M31SPlusV90):
pass
class BTMinerM31SPlusV100(M3X, M31SPlusV100):
pass
class BTMinerM31SPlusVE10(M3X, M31SPlusVE10):
pass
class BTMinerM31SPlusVE20(M3X, M31SPlusVE20):
pass
class BTMinerM31SPlusVE30(M3X, M31SPlusVE30):
pass
class BTMinerM31SPlusVE40(M3X, M31SPlusVE40):
pass
class BTMinerM31SPlusVE50(M3X, M31SPlusVE50):
pass
class BTMinerM31SPlusVE60(M3X, M31SPlusVE60):
pass
class BTMinerM31SPlusVE80(M3X, M31SPlusVE80):
pass
class BTMinerM31SPlusVF20(M3X, M31SPlusVF20):
pass
class BTMinerM31SPlusVF30(M3X, M31SPlusVF30):
pass
class BTMinerM31SPlusVG20(M3X, M31SPlusVG20):
pass
class BTMinerM31SPlusVG30(M3X, M31SPlusVG30):
pass

View File

@@ -0,0 +1,26 @@
# ------------------------------------------------------------------------------
# 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.backends import M3X
from pyasic.miners.types import M32V10, M32V20
class BTMinerM32V10(M3X, M32V10):
pass
class BTMinerM32V20(M3X, M32V20):
pass

View 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.backends import M3X
from pyasic.miners.types import M32S
class BTMinerM32S(M3X, M32S):
pass

View 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.backends import M3X
from pyasic.miners.types import M33V10, M33V20, M33V30
class BTMinerM33V10(M3X, M33V10):
pass
class BTMinerM33V20(M3X, M33V20):
pass
class BTMinerM33V30(M3X, M33V30):
pass

View 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.backends import M3X
from pyasic.miners.types import M33SVG30
class BTMinerM33SVG30(M3X, M33SVG30):
pass

View File

@@ -0,0 +1,26 @@
# ------------------------------------------------------------------------------
# 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.backends import M3X
from pyasic.miners.types import M33SPlusVH20, M33SPlusVH30
class BTMinerM33SPlusVH20(M3X, M33SPlusVH20):
pass
class BTMinerM33SPlusVH30(M3X, M33SPlusVH30):
pass

View 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.backends import M3X
from pyasic.miners.types import M33SPlusPlusVG40, M33SPlusPlusVH20, M33SPlusPlusVH30
class BTMinerM33SPlusPlusVH20(M3X, M33SPlusPlusVH20):
pass
class BTMinerM33SPlusPlusVH30(M3X, M33SPlusPlusVH30):
pass
class BTMinerM33SPlusPlusVG40(M3X, M33SPlusPlusVG40):
pass

View 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.backends import M3X
from pyasic.miners.types import M34SPlusVE10
class BTMinerM34SPlusVE10(M3X, M34SPlusVE10):
pass

View 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.backends import M3X
from pyasic.miners.types import M36SVE10
class BTMinerM36SVE10(M3X, M36SVE10):
pass

View 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.backends import M3X
from pyasic.miners.types import M36SPlusVG30
class BTMinerM36SPlusVG30(M3X, M36SPlusVG30):
pass

View 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.backends import M3X
from pyasic.miners.types import M36SPlusPlusVH30
class BTMinerM36SPlusPlusVH30(M3X, M36SPlusPlusVH30):
pass

View 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.backends import M3X
from pyasic.miners.types import M39V20
class BTMinerM39V20(M3X, M39V20):
pass

View File

@@ -0,0 +1,158 @@
# ------------------------------------------------------------------------------
# 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 BTMinerM30V10, BTMinerM30V20
from .M30S import (
BTMinerM30SV10,
BTMinerM30SV20,
BTMinerM30SV30,
BTMinerM30SV40,
BTMinerM30SV50,
BTMinerM30SV60,
BTMinerM30SV70,
BTMinerM30SV80,
BTMinerM30SVE10,
BTMinerM30SVE20,
BTMinerM30SVE30,
BTMinerM30SVE40,
BTMinerM30SVE50,
BTMinerM30SVE60,
BTMinerM30SVE70,
BTMinerM30SVF10,
BTMinerM30SVF20,
BTMinerM30SVF30,
BTMinerM30SVG10,
BTMinerM30SVG20,
BTMinerM30SVG30,
BTMinerM30SVG40,
BTMinerM30SVH10,
BTMinerM30SVH20,
BTMinerM30SVH30,
BTMinerM30SVH40,
BTMinerM30SVH50,
BTMinerM30SVH60,
BTMinerM30SVI20,
)
from .M30S_Plus import (
BTMinerM30SPlusV10,
BTMinerM30SPlusV20,
BTMinerM30SPlusV30,
BTMinerM30SPlusV40,
BTMinerM30SPlusV50,
BTMinerM30SPlusV60,
BTMinerM30SPlusV70,
BTMinerM30SPlusV80,
BTMinerM30SPlusV90,
BTMinerM30SPlusV100,
BTMinerM30SPlusVE30,
BTMinerM30SPlusVE40,
BTMinerM30SPlusVE50,
BTMinerM30SPlusVE60,
BTMinerM30SPlusVE70,
BTMinerM30SPlusVE80,
BTMinerM30SPlusVE90,
BTMinerM30SPlusVE100,
BTMinerM30SPlusVF20,
BTMinerM30SPlusVF30,
BTMinerM30SPlusVG30,
BTMinerM30SPlusVG40,
BTMinerM30SPlusVG50,
BTMinerM30SPlusVG60,
BTMinerM30SPlusVH10,
BTMinerM30SPlusVH20,
BTMinerM30SPlusVH30,
BTMinerM30SPlusVH40,
BTMinerM30SPlusVH50,
BTMinerM30SPlusVH60,
BTMinerM36SPlusVG30,
)
from .M30S_Plus_Plus import (
BTMinerM30SPlusPlusV10,
BTMinerM30SPlusPlusV20,
BTMinerM30SPlusPlusVE30,
BTMinerM30SPlusPlusVE40,
BTMinerM30SPlusPlusVE50,
BTMinerM30SPlusPlusVF40,
BTMinerM30SPlusPlusVG30,
BTMinerM30SPlusPlusVG40,
BTMinerM30SPlusPlusVG50,
BTMinerM30SPlusPlusVH10,
BTMinerM30SPlusPlusVH20,
BTMinerM30SPlusPlusVH30,
BTMinerM30SPlusPlusVH40,
BTMinerM30SPlusPlusVH50,
BTMinerM30SPlusPlusVH60,
BTMinerM30SPlusPlusVH70,
BTMinerM30SPlusPlusVH80,
BTMinerM30SPlusPlusVH90,
BTMinerM30SPlusPlusVH100,
BTMinerM30SPlusPlusVJ20,
BTMinerM30SPlusPlusVJ30,
)
from .M31 import BTMinerM31V10, BTMinerM31V20
from .M31H import BTMinerM31HV40
from .M31S import (
BTMinerM31SV10,
BTMinerM31SV20,
BTMinerM31SV30,
BTMinerM31SV40,
BTMinerM31SV50,
BTMinerM31SV60,
BTMinerM31SV70,
BTMinerM31SV80,
BTMinerM31SV90,
BTMinerM31SVE10,
BTMinerM31SVE20,
BTMinerM31SVE30,
)
from .M31S_Plus import (
BTMinerM31SPlusV10,
BTMinerM31SPlusV20,
BTMinerM31SPlusV30,
BTMinerM31SPlusV40,
BTMinerM31SPlusV50,
BTMinerM31SPlusV60,
BTMinerM31SPlusV80,
BTMinerM31SPlusV90,
BTMinerM31SPlusV100,
BTMinerM31SPlusVE10,
BTMinerM31SPlusVE20,
BTMinerM31SPlusVE30,
BTMinerM31SPlusVE40,
BTMinerM31SPlusVE50,
BTMinerM31SPlusVE60,
BTMinerM31SPlusVE80,
BTMinerM31SPlusVF20,
BTMinerM31SPlusVF30,
BTMinerM31SPlusVG20,
BTMinerM31SPlusVG30,
)
from .M31SE import BTMinerM31SEV10, BTMinerM31SEV20, BTMinerM31SEV30
from .M32 import BTMinerM32V10, BTMinerM32V20
from .M32S import BTMinerM32S
from .M33 import BTMinerM33V10, BTMinerM33V20, BTMinerM33V30
from .M33S import BTMinerM33SVG30
from .M33S_Plus import BTMinerM33SPlusVH20, BTMinerM33SPlusVH30
from .M33S_Plus_Plus import (
BTMinerM33SPlusPlusVG40,
BTMinerM33SPlusPlusVH20,
BTMinerM33SPlusPlusVH30,
)
from .M34S_Plus import BTMinerM34SPlusVE10
from .M36S import BTMinerM36SVE10
from .M36S_Plus import BTMinerM36SPlusVG30
from .M36S_Plus_Plus import BTMinerM36SPlusPlusVH30
from .M39 import BTMinerM39V20

View File

@@ -0,0 +1,79 @@
# ------------------------------------------------------------------------------
# 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.backends import M5X
from pyasic.miners.types import (
M50VG30,
M50VH10,
M50VH20,
M50VH30,
M50VH40,
M50VH50,
M50VH60,
M50VH70,
M50VH80,
M50VJ10,
M50VJ20,
M50VJ30,
)
class BTMinerM50VG30(M5X, M50VG30):
pass
class BTMinerM50VH10(M5X, M50VH10):
pass
class BTMinerM50VH20(M5X, M50VH20):
pass
class BTMinerM50VH30(M5X, M50VH30):
pass
class BTMinerM50VH40(M5X, M50VH40):
pass
class BTMinerM50VH50(M5X, M50VH50):
pass
class BTMinerM50VH60(M5X, M50VH60):
pass
class BTMinerM50VH70(M5X, M50VH70):
pass
class BTMinerM50VH80(M5X, M50VH80):
pass
class BTMinerM50VJ10(M5X, M50VJ10):
pass
class BTMinerM50VJ20(M5X, M50VJ20):
pass
class BTMinerM50VJ30(M5X, M50VJ30):
pass

View 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.backends import M5X
from pyasic.miners.types import (
M50SVH10,
M50SVH20,
M50SVH30,
M50SVH40,
M50SVH50,
M50SVJ10,
M50SVJ20,
M50SVJ30,
)
class BTMinerM50SVJ10(M5X, M50SVJ10):
pass
class BTMinerM50SVJ20(M5X, M50SVJ20):
pass
class BTMinerM50SVJ30(M5X, M50SVJ30):
pass
class BTMinerM50SVH10(M5X, M50SVH10):
pass
class BTMinerM50SVH20(M5X, M50SVH20):
pass
class BTMinerM50SVH30(M5X, M50SVH30):
pass
class BTMinerM50SVH40(M5X, M50SVH40):
pass
class BTMinerM50SVH50(M5X, M50SVH50):
pass

View 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.backends import M5X
from pyasic.miners.types import M50SPlusVH30, M50SPlusVH40, M50SPlusVJ30
class BTMinerM50SPlusVH30(M5X, M50SPlusVH30):
pass
class BTMinerM50SPlusVH40(M5X, M50SPlusVH40):
pass
class BTMinerM50SPlusVJ30(M5X, M50SPlusVJ30):
pass

View File

@@ -0,0 +1,40 @@
# ------------------------------------------------------------------------------
# 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.backends import M5X
from pyasic.miners.types.whatsminer.M5X.M50S_Plus_Plus import ( # noqa - ignore _module import
M50SPlusPlusVK10,
M50SPlusPlusVK20,
M50SPlusPlusVK30,
)
class BTMinerM50SPlusPlusVK10( # noqa - ignore ABC method implementation
M50SPlusPlusVK10, M5X
):
pass
class BTMinerM50SPlusPlusVK20( # noqa - ignore ABC method implementation
M50SPlusPlusVK20, M5X
):
pass
class BTMinerM50SPlusPlusVK30( # noqa - ignore ABC method implementation
M50SPlusPlusVK30, M5X
):
pass

View 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.backends import M5X
from pyasic.miners.types import M53VH30
class BTMinerM53VH30(M5X, M53VH30):
pass

View 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.backends import M5X
from pyasic.miners.types import M53SVH30
class BTMinerM53SVH30(M5X, M53SVH30):
pass

View 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.backends import M5X
from pyasic.miners.types import M53SPlusVJ30
class BTMinerM53SPlusVJ30(M5X, M53SPlusVJ30):
pass

View 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.backends import M5X
from pyasic.miners.types import M56VH30
class BTMinerM56VH30(M5X, M56VH30):
pass

View 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.backends import M5X
from pyasic.miners.types import M56SVH30
class BTMinerM56SVH30(M5X, M56SVH30):
pass

View 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.backends import M5X
from pyasic.miners.types import M56SPlusVJ30
class BTMinerM56SPlusVJ30(M5X, M56SPlusVJ30):
pass

View 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.backends import M5X
from pyasic.miners.types import M59VH30
class BTMinerM59VH30(M5X, M59VH30):
pass

View File

@@ -0,0 +1,53 @@
# ------------------------------------------------------------------------------
# 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 .M50 import (
BTMinerM50VG30,
BTMinerM50VH10,
BTMinerM50VH20,
BTMinerM50VH30,
BTMinerM50VH40,
BTMinerM50VH50,
BTMinerM50VH60,
BTMinerM50VH70,
BTMinerM50VH80,
BTMinerM50VJ10,
BTMinerM50VJ20,
BTMinerM50VJ30,
)
from .M50S import (
BTMinerM50SVH10,
BTMinerM50SVH20,
BTMinerM50SVH30,
BTMinerM50SVH40,
BTMinerM50SVH50,
BTMinerM50SVJ10,
BTMinerM50SVJ20,
BTMinerM50SVJ30,
)
from .M50S_Plus import BTMinerM50SPlusVH30, BTMinerM50SPlusVH40, BTMinerM50SPlusVJ30
from .M50S_Plus_Plus import (
BTMinerM50SPlusPlusVK10,
BTMinerM50SPlusPlusVK20,
BTMinerM50SPlusPlusVK30,
)
from .M53 import BTMinerM53VH30
from .M53S import BTMinerM53SVH30
from .M53S_Plus import BTMinerM53SPlusVJ30
from .M56 import BTMinerM56VH30
from .M56S import BTMinerM56SVH30
from .M56S_Plus import BTMinerM56SPlusVJ30
from .M59 import BTMinerM59VH30

View 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 .M2X import *
from .M3X import *
from .M5X import *