aboutsummaryrefslogtreecommitdiff
path: root/src/policy/feerate.h
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2019-08-07 11:32:51 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-06-20 15:35:13 +0900
commit69158b41fc488e4f220559da17a475eff5923a95 (patch)
tree105f4c6ba6755fb5095e66da7c06410eaa6be9b5 /src/policy/feerate.h
parentd4f9ae00252ba44909a61db0f606be6fddf904c1 (diff)
added CURRENCY_ATOM to express minimum indivisible unit
also moved CURRENCY_* into feerate.h file to work around MSVC bug
Diffstat (limited to 'src/policy/feerate.h')
-rw-r--r--src/policy/feerate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/policy/feerate.h b/src/policy/feerate.h
index 61fa80c130..4e0673cae6 100644
--- a/src/policy/feerate.h
+++ b/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
+const std::string CURRENCY_ATOM = "sat"; // One indivisible minimum value unit
/**
* Fee rate in satoshis per kilobyte: CAmount / kB