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

@@ -118,6 +118,8 @@ These functions are
[`get_model`](#get-model),
[`reboot`](#reboot),
[`restart_backend`](#restart-backend), and
[`stop_mining`](#stop-mining), and
[`resume_mining`](#resume-mining), and
[`send_config`](#send-config).
<br>
@@ -202,6 +204,22 @@ These functions are
<br>
### Stop Mining
::: pyasic.miners.BaseMiner.stop_mining
handler: python
options:
heading_level: 4
<br>
### Resume Mining
::: pyasic.miners.BaseMiner.resume_mining
handler: python
options:
heading_level: 4
<br>
### Send Config
::: pyasic.miners.BaseMiner.send_config
handler: python