Merge #11173: RPC: Fix currency unit string in the help text
commit4eb1f39d421024d9666cec61deaf96715ffae4c6
authorMarcoFalke <falke.marco@gmail.com>
Tue, 5 Sep 2017 21:44:58 +0000 (5 14:44 -0700)
committerMarcoFalke <falke.marco@gmail.com>
Tue, 5 Sep 2017 21:46:05 +0000 (5 14:46 -0700)
tree396874dc2c6601ee5dcca6c30bd511482f578ae0
parent001041df81871d4af9e55f1cc255c59a34e37409
parent47ba2c312a440baff5ebc911e3bb014643f4e9c3
Merge #11173: RPC: Fix currency unit string in the help text

47ba2c312 Fix currency/fee-rate unit string in the help text (Akio Nakamura)

Pull request description:

  1. The RPC help text should use the constant `CURRENCY_UNIT` defined in `policy/feerate.cpp` instead of the literal `'BTC'`.
    In the following 2 RPC commands, `'BTC'` is written directly in the help text.
    This commit changes them to use that constant.
       1) `estimatesmartfee`
       2) `estimaterawfee`

  2. Some RPC command use `'satoshis'` as the unit.
    It should be written as `'satoshis'` instead of `'Satoshis'` in the RPC help text.
    So, this commit fixes this typo in `getblocktemplate`.

Tree-SHA512: d0bd1cd90560e59bf456b076b958a2a1c998f85a7e65aeb6b2abcaba18919a3ae62f7c3909210461084c1a3275a35b6ba3ea3ec8f5cce33702ffe383c9e84bce
src/rpc/blockchain.cpp
src/rpc/mining.cpp
src/wallet/rpcwallet.cpp