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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user