refactor: move base classes to base.py in their directories, move data locations to miners.data, and rename types to models.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
# limitations under the License. -
|
||||
# ------------------------------------------------------------------------------
|
||||
from pyasic.miners.backends import GoldshellMiner
|
||||
from pyasic.miners.types import CK5
|
||||
from pyasic.miners.models import CK5
|
||||
|
||||
|
||||
class GoldshellCK5(GoldshellMiner, CK5):
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# limitations under the License. -
|
||||
# ------------------------------------------------------------------------------
|
||||
from pyasic.miners.backends import GoldshellMiner
|
||||
from pyasic.miners.types import HS5
|
||||
from pyasic.miners.models import HS5
|
||||
|
||||
|
||||
class GoldshellHS5(GoldshellMiner, HS5):
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# limitations under the License. -
|
||||
# ------------------------------------------------------------------------------
|
||||
from pyasic.miners.backends import GoldshellMiner
|
||||
from pyasic.miners.types import KD5
|
||||
from pyasic.miners.models import KD5
|
||||
|
||||
|
||||
class GoldshellKD5(GoldshellMiner, KD5):
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# limitations under the License. -
|
||||
# ------------------------------------------------------------------------------
|
||||
from pyasic.miners.backends import GoldshellMiner
|
||||
from pyasic.miners.types import KDMax
|
||||
from pyasic.miners.models import KDMax
|
||||
|
||||
|
||||
class GoldshellKDMax(GoldshellMiner, KDMax):
|
||||
|
||||
Reference in New Issue
Block a user