From 7ad834de927eab715622adc76dc01a44c7b91bbf Mon Sep 17 00:00:00 2001 From: James Brown Date: Fri, 3 May 2024 21:21:33 +0800 Subject: [PATCH] Update Miner.h Add attribute sleepNanoSeconds --- src/core/Miner.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/Miner.h b/src/core/Miner.h index bb4293d0..26883cb3 100644 --- a/src/core/Miner.h +++ b/src/core/Miner.h @@ -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;