forked from btclock/btclock_v3
Mining pool bugfixes, improvements and icon optimizations
This commit is contained in:
parent
e8a7b221cb
commit
7bcb24bab0
14 changed files with 411 additions and 637 deletions
|
@ -5,6 +5,8 @@
|
|||
#include <cstdint>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
int modulo(int x,int N);
|
||||
|
||||
|
@ -12,4 +14,6 @@ double getSupplyAtBlock(std::uint32_t blockNr);
|
|||
|
||||
std::string formatNumberWithSuffix(std::uint64_t num, int numCharacters = 4);
|
||||
std::string formatNumberWithSuffix(std::uint64_t num, int numCharacters, bool mowMode);
|
||||
int64_t getAmountInSatoshis(std::string bolt11);
|
||||
int64_t getAmountInSatoshis(std::string bolt11);
|
||||
void parseHashrateString(const std::string& hashrate, std::string& label, std::string& output, unsigned int maxCharacters);
|
||||
int getHashrateMultiplier(char unit);
|
Loading…
Add table
Add a link
Reference in a new issue