Improve mining pool interface, added GoBrrr pool, Public Pool and Satoshi Radio pool

This commit is contained in:
Djuri 2024-12-20 04:00:09 +01:00
parent f613c7e9a1
commit aeee5238b3
19 changed files with 274 additions and 26 deletions

View file

@ -4,7 +4,7 @@
#include "lib/mining_pool/mining_pool_interface.hpp"
#include <icons/icons.h>
class NodeRunnersPool : public MiningPoolInterface {
class NoderunnersPool : public MiningPoolInterface {
public:
void setPoolUser(const std::string& user) override { poolUser = user; }
@ -14,7 +14,9 @@ public:
LogoData getLogo() const override;
bool supportsDailyEarnings() const override { return false; }
std::string getDailyEarningsLabel() const override { return ""; }
bool hasLogo() const override { return true; }
std::string getDisplayLabel() const override { return "NODE/RUNNERS"; } // Fallback if needed
private:
protected:
static int getHashrateMultiplier(char unit);
};