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

@ -10,6 +10,9 @@ public:
std::string getApiUrl() const override;
PoolStats parseResponse(const JsonDocument& doc) const override;
LogoData getLogo() const override;
bool hasLogo() const override { return true; }
std::string getDisplayLabel() const override { return "OCEAN/POOL"; } // Fallback if needed
bool supportsDailyEarnings() const override { return true; }
std::string getDailyEarningsLabel() const override { return "sats/block"; }
};