mirror of
https://git.btclock.dev/btclock/btclock_v3.git
synced 2025-01-18 21:32:34 +01:00
15 lines
396 B
C++
15 lines
396 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <cmath>
|
|
#include <cstdint>
|
|
#include <sstream>
|
|
#include <iomanip>
|
|
|
|
int modulo(int x,int N);
|
|
|
|
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); |