A nice JoinErrors utility function was introduced in https://github.com/bitcoin-core/gui/pull/379 by Russell Yanofsky.
This PR renames this function and re-uses it across the code base.
A nice JoinErrors utility function was introduced in https://github.com/bitcoin-core/gui/pull/379 by Russell Yanofsky.
This PR renames this function and re-uses it across the code base.
-BEGIN VERIFY SCRIPT-
sed -i -e 's/JoinErrors/MakeUnorderedList/' -- src/qt/bitcoin.cpp
-END VERIFY SCRIPT-
Concept ACK
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Concept ACK bb56486a170aacb355f4a973f0cd40ab3918a0cd
Code-review ACK bb56486a170aacb355f4a973f0cd40ab3918a0cd
utACK bb56486a170aacb355f4a973f0cd40ab3918a0cd
1328 | @@ -1328,7 +1329,7 @@ static RPCHelpMan verifychain() 1329 | "\nVerifies blockchain database.\n", 1330 | { 1331 | {"checklevel", RPCArg::Type::NUM, RPCArg::DefaultHint{strprintf("%d, range=0-4", DEFAULT_CHECKLEVEL)}, 1332 | - strprintf("How thorough the block verification is:\n - %s", Join(CHECKLEVEL_DOC, "\n- "))},
In commit "refactor: Reuse MakeUnorderedList where possible" (bb56486a170aacb355f4a973f0cd40ab3918a0cd)
This looks good but just want to note small change in behavior here: space is removed before the first "-"
Yes. While working on this PR I was wondering what is the purpose of a space before the first "-" :)
It seems ignored:
$ src/bitcoin-cli --version
Bitcoin Core RPC client version v22.99.0-bb56486a170a
$ src/bitcoin-cli help verifychain > ~/pr
$ src/bitcoin-cli --version
Bitcoin Core RPC client version v22.99.0-03826aecc56c
$ src/bitcoin-cli help verifychain > ~/master
$ diff ~/master ~/pr # empty
Code review ACK bb56486a170aacb355f4a973f0cd40ab3918a0cd. Nice deduping, thanks for this!