From bb1c98f0612404a095f96e46b51a1626b69b1359 Mon Sep 17 00:00:00 2001 From: Ryan Heideman Date: Tue, 12 Aug 2025 20:53:28 -0700 Subject: [PATCH] Goldshell Byte Support (#366) --- .gitignore | 1 + docs/miners/goldshell/Byte.md | 16 + docs/miners/supported_types.md | 6 + mkdocs.yml | 1 + pyasic/config/__init__.py | 5 + pyasic/config/pools.py | 10 + pyasic/device/algorithm/__init__.py | 2 + pyasic/device/algorithm/hashrate/__init__.py | 2 + .../algorithm/hashrate/unit/__init__.py | 2 + .../device/algorithm/hashrate/unit/zksnark.py | 16 + pyasic/device/algorithm/hashrate/zksnark.py | 18 + pyasic/device/algorithm/zksnark.py | 12 + pyasic/device/models.py | 1 + .../device/models/goldshell/Byte/Byte.py | 27 ++ .../device/models/goldshell/Byte/__init__.py | 16 + .../device/models/goldshell/__init__.py | 1 + pyasic/miners/factory.py | 1 + pyasic/miners/goldshell/bfgminer/Byte/Byte.py | 319 ++++++++++++++++++ .../goldshell/bfgminer/Byte/__init__.py | 16 + pyasic/miners/goldshell/bfgminer/__init__.py | 1 + 20 files changed, 473 insertions(+) create mode 100644 docs/miners/goldshell/Byte.md create mode 100644 pyasic/device/algorithm/hashrate/unit/zksnark.py create mode 100644 pyasic/device/algorithm/hashrate/zksnark.py create mode 100644 pyasic/device/algorithm/zksnark.py create mode 100644 pyasic/miners/device/models/goldshell/Byte/Byte.py create mode 100644 pyasic/miners/device/models/goldshell/Byte/__init__.py create mode 100644 pyasic/miners/goldshell/bfgminer/Byte/Byte.py create mode 100644 pyasic/miners/goldshell/bfgminer/Byte/__init__.py diff --git a/.gitignore b/.gitignore index 402f274b..02c96515 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ pyvenv.cfg bin/ lib/ .idea/ +.vs/ \ No newline at end of file diff --git a/docs/miners/goldshell/Byte.md b/docs/miners/goldshell/Byte.md new file mode 100644 index 00000000..1b6a6c49 --- /dev/null +++ b/docs/miners/goldshell/Byte.md @@ -0,0 +1,16 @@ +# pyasic +## Byte Models + +## Byte (Stock) + +- [x] Shutdowns +- [ ] Power Modes +- [ ] Setpoints +- [ ] Presets + +::: pyasic.miners.goldshell.bfgminer.Byte.Byte.GoldshellByte + handler: python + options: + show_root_heading: false + heading_level: 0 + diff --git a/docs/miners/supported_types.md b/docs/miners/supported_types.md index bc6cdea7..c5d954c0 100644 --- a/docs/miners/supported_types.md +++ b/docs/miners/supported_types.md @@ -600,6 +600,12 @@ details {
Stock Firmware Goldshells: