aboutsummaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorRoss Nicoll <jrn@jrn.me.uk>2015-08-01 20:15:23 +0100
committerRoss Nicoll <jrn@jrn.me.uk>2015-08-03 22:58:30 +0100
commit9ca7857df74c52eb2c46be36c88a12879be6cf8c (patch)
treeb9273763228ed4a847d3bc64c7c68c820c0b0e84 /src/amount.h
parent86cfd23f68367af072500b1758a4c446cdd36e74 (diff)
Rationalize currency unit to "BTC"
Previously various user-facing strings have used inconsistent currency units "BTC", "btc" and "bitcoins". This adds a single constant and uses it for each reference to the currency unit. Also adds a description of the unit for --maxtxfee, and adds the missing "amount" field description to the (deprecated) move RPC command.
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amount.h b/src/amount.h
index 7dc62edac4..90e6b5aa8e 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -16,6 +16,8 @@ typedef int64_t CAmount;
static const CAmount COIN = 100000000;
static const CAmount CENT = 1000000;
+extern const std::string CURRENCY_UNIT;
+
/** No amount larger than this (in satoshi) is valid.
*
* Note that this constant is *not* the total money supply, which in Bitcoin