We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4f9ae0 commit 69158b4Copy full SHA for 69158b4
src/policy/feerate.cpp
@@ -7,8 +7,6 @@
7
8
#include <tinyformat.h>
9
10
-const std::string CURRENCY_UNIT = "BTC";
11
-
12
CFeeRate::CFeeRate(const CAmount& nFeePaid, size_t nBytes_)
13
{
14
assert(nBytes_ <= uint64_t(std::numeric_limits<int64_t>::max()));
src/policy/feerate.h
@@ -11,7 +11,8 @@
#include <string>
-extern const std::string CURRENCY_UNIT;
+const std::string CURRENCY_UNIT = "BTC"; // One formatted unit
15
+const std::string CURRENCY_ATOM = "sat"; // One indivisible minimum value unit
16
17
/**
18
* Fee rate in satoshis per kilobyte: CAmount / kB
0 commit comments