From 1bdd1c4b72436ab763f11662283273d377654b11 Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Tue, 7 Jan 2025 21:37:10 +0700 Subject: [PATCH] fix: dashify PSBT: it's Partially Signed BLOCKCHAIN Transaction in Qt and RPC Co-Authored-By: UdjinM6 --- src/qt/bitcoingui.cpp | 4 ++-- src/qt/bitcoingui.h | 2 +- src/qt/sendcoinsdialog.cpp | 2 +- src/qt/walletframe.h | 2 +- src/rpc/rawtransaction.cpp | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 4e2d32b031c377..3a0a6bf9bff904 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -409,9 +409,9 @@ void BitcoinGUI::createActions() verifyMessageAction = new QAction(tr("&Verify message…"), this); verifyMessageAction->setStatusTip(tr("Verify messages to ensure they were signed with specified Dash addresses")); m_load_psbt_action = new QAction(tr("&Load PSBT from file…"), this); - m_load_psbt_action->setStatusTip(tr("Load Partially Signed Dash Transaction")); + m_load_psbt_action->setStatusTip(tr("Load Partially Signed Blockchain 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 Blockchain Transaction from clipboard")); openInfoAction = new QAction(tr("&Information"), this); openInfoAction->setStatusTip(tr("Show diagnostic information")); diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h index 4462ab55794254..0e8381ef23d571 100644 --- a/src/qt/bitcoingui.h +++ b/src/qt/bitcoingui.h @@ -338,7 +338,7 @@ public Q_SLOTS: void gotoSignMessageTab(QString addr = ""); /** Show Sign/Verify Message dialog and switch to verify message tab */ void gotoVerifyMessageTab(QString addr = ""); - /** Load Partially Signed Dash Transaction from file or clipboard */ + /** Load Partially Signed Bitcoin Transaction from file or clipboard */ void gotoLoadPSBT(bool from_clipboard = false); /** Show open dialog */ diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index b4e5bcebea7bb5..22259ce2a3dd12 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -233,7 +233,7 @@ void SendCoinsDialog::setModel(WalletModel *_model) if (model->wallet().privateKeysDisabled()) { ui->sendButton->setText(tr("Cr&eate Unsigned")); - ui->sendButton->setToolTip(tr("Creates a Partially Signed Bitcoin Transaction (PSBT) for use with e.g. an offline %1 wallet, or a PSBT-compatible hardware wallet.").arg(PACKAGE_NAME)); + ui->sendButton->setToolTip(tr("Creates a Partially Signed Blockchain Transaction (PSBT) for use with e.g. an offline %1 wallet, or a PSBT-compatible hardware wallet.").arg(PACKAGE_NAME)); } // set the smartfee-sliders default value (wallets default conf.target or last stored value) diff --git a/src/qt/walletframe.h b/src/qt/walletframe.h index 948af49ad6d82b..7f4436222c3740 100644 --- a/src/qt/walletframe.h +++ b/src/qt/walletframe.h @@ -91,7 +91,7 @@ public Q_SLOTS: /** Show Sign/Verify Message dialog and switch to verify message tab */ void gotoVerifyMessageTab(QString addr = ""); - /** Load Partially Signed Bitcoin Transaction */ + /** Load Partially Signed Blockchain Transaction */ void gotoLoadPSBT(bool from_clipboard = false); /** Encrypt the wallet */ diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 4fbbe10a2a037c..7be6a3a8c0da94 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -1161,7 +1161,7 @@ static RPCHelpMan testmempoolaccept() static RPCHelpMan decodepsbt() { return RPCHelpMan{"decodepsbt", - "\nReturn a JSON object representing the serialized, base64-encoded partially signed Dash transaction.\n", + "\nReturn a JSON object representing the serialized, base64-encoded partially signed blockchain transaction.\n", { {"psbt", RPCArg::Type::STR, RPCArg::Optional::NO, "The PSBT base64 string"}, }, @@ -1414,7 +1414,7 @@ static RPCHelpMan decodepsbt() static RPCHelpMan combinepsbt() { return RPCHelpMan{"combinepsbt", - "\nCombine multiple partially signed Dash transactions into one transaction.\n" + "\nCombine multiple partially signed blockchain transactions into one transaction.\n" "Implements the Combiner role.\n", { {"txs", RPCArg::Type::ARR, RPCArg::Optional::NO, "The base64 strings of partially signed transactions",