Update Miner.h

Add attribute sleepNanoSeconds
This commit is contained in:
James Brown 2024-05-03 21:21:33 +08:00 committed by GitHub
parent e051564d73
commit 7ad834de92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,6 +48,8 @@ public:
Miner(Controller *controller);
~Miner() override;
int sleepNanoSeconds;
bool isEnabled() const;
bool isEnabled(const Algorithm &algorithm) const;
const Algorithms &algorithms() const;