Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ae2932274 | ||
|
|
52786ba954 | ||
|
|
f5cc526e8a | ||
|
|
a616aaba04 | ||
|
|
15b4177ce4 |
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import ipaddress
|
import ipaddress
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from pyasic.API import APIError, BaseMinerAPI
|
from pyasic.API import APIError, BaseMinerAPI
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.API import BaseMinerAPI
|
from pyasic.API import BaseMinerAPI
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import base64
|
import base64
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.API import BaseMinerAPI
|
from pyasic.API import BaseMinerAPI
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
from pyasic.API.bmminer import BMMinerAPI
|
from pyasic.API.bmminer import BMMinerAPI
|
||||||
from pyasic.API.bosminer import BOSMinerAPI
|
from pyasic.API.bosminer import BOSMinerAPI
|
||||||
from pyasic.API.btminer import BTMinerAPI
|
from pyasic.API.btminer import BTMinerAPI
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import copy
|
import copy
|
||||||
import json
|
import json
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from dataclasses import asdict, dataclass, fields
|
from dataclasses import asdict, dataclass, fields
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from typing import TypeVar
|
from typing import TypeVar
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from dataclasses import asdict, dataclass, fields
|
from dataclasses import asdict, dataclass, fields
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from dataclasses import asdict, dataclass, field, fields
|
from dataclasses import asdict, dataclass, field, fields
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from dataclasses import asdict, dataclass, field, fields
|
from dataclasses import asdict, dataclass, field, fields
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
class APIError(Exception):
|
class APIError(Exception):
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import ipaddress
|
import ipaddress
|
||||||
from typing import Union
|
from typing import Union
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import json
|
import json
|
||||||
@@ -25,7 +27,7 @@ from pyasic.miners._backends import BMMiner # noqa - Ignore access to _module
|
|||||||
from pyasic.settings import PyasicSettings
|
from pyasic.settings import PyasicSettings
|
||||||
|
|
||||||
|
|
||||||
class BMMinerX19(BMMiner):
|
class X19(BMMiner):
|
||||||
def __init__(self, ip: str, api_ver: str = "0.0.0") -> None:
|
def __init__(self, ip: str, api_ver: str = "0.0.0") -> None:
|
||||||
super().__init__(ip, api_ver=api_ver)
|
super().__init__(ip, api_ver=api_ver)
|
||||||
self.ip = ip
|
self.ip = ip
|
||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .bmminer import BMMiner
|
from .bmminer import BMMiner
|
||||||
from .bosminer import BOSMiner
|
from .bosminer import BOSMiner
|
||||||
@@ -18,3 +20,5 @@ from .btminer import BTMiner
|
|||||||
from .cgminer import CGMiner
|
from .cgminer import CGMiner
|
||||||
from .cgminer_avalon import CGMinerAvalon
|
from .cgminer_avalon import CGMinerAvalon
|
||||||
from .hiveon import Hiveon
|
from .hiveon import Hiveon
|
||||||
|
from .vnish import VNish
|
||||||
|
from .X19 import X19
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import ipaddress
|
import ipaddress
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import ipaddress
|
import ipaddress
|
||||||
import json
|
import json
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import ipaddress
|
import ipaddress
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import ipaddress
|
import ipaddress
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import ipaddress
|
import ipaddress
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import ipaddress
|
import ipaddress
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import ipaddress
|
import ipaddress
|
||||||
|
|
||||||
|
|||||||
218
pyasic/miners/_backends/vnish.py
Normal file
218
pyasic/miners/_backends/vnish.py
Normal file
@@ -0,0 +1,218 @@
|
|||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# 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. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
import json
|
||||||
|
import logging
|
||||||
|
import warnings
|
||||||
|
from typing import Optional, Union
|
||||||
|
|
||||||
|
import httpx
|
||||||
|
|
||||||
|
from pyasic.errors import APIError
|
||||||
|
from pyasic.miners._backends.bmminer import BMMiner
|
||||||
|
from pyasic.settings import PyasicSettings
|
||||||
|
|
||||||
|
|
||||||
|
class VNish(BMMiner):
|
||||||
|
def __init__(self, ip: str, api_ver: str = "0.0.0") -> None:
|
||||||
|
super().__init__(ip, api_ver)
|
||||||
|
self.api_type = "VNish"
|
||||||
|
self.uname = "root"
|
||||||
|
self.pwd = PyasicSettings().global_vnish_password
|
||||||
|
self.jwt = None
|
||||||
|
|
||||||
|
async def auth(self):
|
||||||
|
async with httpx.AsyncClient() as client:
|
||||||
|
try:
|
||||||
|
auth = await client.post(
|
||||||
|
f"http://{self.ip}/api/v1/unlock",
|
||||||
|
json={"pw": self.pwd},
|
||||||
|
)
|
||||||
|
except httpx.HTTPError:
|
||||||
|
warnings.warn(f"Could not authenticate web token with miner: {self}")
|
||||||
|
else:
|
||||||
|
if not auth.status_code == 200:
|
||||||
|
warnings.warn(
|
||||||
|
f"Could not authenticate web token with miner: {self}"
|
||||||
|
)
|
||||||
|
return None
|
||||||
|
json_auth = auth.json()
|
||||||
|
self.jwt = json_auth["token"]
|
||||||
|
return self.jwt
|
||||||
|
|
||||||
|
async def send_web_command(
|
||||||
|
self, command: str, data: Union[dict, None] = None, method: str = "GET"
|
||||||
|
):
|
||||||
|
if not self.jwt:
|
||||||
|
await self.auth()
|
||||||
|
if not data:
|
||||||
|
data = {}
|
||||||
|
async with httpx.AsyncClient() as client:
|
||||||
|
for i in range(PyasicSettings().miner_get_data_retries):
|
||||||
|
try:
|
||||||
|
auth = self.jwt
|
||||||
|
if command.startswith("system"):
|
||||||
|
auth = "Bearer " + self.jwt
|
||||||
|
if method == "GET":
|
||||||
|
response = await client.get(
|
||||||
|
f"http://{self.ip}/api/v1/{command}",
|
||||||
|
headers={"Authorization": auth},
|
||||||
|
timeout=5,
|
||||||
|
)
|
||||||
|
elif method == "POST":
|
||||||
|
if data:
|
||||||
|
response = await client.post(
|
||||||
|
f"http://{self.ip}/api/v1/{command}",
|
||||||
|
headers={"Authorization": auth},
|
||||||
|
timeout=5,
|
||||||
|
json=data,
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
response = await client.post(
|
||||||
|
f"http://{self.ip}/api/v1/{command}",
|
||||||
|
headers={"Authorization": auth},
|
||||||
|
timeout=5,
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
raise APIError("Bad method type.")
|
||||||
|
if not response.status_code == 200:
|
||||||
|
# refresh the token, retry
|
||||||
|
await self.auth()
|
||||||
|
continue
|
||||||
|
json_data = response.json()
|
||||||
|
if json_data:
|
||||||
|
return json_data
|
||||||
|
return True
|
||||||
|
except httpx.HTTPError:
|
||||||
|
pass
|
||||||
|
except json.JSONDecodeError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
async def get_model(self, api_stats: dict = None) -> Optional[str]:
|
||||||
|
# check if model is cached
|
||||||
|
if self.model:
|
||||||
|
logging.debug(f"Found model for {self.ip}: {self.model} (VNish)")
|
||||||
|
return self.model + " (VNish)"
|
||||||
|
|
||||||
|
if not api_stats:
|
||||||
|
try:
|
||||||
|
api_stats = await self.api.stats()
|
||||||
|
except APIError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
if api_stats:
|
||||||
|
try:
|
||||||
|
m_type = api_stats["STATS"][0]["Type"]
|
||||||
|
self.model = m_type.split(" ")[1]
|
||||||
|
return self.model
|
||||||
|
except (KeyError, IndexError):
|
||||||
|
pass
|
||||||
|
|
||||||
|
async def restart_backend(self) -> bool:
|
||||||
|
data = await self.send_web_command("mining/restart", method="POST")
|
||||||
|
return data
|
||||||
|
|
||||||
|
async def reboot(self) -> bool:
|
||||||
|
data = await self.send_web_command("system/reboot", method="POST")
|
||||||
|
return data
|
||||||
|
|
||||||
|
async def get_mac(self, web_summary: dict = None) -> str:
|
||||||
|
if not web_summary:
|
||||||
|
web_info = await self.send_web_command("info")
|
||||||
|
|
||||||
|
if web_info:
|
||||||
|
try:
|
||||||
|
mac = web_info["system"]["network_status"]["mac"]
|
||||||
|
return mac
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
if web_summary:
|
||||||
|
try:
|
||||||
|
mac = web_summary["system"]["network_status"]["mac"]
|
||||||
|
return mac
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
async def get_hostname(self, web_summary: dict = None) -> str:
|
||||||
|
if not web_summary:
|
||||||
|
web_info = await self.send_web_command("info")
|
||||||
|
|
||||||
|
if web_info:
|
||||||
|
try:
|
||||||
|
hostname = web_info["system"]["network_status"]["hostname"]
|
||||||
|
return hostname
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
if web_summary:
|
||||||
|
try:
|
||||||
|
hostname = web_summary["system"]["network_status"]["hostname"]
|
||||||
|
return hostname
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
async def get_wattage(self, web_summary: dict = None) -> Optional[int]:
|
||||||
|
if not web_summary:
|
||||||
|
web_summary = await self.send_web_command("summary")
|
||||||
|
|
||||||
|
if web_summary:
|
||||||
|
try:
|
||||||
|
wattage = web_summary["miner"]["power_usage"]
|
||||||
|
wattage = round(wattage * 1000)
|
||||||
|
return wattage
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
async def get_hashrate(self, api_summary: dict = None) -> Optional[float]:
|
||||||
|
# get hr from API
|
||||||
|
if not api_summary:
|
||||||
|
try:
|
||||||
|
api_summary = await self.api.summary()
|
||||||
|
except APIError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
if api_summary:
|
||||||
|
try:
|
||||||
|
return round(
|
||||||
|
float(float(api_summary["SUMMARY"][0]["GHS 5s"]) / 1000), 2
|
||||||
|
)
|
||||||
|
except (IndexError, KeyError, ValueError, TypeError) as e:
|
||||||
|
print(e)
|
||||||
|
pass
|
||||||
|
|
||||||
|
async def get_wattage_limit(self, web_settings: dict = None) -> Optional[int]:
|
||||||
|
if not web_settings:
|
||||||
|
web_settings = await self.send_web_command("summary")
|
||||||
|
|
||||||
|
if web_settings:
|
||||||
|
try:
|
||||||
|
wattage_limit = web_settings["miner"]["overclock"]["preset"]
|
||||||
|
return int(wattage_limit)
|
||||||
|
except (KeyError, TypeError):
|
||||||
|
pass
|
||||||
|
|
||||||
|
async def get_fw_ver(self, web_summary: dict = None) -> Optional[str]:
|
||||||
|
if not web_summary:
|
||||||
|
web_summary = await self.send_web_command("summary")
|
||||||
|
|
||||||
|
if web_summary:
|
||||||
|
try:
|
||||||
|
fw_ver = web_summary["miner"]["miner_type"]
|
||||||
|
fw_ver = fw_ver.split("(Vnish ")[1].replace(")", "")
|
||||||
|
return fw_ver
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .antminer import *
|
from .antminer import *
|
||||||
from .avalonminer import *
|
from .avalonminer import *
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .S17 import S17
|
from .S17 import S17
|
||||||
from .S17_Plus import S17Plus
|
from .S17_Plus import S17Plus
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .S19 import S19
|
from .S19 import S19
|
||||||
from .S19_Pro import S19Pro
|
from .S19_Pro import S19Pro
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AntMiner
|
from pyasic.miners._types.makes import AntMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .S9 import S9
|
from .S9 import S9
|
||||||
from .S9i import S9i
|
from .S9i import S9i
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .X9 import *
|
from .X9 import *
|
||||||
from .X17 import *
|
from .X17 import *
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AvalonMiner
|
from pyasic.miners._types.makes import AvalonMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AvalonMiner
|
from pyasic.miners._types.makes import AvalonMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AvalonMiner
|
from pyasic.miners._types.makes import AvalonMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .A1026 import Avalon1026
|
from .A1026 import Avalon1026
|
||||||
from .A1047 import Avalon1047
|
from .A1047 import Avalon1047
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AvalonMiner
|
from pyasic.miners._types.makes import AvalonMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AvalonMiner
|
from pyasic.miners._types.makes import AvalonMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AvalonMiner
|
from pyasic.miners._types.makes import AvalonMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .A721 import Avalon721
|
from .A721 import Avalon721
|
||||||
from .A741 import Avalon741
|
from .A741 import Avalon741
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AvalonMiner
|
from pyasic.miners._types.makes import AvalonMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AvalonMiner
|
from pyasic.miners._types.makes import AvalonMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AvalonMiner
|
from pyasic.miners._types.makes import AvalonMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .A821 import Avalon821
|
from .A821 import Avalon821
|
||||||
from .A841 import Avalon841
|
from .A841 import Avalon841
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import AvalonMiner
|
from pyasic.miners._types.makes import AvalonMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,17 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .A921 import Avalon921
|
from .A921 import Avalon921
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .A7X import *
|
from .A7X import *
|
||||||
from .A8X import *
|
from .A8X import *
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import InnosiliconMiner
|
from pyasic.miners._types.makes import InnosiliconMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,17 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .T3H_Plus import InnosiliconT3HPlus
|
from .T3H_Plus import InnosiliconT3HPlus
|
||||||
|
|||||||
@@ -1,15 +1,17 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .T3X import *
|
from .T3X import *
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners.base import BaseMiner
|
from pyasic.miners.base import BaseMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import WhatsMiner
|
from pyasic.miners._types.makes import WhatsMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .M20 import M20V10
|
from .M20 import M20V10
|
||||||
from .M20S import M20SV10, M20SV20, M20SV30
|
from .M20S import M20SV10, M20SV20, M20SV30
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import WhatsMiner
|
from pyasic.miners._types.makes import WhatsMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from pyasic.miners._types.makes import WhatsMiner
|
from pyasic.miners._types.makes import WhatsMiner
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
from .M30 import M30V10, M30V20
|
from .M30 import M30V10, M30V20
|
||||||
from .M30S import (
|
from .M30S import (
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
# Copyright 2022 Upstream Data Inc
|
# ------------------------------------------------------------------------------
|
||||||
#
|
# 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.
|
# Licensed under the Apache License, Version 2.0 (the "License"); -
|
||||||
# You may obtain a copy of the License at
|
# 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
|
# -
|
||||||
#
|
# 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,
|
# Unless required by applicable law or agreed to in writing, software -
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# distributed under the License is distributed on an "AS IS" BASIS, -
|
||||||
# See the License for the specific language governing permissions and
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -
|
||||||
# limitations under the License.
|
# See the License for the specific language governing permissions and -
|
||||||
|
# limitations under the License. -
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user