From eae956cde9e5e537d4755ad4cbb9369a72c2c3db Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Thu, 30 Jul 2020 09:01:29 -0700 Subject: [PATCH] Update docs --- src/rpc/mining.cpp | 6 +++--- src/rpc/rawtransaction.cpp | 4 ++-- src/wallet/rpcwallet.cpp | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 5262b1b1f..ab64e8d49 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers -// Copyright (c) 2019 The Hush developers +// Copyright (c) 2019-2020 The Hush developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -1021,8 +1021,8 @@ UniValue getblocksubsidy(const UniValue& params, bool fHelp, const CPubKey& mypk "1. height (numeric, optional) The block height. If not provided, defaults to the current height of the chain.\n" "\nResult:\n" "{\n" - " \"miner\" : x.xxx (numeric) The mining reward amount in KMD.\n" - " \"ac_pubkey\" : x.xxx (numeric) The mining reward amount in KMD.\n" + " \"miner\" : x.xxx (numeric) The mining reward amount in HUSH.\n" + " \"ac_pubkey\" : x.xxx (numeric) The mining reward amount in HUSH.\n" "}\n" "\nExamples:\n" + HelpExampleCli("getblocksubsidy", "1000") diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 71b28c642..2ed95a4df 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -480,8 +480,8 @@ UniValue getrawtransaction(const UniValue& params, bool fHelp, const CPubKey& my " ],\n" " \"vjoinsplit\" : [ (array of json objects, only for version >= 2)\n" " {\n" - " \"vpub_old\" : x.xxx, (numeric) public input value in KMD\n" - " \"vpub_new\" : x.xxx, (numeric) public output value in KMD\n" + " \"vpub_old\" : x.xxx, (numeric) public input value\n" + " \"vpub_new\" : x.xxx, (numeric) public output value\n" " \"anchor\" : \"hex\", (string) the anchor\n" " \"nullifiers\" : [ (json array of string)\n" " \"hex\" (string) input note nullifier\n" diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 350215b69..a2fa34b3b 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4177,7 +4177,7 @@ UniValue z_getbalance(const UniValue& params, bool fHelp, const CPubKey& mypk) "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" "\nResult:\n" - "amount (numeric) The total amount in KMD received for this address.\n" + "amount (numeric) The total amount received for this address.\n" "\nExamples:\n" "\nThe total amount received by address \"myaddress\"\n" + HelpExampleCli("z_getbalance", "\"myaddress\"") + @@ -4622,7 +4622,7 @@ UniValue z_sendmany(const UniValue& params, bool fHelp, const CPubKey& mypk) "2. \"amounts\" (array, required) An array of json objects representing the amounts to send.\n" " [{\n" " \"address\":address (string, required) The address is a taddr or zaddr\n" - " \"amount\":amount (numeric, required) The numeric amount in KMD is the value\n" + " \"amount\":amount (numeric, required) The amount to send this address\n" " \"memo\":memo (string, optional) If the address is a zaddr, raw data represented in hexadecimal string format\n" " }, ... ]\n" "3. minconf (numeric, optional, default=1) Only use funds confirmed at least this many times.\n"