added docstrings for CGMiner API, and improved BMMiner docstrings

This commit is contained in:
UpstreamData
2022-01-03 13:44:15 -07:00
parent b65badf097
commit f72ba6582d
2 changed files with 368 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ class BMMinerAPI(BaseMinerAPI):
"""
API 'config' command.
Returns some miner configuration information:
Returns a dict containing some miner configuration information:
ASC Count <- the number of ASCs
PGA Count <- the number of PGAs
Pool Count <- the number of Pools
@@ -446,7 +446,6 @@ class BMMinerAPI(BaseMinerAPI):
Parameters:
n: the number of the ASC to disable.
"""
return await self.send_command("ascdisable", parameters=n)