refactor: rename miner.api to miner.rpc. Add miner.api property linked to miner.rpc.

This commit is contained in:
UpstreamData
2024-01-26 10:15:20 -07:00
parent c2b6cc7468
commit 96aa346f00
15 changed files with 672 additions and 659 deletions

View File

@@ -30,7 +30,7 @@ class UnknownMiner(BaseMiner):
) -> None:
super().__init__(ip)
self.ip = ip
self.api = UnknownRPCAPI(ip)
self.rpc = UnknownRPCAPI(ip)
def __repr__(self) -> str:
return f"Unknown: {str(self.ip)}"