feat: add voltage,tuned status to HB. Add pool_data to ePIC

This commit is contained in:
John-Paul Compagnone
2024-06-11 11:10:07 -04:00
parent 3e4b347506
commit 4d9fde572e
5 changed files with 60 additions and 20 deletions

View File

@@ -33,6 +33,8 @@ class HashBoard:
expected_chips: The expected chip count of the board as an int.
serial_number: The serial number of the board.
missing: Whether the board is returned from the miners data as a bool.
tuned: Whether the board is tuned as a bool.
voltage: Current input voltage of the board as a float.
"""
slot: int = 0
@@ -43,6 +45,8 @@ class HashBoard:
expected_chips: int = None
serial_number: str = None
missing: bool = True
tuned: bool = True
voltage: float = None
def get(self, __key: str, default: Any = None):
try: