added pause_mining and resume_mining to all miners, added get_errors to whatsminers, and improved get_errors type hinting

This commit is contained in:
UpstreamData
2022-09-22 10:06:27 -06:00
parent ff0d15c365
commit 03c93b4de1
15 changed files with 164 additions and 28 deletions

View File

@@ -51,6 +51,12 @@ class CGMinerA7X(CGMiner):
return True
return False
async def stop_mining(self) -> bool:
return False
async def resume_mining(self) -> bool:
return False
async def send_config(self, config: MinerConfig, user_suffix: str = None) -> None:
"""Configures miner with yaml config."""
raise NotImplementedError