Skip to content

Commit ce8dffc

Browse files
Merge #6099: backport: Merge bitcoin#22507, 21464, 23050, 24367
7972af9 (partial) Merge bitcoin#24367: User-facing content and codebase doc fixups from transifex translator feedback (laanwj) b8951fe Merge bitcoin#23050: log: change an incorrect fee to fee rate, and vice-versa (merge-script) 10dd79c Merge bitcoin#21464: Mempool Update Cut-Through Optimization (fanquake) 5b369a1 Merge bitcoin#22507: doc: Adjust commit message template for the guix.sigs repo (W. J. van der Laan) Pull request description: bitcoin backports ACKs for top commit: UdjinM6: utACK 7972af9 PastaPastaPasta: utACK 7972af9 Tree-SHA512: a362bbe9a0dd3dbaa82ead5a74edf30b4336967b0c5e3a7fb310588f6148f023ee07351c429a4cc86cb3f206aef4c50cdaa99dd7cd2f8beb2c722de7091ee10e
2 parents e7cac98 + 7972af9 commit ce8dffc

23 files changed

+98
-58
lines changed

contrib/guix/guix-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ fi
194194

195195
if ! getent services http https ftp > /dev/null 2>&1; then
196196
cat << EOF
197-
ERR: Your system's C library can not find service database entries for at least
197+
ERR: Your system's C library cannot find service database entries for at least
198198
one of the following services: http, https, ftp.
199199
200200
Hint: Most likely, /etc/services does not exist yet (common for docker images

doc/developer-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ other input.
445445
failure, it will throw an exception, which can be caught to recover from the
446446
error.
447447
- For example, a nullptr dereference or any other logic bug in RPC code
448-
means that the RPC code is faulty and can not be executed. However, the
448+
means that the RPC code is faulty and cannot be executed. However, the
449449
logic bug can be shown to the user and the program can continue to run.
450450
* `Assume` should be used to document assumptions when program execution can
451451
safely continue even if the assumption is violated. In debug builds it
@@ -1352,7 +1352,7 @@ A few guidelines for introducing and reviewing new RPC interfaces:
13521352

13531353
- Don't forget to fill in the argument names correctly in the RPC command table.
13541354
1355-
- *Rationale*: If not, the call can not be used with name-based arguments.
1355+
- *Rationale*: If not, the call cannot be used with name-based arguments.
13561356
13571357
- Add every non-string RPC argument `(method, idx, name)` to the table `vRPCConvertParams` in `rpc/client.cpp`.
13581358

doc/release-process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Commit your signature for the signed macOS/Windows binaries:
178178
```sh
179179
pushd ./guix.sigs
180180
git add "${VERSION}/${SIGNER}"/all.SHA256SUMS{,.asc}
181-
git commit -m "Add ${SIGNER} ${VERSION} signed binaries signatures"
181+
git commit -m "Add attestations by ${SIGNER} for ${VERSION} codesigned"
182182
git push # Assuming you can push to the guix.sigs tree
183183
popd
184184
```

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5189,7 +5189,7 @@ void CaptureMessageToFile(const CAddress& addr,
51895189
// layer (processing) perspective.
51905190
auto now = GetTime<std::chrono::microseconds>();
51915191

5192-
// Windows folder names can not include a colon
5192+
// Windows folder names cannot include a colon
51935193
std::string clean_addr = addr.ToStringAddrPort();
51945194
std::replace(clean_addr.begin(), clean_addr.end(), ':', '_');
51955195

src/node/miner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ void BlockAssembler::AddToBlock(CTxMemPool::txiter iter)
336336

337337
bool fPrintPriority = gArgs.GetBoolArg("-printpriority", DEFAULT_PRINTPRIORITY);
338338
if (fPrintPriority) {
339-
LogPrintf("fee %s txid %s\n",
339+
LogPrintf("fee rate %s txid %s\n",
340340
CFeeRate(iter->GetModifiedFee(), iter->GetTxSize()).ToString(),
341341
iter->GetTx().GetHash().ToString());
342342
}

src/qt/bitcoin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ int GuiMain(int argc, char* argv[])
510510
InitError(strprintf(Untranslated("Error parsing command line arguments: %s\n"), error));
511511
// Create a message box, because the gui has neither been created nor has subscribed to core signals
512512
QMessageBox::critical(nullptr, PACKAGE_NAME,
513-
// message can not be translated because translations have not been initialized
513+
// message cannot be translated because translations have not been initialized
514514
QString::fromStdString("Error parsing command line arguments: %1.").arg(QString::fromStdString(error)));
515515
return EXIT_FAILURE;
516516
}

src/qt/intro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ void Intro::setStatus(int status, const QString &message, quint64 bytesAvailable
304304

305305
void Intro::UpdateFreeSpaceLabel()
306306
{
307-
QString freeString = tr("%1 GB of free space available").arg(m_bytes_available / GB_BYTES);
307+
QString freeString = tr("%1 GB of space available").arg(m_bytes_available / GB_BYTES);
308308
if (m_bytes_available < m_required_space_gb * GB_BYTES) {
309309
freeString += " " + tr("(of %1 GB needed)").arg(m_required_space_gb);
310310
ui->freeSpace->setStyleSheet(GUIUtil::getThemedStyleQString(GUIUtil::ThemedStyle::TS_ERROR));

src/rpc/misc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ static RPCHelpMan setmocktime()
499499
RPCTypeCheck(request.params, {UniValue::VNUM});
500500
const int64_t time{request.params[0].get_int64()};
501501
if (time < 0) {
502-
throw JSONRPCError(RPC_INVALID_PARAMETER, strprintf("Mocktime can not be negative: %s.", time));
502+
throw JSONRPCError(RPC_INVALID_PARAMETER, strprintf("Mocktime cannot be negative: %s.", time));
503503
}
504504
SetMockTime(time);
505505
if (auto* node_context = GetContext<NodeContext>(request.context)) {

src/rpc/txoutproof.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static RPCHelpMan verifytxoutproof()
133133
RPCResult{
134134
RPCResult::Type::ARR, "", "",
135135
{
136-
{RPCResult::Type::STR_HEX, "txid", "The txid(s) which the proof commits to, or empty array if the proof can not be validated."},
136+
{RPCResult::Type::STR_HEX, "txid", "The txid(s) which the proof commits to, or empty array if the proof cannot be validated."},
137137
}
138138
},
139139
RPCExamples{

src/test/util_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ BOOST_AUTO_TEST_CASE(util_ParseMoney)
13751375
BOOST_CHECK_EQUAL(ParseMoney("0.00000001 ").value(), COIN/100000000);
13761376
BOOST_CHECK_EQUAL(ParseMoney(" 0.00000001").value(), COIN/100000000);
13771377

1378-
// Parsing amount that can not be represented should fail
1378+
// Parsing amount that cannot be represented should fail
13791379
BOOST_CHECK(!ParseMoney("100000000.00"));
13801380
BOOST_CHECK(!ParseMoney("0.000000001"));
13811381

0 commit comments

Comments
 (0)