added a basis for configuration of X17 and X19 miners by getting pool info from config file.

This commit is contained in:
UpstreamData
2022-06-02 16:06:36 -06:00
parent 3ee49e6fd7
commit 4bbb9d0b08
5 changed files with 21 additions and 10 deletions

View File

@@ -4,6 +4,9 @@ from miners._types import S17 # noqa - Ignore access to _module
import httpx
# TODO add config
class BMMinerS17(BMMiner, S17):
def __init__(self, ip: str) -> None:
super().__init__(ip)

View File

@@ -5,6 +5,9 @@ import httpx
import json
# TODO add config
class BMMinerS19(BMMiner, S19):
def __init__(self, ip: str) -> None:
super().__init__(ip)