-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Rationalize currency unit to "ZEC" #2564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
|
|
||
| extern const std::string CURRENCY_UNIT; | ||
|
|
||
| /** No amount larger than this (in satoshi) is valid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/satoshi/zatoshi?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are other PRs that handle these changes. This PR solely focuses on the currency unit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
|
|
||
| /** No amount larger than this (in satoshi) is valid. | ||
| * | ||
| * Note that this constant is *not* the total money supply, which in Bitcoin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Bitcoin/Zcash
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above.
|
ACK, let's try to get the other PR's changing the names in there too though. At least before 1 yr is up :) |
|
@zkbot r+ |
|
📌 Commit 6dec2d0 has been approved by |
Rationalize currency unit to "ZEC" Cherry-picked from the upstream PR bitcoin/bitcoin#6504 Part of #2074
Cherry-picked from the upstream PR bitcoin/bitcoin#6504
Part of #2074