From 66a97aa909ac3330c7aece349a947616c0a6db74 Mon Sep 17 00:00:00 2001 From: pinehill99 Date: Fri, 29 May 2026 06:06:27 +0900 Subject: [PATCH] src: use Bitgesell terms in RPC and GUI help --- src/qt/BGLgui.cpp | 4 ++-- src/rpc/mining.cpp | 8 ++++---- src/rpc/output_script.cpp | 6 +++--- src/rpc/signmessage.cpp | 2 +- src/wallet/rpc/encrypt.cpp | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/qt/BGLgui.cpp b/src/qt/BGLgui.cpp index 3e0005da0d..87a67151d4 100644 --- a/src/qt/BGLgui.cpp +++ b/src/qt/BGLgui.cpp @@ -318,9 +318,9 @@ void BGLGUI::createActions() verifyMessageAction = new QAction(tr("&Verify message…"), this); verifyMessageAction->setStatusTip(tr("Verify messages to ensure they were signed with specified Bitgesell addresses")); m_load_psbt_action = new QAction(tr("&Load PSBT from file…"), this); - m_load_psbt_action->setStatusTip(tr("Load Partially Signed Bitcoin Transaction")); + m_load_psbt_action->setStatusTip(tr("Load Partially Signed Bitgesell Transaction")); m_load_psbt_clipboard_action = new QAction(tr("Load PSBT from &clipboard…"), this); - m_load_psbt_clipboard_action->setStatusTip(tr("Load Partially Signed Bitcoin Transaction from clipboard")); + m_load_psbt_clipboard_action->setStatusTip(tr("Load Partially Signed Bitgesell Transaction from clipboard")); openRPCConsoleAction = new QAction(tr("Node window"), this); openRPCConsoleAction->setStatusTip(tr("Open node debugging and diagnostic console")); diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index f264689195..1465bf475b 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -218,7 +218,7 @@ static RPCHelpMan generatetodescriptor() "Mine to a specified descriptor and return the block hashes.", { {"num_blocks", RPCArg::Type::NUM, RPCArg::Optional::NO, "How many blocks are generated."}, - {"descriptor", RPCArg::Type::STR, RPCArg::Optional::NO, "The descriptor to send the newly generated bitcoin to."}, + {"descriptor", RPCArg::Type::STR, RPCArg::Optional::NO, "The descriptor to send the newly generated coins to."}, {"maxtries", RPCArg::Type::NUM, RPCArg::Default{DEFAULT_MAX_TRIES}, "How many iterations to try."}, }, RPCResult{ @@ -262,7 +262,7 @@ static RPCHelpMan generatetoaddress() "Mine to a specified address and return the block hashes.", { {"nblocks", RPCArg::Type::NUM, RPCArg::Optional::NO, "How many blocks are generated."}, - {"address", RPCArg::Type::STR, RPCArg::Optional::NO, "The address to send the newly generated bitcoin to."}, + {"address", RPCArg::Type::STR, RPCArg::Optional::NO, "The address to send the newly generated coins to."}, {"maxtries", RPCArg::Type::NUM, RPCArg::Default{DEFAULT_MAX_TRIES}, "How many iterations to try."}, }, RPCResult{ @@ -273,7 +273,7 @@ static RPCHelpMan generatetoaddress() RPCExamples{ "\nGenerate 11 blocks to myaddress\n" + HelpExampleCli("generatetoaddress", "11 \"myaddress\"") - + "If you are using the " PACKAGE_NAME " wallet, you can get a new address to send the newly generated bitcoin to with:\n" + + "If you are using the " PACKAGE_NAME " wallet, you can get a new address to send the newly generated coins to with:\n" + HelpExampleCli("getnewaddress", "") }, [&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue @@ -302,7 +302,7 @@ static RPCHelpMan generateblock() return RPCHelpMan{"generateblock", "Mine a set of ordered transactions to a specified address or descriptor and return the block hash.", { - {"output", RPCArg::Type::STR, RPCArg::Optional::NO, "The address or descriptor to send the newly generated bitcoin to."}, + {"output", RPCArg::Type::STR, RPCArg::Optional::NO, "The address or descriptor to send the newly generated coins to."}, {"transactions", RPCArg::Type::ARR, RPCArg::Optional::NO, "An array of hex strings which are either txids or raw transactions.\n" "Txids must reference transactions currently in the mempool.\n" "All transactions must be valid and in valid order, otherwise the block will be rejected.", diff --git a/src/rpc/output_script.cpp b/src/rpc/output_script.cpp index 65a9be2762..ee252891cd 100644 --- a/src/rpc/output_script.cpp +++ b/src/rpc/output_script.cpp @@ -29,15 +29,15 @@ static RPCHelpMan validateaddress() { return RPCHelpMan{ "validateaddress", - "\nReturn information about the given bitcoin address.\n", + "\nReturn information about the given Bitgesell address.\n", { - {"address", RPCArg::Type::STR, RPCArg::Optional::NO, "The bitcoin address to validate"}, + {"address", RPCArg::Type::STR, RPCArg::Optional::NO, "The Bitgesell address to validate"}, }, RPCResult{ RPCResult::Type::OBJ, "", "", { {RPCResult::Type::BOOL, "isvalid", "If the address is valid or not"}, - {RPCResult::Type::STR, "address", /*optional=*/true, "The bitcoin address validated"}, + {RPCResult::Type::STR, "address", /*optional=*/true, "The Bitgesell address validated"}, {RPCResult::Type::STR_HEX, "scriptPubKey", /*optional=*/true, "The hex-encoded scriptPubKey generated by the address"}, {RPCResult::Type::BOOL, "isscript", /*optional=*/true, "If the key is a script"}, {RPCResult::Type::BOOL, "iswitness", /*optional=*/true, "If the address is a witness address"}, diff --git a/src/rpc/signmessage.cpp b/src/rpc/signmessage.cpp index 83462738c5..d524cb5dd3 100644 --- a/src/rpc/signmessage.cpp +++ b/src/rpc/signmessage.cpp @@ -19,7 +19,7 @@ static RPCHelpMan verifymessage() return RPCHelpMan{"verifymessage", "Verify a signed message.", { - {"address", RPCArg::Type::STR, RPCArg::Optional::NO, "The bitcoin address to use for the signature."}, + {"address", RPCArg::Type::STR, RPCArg::Optional::NO, "The Bitgesell address to use for the signature."}, {"signature", RPCArg::Type::STR, RPCArg::Optional::NO, "The signature provided by the signer in base 64 encoding (see signmessage)."}, {"message", RPCArg::Type::STR, RPCArg::Optional::NO, "The message that was signed."}, }, diff --git a/src/wallet/rpc/encrypt.cpp b/src/wallet/rpc/encrypt.cpp index e237286603..0912a91b70 100644 --- a/src/wallet/rpc/encrypt.cpp +++ b/src/wallet/rpc/encrypt.cpp @@ -12,7 +12,7 @@ RPCHelpMan walletpassphrase() { return RPCHelpMan{"walletpassphrase", "\nStores the wallet decryption key in memory for 'timeout' seconds.\n" - "This is needed prior to performing transactions related to private keys such as sending bitcoins\n" + "This is needed prior to performing transactions related to private keys such as sending coins\n" "\nNote:\n" "Issuing the walletpassphrase command while the wallet is already unlocked will set a new unlock\n" "time that overrides the old one.\n", @@ -232,7 +232,7 @@ RPCHelpMan encryptwallet() RPCExamples{ "\nEncrypt your wallet\n" + HelpExampleCli("encryptwallet", "\"my pass phrase\"") + - "\nNow set the passphrase to use the wallet, such as for signing or sending bitcoin\n" + "\nNow set the passphrase to use the wallet, such as for signing or sending coins\n" + HelpExampleCli("walletpassphrase", "\"my pass phrase\"") + "\nNow we can do something like sign\n" + HelpExampleCli("signmessage", "\"address\" \"test message\"") +