Show hashrate estimate in status

This commit is contained in:
SChernykh
2021-08-25 11:13:38 +02:00
parent 8f2493edfc
commit 336349e189
4 changed files with 28 additions and 8 deletions
+2
View File
@@ -54,6 +54,7 @@ public:
void submit_sidechain_block(uint32_t template_id, uint32_t nonce, uint32_t extra_nonce);
FORCEINLINE uint64_t final_reward() const { return m_finalReward; }
FORCEINLINE uint64_t next_payout() const { return m_nextPayout; }
private:
@@ -95,6 +96,7 @@ private:
BlockTemplate* m_oldTemplates[4] = {};
uint64_t m_finalReward;
uint64_t m_nextPayout;
// Temp vectors, will be cleaned up after use and skipped in copy constructor/assignment operators