Skip to content

Conversation

@hebasto
Copy link
Member

@hebasto hebasto commented Aug 6, 2021

A nice JoinErrors utility function was introduced in bitcoin-core/gui#379 by Russell Yanofsky.

This PR renames this function and re-uses it across the code base.

@hebasto
Copy link
Member Author

hebasto commented Aug 6, 2021

cc @ryanofsky @jarolrod

@theStack
Copy link
Contributor

theStack commented Aug 6, 2021

Concept ACK

@DrahtBot
Copy link
Contributor

DrahtBot commented Aug 7, 2021

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #22664 (docs: fix typo spelling grammar by slowy07)
  • #20295 (rpc: getblockfrompeer by Sjors)

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.

Copy link
Contributor

@Zero-1729 Zero-1729 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK bb56486

Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code-review ACK bb56486

Copy link

@Talkless Talkless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK bb56486

@hebasto hebasto requested a review from ryanofsky August 10, 2021 17:38
Copy link
Contributor

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review ACK bb56486. Nice deduping, thanks for this!

"\nVerifies blockchain database.\n",
{
{"checklevel", RPCArg::Type::NUM, RPCArg::DefaultHint{strprintf("%d, range=0-4", DEFAULT_CHECKLEVEL)},
strprintf("How thorough the block verification is:\n - %s", Join(CHECKLEVEL_DOC, "\n- "))},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In commit "refactor: Reuse MakeUnorderedList where possible" (bb56486)

This looks good but just want to note small change in behavior here: space is removed before the first "-"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@fanquake fanquake merged commit c3545a7 into bitcoin:master Aug 11, 2021
@hebasto hebasto deleted the 210806-err branch August 11, 2021 06:51
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Aug 15, 2021
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants