Rationalize currency unit to "ZEC"
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include "tinyformat.h"
|
#include "tinyformat.h"
|
||||||
|
|
||||||
const std::string CURRENCY_UNIT = "BTC";
|
const std::string CURRENCY_UNIT = "ZEC";
|
||||||
|
|
||||||
CFeeRate::CFeeRate(const CAmount& nFeePaid, size_t nSize)
|
CFeeRate::CFeeRate(const CAmount& nFeePaid, size_t nSize)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -883,8 +883,8 @@ UniValue getblocksubsidy(const UniValue& params, bool fHelp)
|
|||||||
"1. height (numeric, optional) The block height. If not provided, defaults to the current height of the chain.\n"
|
"1. height (numeric, optional) The block height. If not provided, defaults to the current height of the chain.\n"
|
||||||
"\nResult:\n"
|
"\nResult:\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" \"miner\" : x.xxx (numeric) The mining reward amount in ZEC.\n"
|
" \"miner\" : x.xxx (numeric) The mining reward amount in " + CURRENCY_UNIT + ".\n"
|
||||||
" \"founders\" : x.xxx (numeric) The founders reward amount in ZEC.\n"
|
" \"founders\" : x.xxx (numeric) The founders reward amount in " + CURRENCY_UNIT + ".\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
+ HelpExampleCli("getblocksubsidy", "1000")
|
+ HelpExampleCli("getblocksubsidy", "1000")
|
||||||
|
|||||||
@@ -221,8 +221,8 @@ UniValue getrawtransaction(const UniValue& params, bool fHelp)
|
|||||||
" ],\n"
|
" ],\n"
|
||||||
" \"vjoinsplit\" : [ (array of json objects, only for version >= 2)\n"
|
" \"vjoinsplit\" : [ (array of json objects, only for version >= 2)\n"
|
||||||
" {\n"
|
" {\n"
|
||||||
" \"vpub_old\" : x.xxx, (numeric) public input value in ZEC\n"
|
" \"vpub_old\" : x.xxx, (numeric) public input value in " + CURRENCY_UNIT + "\n"
|
||||||
" \"vpub_new\" : x.xxx, (numeric) public output value in ZEC\n"
|
" \"vpub_new\" : x.xxx, (numeric) public output value in " + CURRENCY_UNIT + "\n"
|
||||||
" \"anchor\" : \"hex\", (string) the anchor\n"
|
" \"anchor\" : \"hex\", (string) the anchor\n"
|
||||||
" \"nullifiers\" : [ (json array of string)\n"
|
" \"nullifiers\" : [ (json array of string)\n"
|
||||||
" \"hex\" (string) input note nullifier\n"
|
" \"hex\" (string) input note nullifier\n"
|
||||||
@@ -521,8 +521,8 @@ UniValue decoderawtransaction(const UniValue& params, bool fHelp)
|
|||||||
" ],\n"
|
" ],\n"
|
||||||
" \"vjoinsplit\" : [ (array of json objects, only for version >= 2)\n"
|
" \"vjoinsplit\" : [ (array of json objects, only for version >= 2)\n"
|
||||||
" {\n"
|
" {\n"
|
||||||
" \"vpub_old\" : x.xxx, (numeric) public input value in ZEC\n"
|
" \"vpub_old\" : x.xxx, (numeric) public input value in " + CURRENCY_UNIT + "\n"
|
||||||
" \"vpub_new\" : x.xxx, (numeric) public output value in ZEC\n"
|
" \"vpub_new\" : x.xxx, (numeric) public output value in " + CURRENCY_UNIT + "\n"
|
||||||
" \"anchor\" : \"hex\", (string) the anchor\n"
|
" \"anchor\" : \"hex\", (string) the anchor\n"
|
||||||
" \"nullifiers\" : [ (json array of string)\n"
|
" \"nullifiers\" : [ (json array of string)\n"
|
||||||
" \"hex\" (string) input note nullifier\n"
|
" \"hex\" (string) input note nullifier\n"
|
||||||
|
|||||||
@@ -3101,7 +3101,7 @@ UniValue z_getbalance(const UniValue& params, bool fHelp)
|
|||||||
"1. \"address\" (string) The selected address. It may be a transparent or private address.\n"
|
"1. \"address\" (string) The selected address. It may be a transparent or private address.\n"
|
||||||
"2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.\n"
|
"2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.\n"
|
||||||
"\nResult:\n"
|
"\nResult:\n"
|
||||||
"amount (numeric) The total amount in ZEC received for this address.\n"
|
"amount (numeric) The total amount in " + CURRENCY_UNIT + " received for this address.\n"
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
"\nThe total amount received by address \"myaddress\"\n"
|
"\nThe total amount received by address \"myaddress\"\n"
|
||||||
+ HelpExampleCli("z_getbalance", "\"myaddress\"") +
|
+ HelpExampleCli("z_getbalance", "\"myaddress\"") +
|
||||||
@@ -3326,7 +3326,7 @@ UniValue z_sendmany(const UniValue& params, bool fHelp)
|
|||||||
"2. \"amounts\" (array, required) An array of json objects representing the amounts to send.\n"
|
"2. \"amounts\" (array, required) An array of json objects representing the amounts to send.\n"
|
||||||
" [{\n"
|
" [{\n"
|
||||||
" \"address\":address (string, required) The address is a taddr or zaddr\n"
|
" \"address\":address (string, required) The address is a taddr or zaddr\n"
|
||||||
" \"amount\":amount (numeric, required) The numeric amount in ZEC is the value\n"
|
" \"amount\":amount (numeric, required) The numeric amount in " + CURRENCY_UNIT + " is the value\n"
|
||||||
" \"memo\":memo (string, optional) If the address is a zaddr, raw data represented in hexadecimal string format\n"
|
" \"memo\":memo (string, optional) If the address is a zaddr, raw data represented in hexadecimal string format\n"
|
||||||
" }, ... ]\n"
|
" }, ... ]\n"
|
||||||
"3. minconf (numeric, optional, default=1) Only use funds confirmed at least this many times.\n"
|
"3. minconf (numeric, optional, default=1) Only use funds confirmed at least this many times.\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user