feature: Add every whatsminer type known to man (or at least microBT).

This commit is contained in:
UpstreamData
2023-01-30 13:07:35 -07:00
parent 6ad750d3e9
commit b9ca810903
94 changed files with 3793 additions and 248 deletions

View File

@@ -13,11 +13,7 @@
# limitations under the License.
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M20, M20V10 # noqa - Ignore access to _module
class BTMinerM20(BTMiner, M20):
pass
from pyasic.miners._types import M20V10 # noqa - Ignore access to _module
class BTMinerM20V10(BTMiner, M20V10):

View File

@@ -14,19 +14,19 @@
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M20S,
M20SV10,
M20SV20,
M20SV30,
)
class BTMinerM20S(BTMiner, M20S):
pass
class BTMinerM20SV10(BTMiner, M20SV10):
pass
class BTMinerM20SV20(BTMiner, M20SV20):
pass
class BTMinerM20SV30(BTMiner, M20SV30):
pass

View File

@@ -13,8 +13,8 @@
# limitations under the License.
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M20SPlus # noqa - Ignore access to _module
from pyasic.miners._types import M20SPlusV30 # noqa - Ignore access to _module
class BTMinerM20SPlus(BTMiner, M20SPlus):
class BTMinerM20SPlusV30(BTMiner, M20SPlusV30):
pass

View File

@@ -13,8 +13,8 @@
# limitations under the License.
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M21 # noqa - Ignore access to _module
from pyasic.miners._types import M21V10 # noqa - Ignore access to _module
class BTMinerM21(BTMiner, M21):
class BTMinerM21V10(BTMiner, M21V10):
pass

View File

@@ -14,19 +14,19 @@
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M21S,
M21SV20,
M21SV60,
M21SV70,
)
class BTMinerM21S(BTMiner, M21S):
pass
class BTMinerM21SV20(BTMiner, M21SV20):
pass
class BTMinerM21SV60(BTMiner, M21SV60):
pass
class BTMinerM21SV70(BTMiner, M21SV70):
pass

View File

@@ -13,8 +13,8 @@
# limitations under the License.
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M21SPlus # noqa - Ignore access to _module
from pyasic.miners._types import M21SPlusV20 # noqa - Ignore access to _module
class BTMinerM21SPlus(BTMiner, M21SPlus):
class BTMinerM21SPlusV20(BTMiner, M21SPlusV20):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M29V10 # noqa - Ignore access to _module
class BTMinerM29V10(BTMiner, M29V10):
pass

View File

@@ -12,9 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from .M20 import BTMinerM20, BTMinerM20V10
from .M20S import BTMinerM20S, BTMinerM20SV10, BTMinerM20SV20
from .M20S_Plus import BTMinerM20SPlus
from .M21 import BTMinerM21
from .M21S import BTMinerM21S, BTMinerM21SV20, BTMinerM21SV60
from .M21S_Plus import BTMinerM21SPlus
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,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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M30V10, M30V20 # noqa - Ignore access to _module
class BTMinerM30V10(BTMiner, M30V10):
pass
class BTMinerM30V20(BTMiner, M30V20):
pass

View File

@@ -14,16 +14,67 @@
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M30S,
M30SV10,
M30SV20,
M30SV30,
M30SV40,
M30SV50,
M30SV60,
M30SV70,
M30SV80,
M30SVE10,
M30SVE20,
M30SVG20,
M30SVE30,
M30SVE40,
M30SVE50,
M30SVE60,
M30SVE70,
M30SVF10,
M30SVF20,
M30SVF30,
M30SVG10,
M30SVG20,
M30SVG30,
M30SVG40,
M30SVH10,
M30SVH20,
M30SVH30,
M30SVH40,
M30SVH50,
M30SVH60,
M30SVI20,
)
class BTMinerM30S(BTMiner, M30S):
class BTMinerM30SV10(BTMiner, M30SV10):
pass
class BTMinerM30SV20(BTMiner, M30SV20):
pass
class BTMinerM30SV30(BTMiner, M30SV30):
pass
class BTMinerM30SV40(BTMiner, M30SV40):
pass
class BTMinerM30SV50(BTMiner, M30SV50):
pass
class BTMinerM30SV60(BTMiner, M30SV60):
pass
class BTMinerM30SV70(BTMiner, M30SV70):
pass
class BTMinerM30SV80(BTMiner, M30SV80):
pass
@@ -31,6 +82,42 @@ class BTMinerM30SVE10(BTMiner, M30SVE10):
pass
class BTMinerM30SVE20(BTMiner, M30SVE20):
pass
class BTMinerM30SVE30(BTMiner, M30SVE30):
pass
class BTMinerM30SVE40(BTMiner, M30SVE40):
pass
class BTMinerM30SVE50(BTMiner, M30SVE50):
pass
class BTMinerM30SVE60(BTMiner, M30SVE60):
pass
class BTMinerM30SVE70(BTMiner, M30SVE70):
pass
class BTMinerM30SVF10(BTMiner, M30SVF10):
pass
class BTMinerM30SVF20(BTMiner, M30SVF20):
pass
class BTMinerM30SVF30(BTMiner, M30SVF30):
pass
class BTMinerM30SVG10(BTMiner, M30SVG10):
pass
@@ -39,9 +126,37 @@ class BTMinerM30SVG20(BTMiner, M30SVG20):
pass
class BTMinerM30SVE20(BTMiner, M30SVE20):
class BTMinerM30SVG30(BTMiner, M30SVG30):
pass
class BTMinerM30SV50(BTMiner, M30SV50):
class BTMinerM30SVG40(BTMiner, M30SVG40):
pass
class BTMinerM30SVH10(BTMiner, M30SVH10):
pass
class BTMinerM30SVH20(BTMiner, M30SVH20):
pass
class BTMinerM30SVH30(BTMiner, M30SVH30):
pass
class BTMinerM30SVH40(BTMiner, M30SVH40):
pass
class BTMinerM30SVH50(BTMiner, M30SVH50):
pass
class BTMinerM30SVH60(BTMiner, M30SVH60):
pass
class BTMinerM30SVI20(BTMiner, M30SVI20):
pass

View File

@@ -14,21 +14,81 @@
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M30SPlus,
M30SPlusV10,
M30SPlusV20,
M30SPlusV30,
M30SPlusV40,
M30SPlusV50,
M30SPlusV60,
M30SPlusV70,
M30SPlusV80,
M30SPlusV90,
M30SPlusV100,
M30SPlusVE30,
M30SPlusVE40,
M30SPlusVE50,
M30SPlusVE60,
M30SPlusVE70,
M30SPlusVE80,
M30SPlusVE90,
M30SPlusVE100,
M30SPlusVF20,
M30SPlusVG60,
M30SPlusVF30,
M30SPlusVG30,
M30SPlusVG40,
M30SPlusVG50,
M30SPlusVG60,
M30SPlusVH10,
M30SPlusVH20,
M30SPlusVH30,
M30SPlusVH40,
M30SPlusVH50,
M30SPlusVH60,
M30SPlusVH30
M36SPlusVG30,
)
class BTMinerM30SPlus(BTMiner, M30SPlus):
class BTMinerM30SPlusV10(BTMiner, M30SPlusV10):
pass
class BTMinerM30SPlusVF20(BTMiner, M30SPlusVF20):
class BTMinerM30SPlusV20(BTMiner, M30SPlusV20):
pass
class BTMinerM30SPlusV30(BTMiner, M30SPlusV30):
pass
class BTMinerM30SPlusV40(BTMiner, M30SPlusV40):
pass
class BTMinerM30SPlusV50(BTMiner, M30SPlusV50):
pass
class BTMinerM30SPlusV60(BTMiner, M30SPlusV60):
pass
class BTMinerM30SPlusV70(BTMiner, M30SPlusV70):
pass
class BTMinerM30SPlusV80(BTMiner, M30SPlusV80):
pass
class BTMinerM30SPlusV90(BTMiner, M30SPlusV90):
pass
class BTMinerM30SPlusV100(BTMiner, M30SPlusV100):
pass
class BTMinerM30SPlusVE30(BTMiner, M30SPlusVE30):
pass
@@ -36,13 +96,77 @@ class BTMinerM30SPlusVE40(BTMiner, M30SPlusVE40):
pass
class BTMinerM30SPlusVE50(BTMiner, M30SPlusVE50):
pass
class BTMinerM30SPlusVE60(BTMiner, M30SPlusVE60):
pass
class BTMinerM30SPlusVE70(BTMiner, M30SPlusVE70):
pass
class BTMinerM30SPlusVE80(BTMiner, M30SPlusVE80):
pass
class BTMinerM30SPlusVE90(BTMiner, M30SPlusVE90):
pass
class BTMinerM30SPlusVE100(BTMiner, M30SPlusVE100):
pass
class BTMinerM30SPlusVF20(BTMiner, M30SPlusVF20):
pass
class BTMinerM30SPlusVF30(BTMiner, M30SPlusVF30):
pass
class BTMinerM36SPlusVG30(BTMiner, M36SPlusVG30):
pass
class BTMinerM30SPlusVG30(BTMiner, M30SPlusVG30):
pass
class BTMinerM30SPlusVG40(BTMiner, M30SPlusVG40):
pass
class BTMinerM30SPlusVG50(BTMiner, M30SPlusVG50):
pass
class BTMinerM30SPlusVG60(BTMiner, M30SPlusVG60):
pass
class BTMinerM30SPlusVH10(BTMiner, M30SPlusVH10):
pass
class BTMinerM30SPlusVH20(BTMiner, M30SPlusVH20):
pass
class BTMinerM30SPlusVH30(BTMiner, M30SPlusVH30):
pass
class BTMinerM30SPlusVH40(BTMiner, M30SPlusVH40):
pass
class BTMinerM30SPlusVH50(BTMiner, M30SPlusVH50):
pass
class BTMinerM30SPlusVH60(BTMiner, M30SPlusVH60):
pass

View File

@@ -14,14 +14,51 @@
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M30SPlusPlus,
M30SPlusPlusV10,
M30SPlusPlusV20,
M30SPlusPlusVE30,
M30SPlusPlusVE40,
M30SPlusPlusVE50,
M30SPlusPlusVF40,
M30SPlusPlusVG30,
M30SPlusPlusVG40,
M30SPlusPlusVG50,
M30SPlusPlusVH10,
M30SPlusPlusVH20,
M30SPlusPlusVH30,
M30SPlusPlusVH40,
M30SPlusPlusVH50,
M30SPlusPlusVH60,
M30SPlusPlusVH70,
M30SPlusPlusVH80,
M30SPlusPlusVH90,
M30SPlusPlusVH100,
M30SPlusPlusVJ20,
M30SPlusPlusVJ30,
)
class BTMinerM30SPlusPlus(BTMiner, M30SPlusPlus):
class BTMinerM30SPlusPlusV10(BTMiner, M30SPlusPlusV10):
pass
class BTMinerM30SPlusPlusV20(BTMiner, M30SPlusPlusV20):
pass
class BTMinerM30SPlusPlusVE30(BTMiner, M30SPlusPlusVE30):
pass
class BTMinerM30SPlusPlusVE40(BTMiner, M30SPlusPlusVE40):
pass
class BTMinerM30SPlusPlusVE50(BTMiner, M30SPlusPlusVE50):
pass
class BTMinerM30SPlusPlusVF40(BTMiner, M30SPlusPlusVF40):
pass
@@ -33,5 +70,53 @@ class BTMinerM30SPlusPlusVG40(BTMiner, M30SPlusPlusVG40):
pass
class BTMinerM30SPlusPlusVG50(BTMiner, M30SPlusPlusVG50):
pass
class BTMinerM30SPlusPlusVH10(BTMiner, M30SPlusPlusVH10):
pass
class BTMinerM30SPlusPlusVH20(BTMiner, M30SPlusPlusVH20):
pass
class BTMinerM30SPlusPlusVH30(BTMiner, M30SPlusPlusVH30):
pass
class BTMinerM30SPlusPlusVH40(BTMiner, M30SPlusPlusVH40):
pass
class BTMinerM30SPlusPlusVH50(BTMiner, M30SPlusPlusVH50):
pass
class BTMinerM30SPlusPlusVH60(BTMiner, M30SPlusPlusVH60):
pass
class BTMinerM30SPlusPlusVH70(BTMiner, M30SPlusPlusVH70):
pass
class BTMinerM30SPlusPlusVH80(BTMiner, M30SPlusPlusVH80):
pass
class BTMinerM30SPlusPlusVH90(BTMiner, M30SPlusPlusVH90):
pass
class BTMinerM30SPlusPlusVH100(BTMiner, M30SPlusPlusVH100):
pass
class BTMinerM30SPlusPlusVJ20(BTMiner, M30SPlusPlusVJ20):
pass
class BTMinerM30SPlusPlusVJ30(BTMiner, M30SPlusPlusVJ30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M31V10, M31V20 # noqa - Ignore access to _module
class BTMinerM31V10(BTMiner, M31V10):
pass
class BTMinerM31V20(BTMiner, M31V20):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M31HV40 # noqa - Ignore access to _module
class BTMinerM31HV40(BTMiner, M31HV40):
pass

View File

@@ -13,16 +13,23 @@
# limitations under the License.
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import (
M31S,
from pyasic.miners._types import ( # noqa - Ignore access to _module
M31SV10,
M31SV20,
M31SV30,
M31SV40,
M31SV50,
M31SV60,
M31SV70,
) # noqa - Ignore access to _module
M31SV80,
M31SV90,
M31SVE10,
M31SVE20,
M31SVE30,
)
class BTMinerM31S(BTMiner, M31S):
class BTMinerM31SV10(BTMiner, M31SV10):
pass
@@ -30,7 +37,15 @@ class BTMinerM31SV20(BTMiner, M31SV20):
pass
class BTMinerM31SV10(BTMiner, M31SV10):
class BTMinerM31SV30(BTMiner, M31SV30):
pass
class BTMinerM31SV40(BTMiner, M31SV40):
pass
class BTMinerM31SV50(BTMiner, M31SV50):
pass
@@ -40,3 +55,23 @@ class BTMinerM31SV60(BTMiner, M31SV60):
class BTMinerM31SV70(BTMiner, M31SV70):
pass
class BTMinerM31SV80(BTMiner, M31SV80):
pass
class BTMinerM31SV90(BTMiner, M31SV90):
pass
class BTMinerM31SVE10(BTMiner, M31SVE10):
pass
class BTMinerM31SVE20(BTMiner, M31SVE20):
pass
class BTMinerM31SVE30(BTMiner, M31SVE30):
pass

View File

@@ -0,0 +1,32 @@
# 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 BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M31SEV10,
M31SEV20,
M31SEV30,
)
class BTMinerM31SEV10(BTMiner, M31SEV10):
pass
class BTMinerM31SEV20(BTMiner, M31SEV20):
pass
class BTMinerM31SEV30(BTMiner, M31SEV30):
pass

View File

@@ -14,21 +14,34 @@
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M31SPlus,
M31SPlusV10,
M31SPlusV20,
M31SPlusV30,
M31SPlusV40,
M31SPlusV50,
M31SPlusV60,
M31SPlusV80,
M31SPlusV90,
M31SPlusV100,
M31SPlusVE10,
M31SPlusVE20,
M31SPlusVE30,
M31SPlusVE40,
M31SPlusVE50,
M31SPlusVE60,
M31SPlusVE80,
M31SPlusVF20,
M31SPlusVF30,
M31SPlusVG20,
M31SPlusVG30,
)
class BTMinerM31SPlus(BTMiner, M31SPlus):
class BTMinerM31SPlusV10(BTMiner, M31SPlusV10):
pass
class BTMinerM31SPlusVE20(BTMiner, M31SPlusVE20):
class BTMinerM31SPlusV20(BTMiner, M31SPlusV20):
pass
@@ -40,6 +53,10 @@ class BTMinerM31SPlusV40(BTMiner, M31SPlusV40):
pass
class BTMinerM31SPlusV50(BTMiner, M31SPlusV50):
pass
class BTMinerM31SPlusV60(BTMiner, M31SPlusV60):
pass
@@ -50,3 +67,51 @@ class BTMinerM31SPlusV80(BTMiner, M31SPlusV80):
class BTMinerM31SPlusV90(BTMiner, M31SPlusV90):
pass
class BTMinerM31SPlusV100(BTMiner, M31SPlusV100):
pass
class BTMinerM31SPlusVE10(BTMiner, M31SPlusVE10):
pass
class BTMinerM31SPlusVE20(BTMiner, M31SPlusVE20):
pass
class BTMinerM31SPlusVE30(BTMiner, M31SPlusVE30):
pass
class BTMinerM31SPlusVE40(BTMiner, M31SPlusVE40):
pass
class BTMinerM31SPlusVE50(BTMiner, M31SPlusVE50):
pass
class BTMinerM31SPlusVE60(BTMiner, M31SPlusVE60):
pass
class BTMinerM31SPlusVE80(BTMiner, M31SPlusVE80):
pass
class BTMinerM31SPlusVF20(BTMiner, M31SPlusVF20):
pass
class BTMinerM31SPlusVF30(BTMiner, M31SPlusVF30):
pass
class BTMinerM31SPlusVG20(BTMiner, M31SPlusVG20):
pass
class BTMinerM31SPlusVG30(BTMiner, M31SPlusVG30):
pass

View File

@@ -13,10 +13,10 @@
# limitations under the License.
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M32, M32V20 # noqa - Ignore access to _module
from pyasic.miners._types import M32V10, M32V20 # noqa - Ignore access to _module
class BTMinerM32(BTMiner, M32):
class BTMinerM32V10(BTMiner, M32V10):
pass

View File

@@ -0,0 +1,32 @@
# 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 BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M33V10,
M33V20,
M33V30,
)
class BTMinerM33V10(BTMiner, M33V10):
pass
class BTMinerM33V20(BTMiner, M33V20):
pass
class BTMinerM33V30(BTMiner, M33V30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M33SVG30 # noqa - Ignore access to _module
class BTMinerM33SVG30(BTMiner, M33SVG30):
pass

View File

@@ -0,0 +1,27 @@
# 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 BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M33SPlusVH20,
M33SPlusVH30,
)
class BTMinerM33SPlusVH20(BTMiner, M33SPlusVH20):
pass
class BTMinerM33SPlusVH30(BTMiner, M33SPlusVH30):
pass

View File

@@ -0,0 +1,32 @@
# 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 BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M33SPlusPlusVG40,
M33SPlusPlusVH20,
M33SPlusPlusVH30,
)
class BTMinerM33SPlusPlusVH20(BTMiner, M33SPlusPlusVH20):
pass
class BTMinerM33SPlusPlusVH30(BTMiner, M33SPlusPlusVH30):
pass
class BTMinerM33SPlusPlusVG40(BTMiner, M33SPlusPlusVG40):
pass

View File

@@ -13,14 +13,7 @@
# limitations under the License.
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M34SPlus,
M34SPlusVE10,
)
class BTMinerM34SPlus(BTMiner, M34SPlus):
pass
from pyasic.miners._types import M34SPlusVE10 # noqa - Ignore access to _module
class BTMinerM34SPlusVE10(BTMiner, M34SPlusVE10):

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M36SVE10 # noqa - Ignore access to _module
class BTMinerM36SVE10(BTMiner, M36SVE10):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M36SPlusVG30 # noqa - Ignore access to _module
class BTMinerM36SPlusVG30(BTMiner, M36SPlusVG30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M36SPlusPlusVH30 # noqa - Ignore access to _module
class BTMinerM36SPlusPlusVH30(BTMiner, M36SPlusPlusVH30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M39V20 # noqa - Ignore access to _module
class BTMinerM39V20(BTMiner, M39V20):
pass

View File

@@ -12,45 +12,144 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from .M30 import BTMinerM30V10, BTMinerM30V20
from .M30S import (
BTMinerM30S,
BTMinerM30SV10,
BTMinerM30SV20,
BTMinerM30SV30,
BTMinerM30SV40,
BTMinerM30SV50,
BTMinerM30SV60,
BTMinerM30SV70,
BTMinerM30SV80,
BTMinerM30SVE10,
BTMinerM30SVE20,
BTMinerM30SVG20,
BTMinerM30SVE30,
BTMinerM30SVE40,
BTMinerM30SVE50,
BTMinerM30SVE60,
BTMinerM30SVE70,
BTMinerM30SVF10,
BTMinerM30SVF20,
BTMinerM30SVF30,
BTMinerM30SVG10,
BTMinerM30SVG20,
BTMinerM30SVG30,
BTMinerM30SVG40,
BTMinerM30SVH10,
BTMinerM30SVH20,
BTMinerM30SVH30,
BTMinerM30SVH40,
BTMinerM30SVH50,
BTMinerM30SVH60,
BTMinerM30SVI20,
)
from .M30S_Plus import (
BTMinerM30SPlus,
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,
BTMinerM30SPlusVH60
BTMinerM30SPlusVH40,
BTMinerM30SPlusVH50,
BTMinerM30SPlusVH60,
BTMinerM36SPlusVG30,
)
from .M30S_Plus_Plus import (
BTMinerM30SPlusPlus,
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 (
BTMinerM31S,
BTMinerM31SV10,
BTMinerM31SV20,
BTMinerM31SV30,
BTMinerM31SV40,
BTMinerM31SV50,
BTMinerM31SV60,
BTMinerM31SV70,
BTMinerM31SV80,
BTMinerM31SV90,
BTMinerM31SVE10,
BTMinerM31SVE20,
BTMinerM31SVE30,
)
from .M31S_Plus import (
BTMinerM31SPlus,
BTMinerM31SPlusV10,
BTMinerM31SPlusV20,
BTMinerM31SPlusV30,
BTMinerM31SPlusV40,
BTMinerM31SPlusV50,
BTMinerM31SPlusV60,
BTMinerM31SPlusV80,
BTMinerM31SPlusV90,
BTMinerM31SPlusV100,
BTMinerM31SPlusVE10,
BTMinerM31SPlusVE20,
BTMinerM31SPlusVE30,
BTMinerM31SPlusVE40,
BTMinerM31SPlusVE50,
BTMinerM31SPlusVE60,
BTMinerM31SPlusVE80,
BTMinerM31SPlusVF20,
BTMinerM31SPlusVF30,
BTMinerM31SPlusVG20,
BTMinerM31SPlusVG30,
)
from .M32 import BTMinerM32, BTMinerM32V20
from .M32S import BTMinerM32S
from .M34S_Plus import BTMinerM34SPlus, BTMinerM34SPlusVE10
from .M31SE import BTMinerM31SEV10, BTMinerM31SEV20, BTMinerM31SEV30
from .M32 import BTMinerM32V10, BTMinerM32V20
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

@@ -13,12 +13,65 @@
# limitations under the License.
from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M50, M50VH50 # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M50VG30,
M50VH10,
M50VH20,
M50VH30,
M50VH40,
M50VH50,
M50VH60,
M50VH70,
M50VH80,
M50VJ10,
M50VJ20,
M50VJ30,
)
class BTMinerM50(BTMiner, M50):
class BTMinerM50VG30(BTMiner, M50VG30):
pass
class BTMinerM50VH10(BTMiner, M50VH10):
pass
class BTMinerM50VH20(BTMiner, M50VH20):
pass
class BTMinerM50VH30(BTMiner, M50VH30):
pass
class BTMinerM50VH40(BTMiner, M50VH40):
pass
class BTMinerM50VH50(BTMiner, M50VH50):
pass
class BTMinerM50VH60(BTMiner, M50VH60):
pass
class BTMinerM50VH70(BTMiner, M50VH70):
pass
class BTMinerM50VH80(BTMiner, M50VH80):
pass
class BTMinerM50VJ10(BTMiner, M50VJ10):
pass
class BTMinerM50VJ20(BTMiner, M50VJ20):
pass
class BTMinerM50VJ30(BTMiner, M50VJ30):
pass

View File

@@ -0,0 +1,57 @@
# 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 BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M50SVH10,
M50SVH20,
M50SVH30,
M50SVH40,
M50SVH50,
M50SVJ10,
M50SVJ20,
M50SVJ30,
)
class BTMinerM50SVJ10(BTMiner, M50SVJ10):
pass
class BTMinerM50SVJ20(BTMiner, M50SVJ20):
pass
class BTMinerM50SVJ30(BTMiner, M50SVJ30):
pass
class BTMinerM50SVH10(BTMiner, M50SVH10):
pass
class BTMinerM50SVH20(BTMiner, M50SVH20):
pass
class BTMinerM50SVH30(BTMiner, M50SVH30):
pass
class BTMinerM50SVH40(BTMiner, M50SVH40):
pass
class BTMinerM50SVH50(BTMiner, M50SVH50):
pass

View File

@@ -0,0 +1,32 @@
# 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 BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import ( # noqa - Ignore access to _module
M50SPlusVH30,
M50SPlusVH40,
M50SPlusVJ30,
)
class BTMinerM50SPlusVH30(BTMiner, M50SPlusVH30):
pass
class BTMinerM50SPlusVH40(BTMiner, M50SPlusVH40):
pass
class BTMinerM50SPlusVJ30(BTMiner, M50SPlusVJ30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M53VH30 # noqa - Ignore access to _module
class BTMinerM53VH30(BTMiner, M53VH30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M53SVH30 # noqa - Ignore access to _module
class BTMinerM53SVH30(BTMiner, M53SVH30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M53SPlusVJ30 # noqa - Ignore access to _module
class BTMinerM53SPlusVJ30(BTMiner, M53SPlusVJ30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M56VH30 # noqa - Ignore access to _module
class BTMinerM56VH30(BTMiner, M56VH30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M56SVH30 # noqa - Ignore access to _module
class BTMinerM56SVH30(BTMiner, M56SVH30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M56SPlusVJ30 # noqa - Ignore access to _module
class BTMinerM56SPlusVJ30(BTMiner, M56SPlusVJ30):
pass

View 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._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import M59VH30 # noqa - Ignore access to _module
class BTMinerM59VH30(BTMiner, M59VH30):
pass

View File

@@ -12,4 +12,35 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from .M50 import BTMinerM50, BTMinerM50VH50
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 .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