Hush lite wallet
https://faq.hush.is/sdl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
723 B
30 lines
723 B
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
|
|
#include "precompiled.h"
|
|
|
|
struct ToFields;
|
|
struct Tx;
|
|
|
|
class Utils
|
|
{
|
|
public:
|
|
static const QString txidStatusMessage;
|
|
|
|
static const QString getTokenName();
|
|
static const QString getDevSproutAddr();
|
|
static const QString getDevAddr(Tx tx);
|
|
static const QString getDonationAddr(bool sapling);
|
|
|
|
static double getMinerFee();
|
|
static double getDevFee();
|
|
static double getTotalFee();
|
|
|
|
static const int updateSpeed = 20 * 1000; // 20 sec
|
|
static const int quickUpdateSpeed = 5 * 1000; // 5 sec
|
|
static const int priceRefreshSpeed = 60 * 60 * 1000; // 1 hr
|
|
private:
|
|
Utils() = delete;
|
|
};
|
|
|
|
#endif // UTILS_H
|