diff options
author | William Casarin <jb55@jb55.com> | 2017-12-27 08:01:45 -0800 |
---|---|---|
committer | William Casarin <jb55@jb55.com> | 2017-12-28 09:54:58 -0800 |
commit | 275b2eeed4050d8797bf127e5abf171c050e182a (patch) | |
tree | 0ee7df1cc8c5f470a25dd1171a0863bf6128dbfc /src/qt/bitcoinunits.h | |
parent | 5180a86c96bc05d2a731f70f36aae28ab5a3fad4 (diff) |
[qt] change µBTC to bits
* Now that we have bip176, change "µBTC" to the more colloquial "bits"
* We retain the `µBTC (bits)` description in dropdowns and status bars.
The more concise "bits" is used when appended to numbers.
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat (limited to 'src/qt/bitcoinunits.h')
-rw-r--r-- | src/qt/bitcoinunits.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/bitcoinunits.h b/src/qt/bitcoinunits.h index 3f5a7fd32d..de622caeab 100644 --- a/src/qt/bitcoinunits.h +++ b/src/qt/bitcoinunits.h @@ -76,8 +76,10 @@ public: static QList<Unit> availableUnits(); //! Is unit ID valid? static bool valid(int unit); + //! Long name + static QString longName(int unit); //! Short name - static QString name(int unit); + static QString shortName(int unit); //! Longer description static QString description(int unit); //! Number of Satoshis (1e-8) per unit |