Skip to content

Conversation

@jnewbery
Copy link
Contributor

@jnewbery jnewbery commented Apr 4, 2019

Removes dead code from after the generate method was removed

Copy link

Choose a reason for hiding this comment

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

Just out of curiosity, how come the use of mixed casing?

coinbase_script, nMaxTries all in the same function?

Copy link
Contributor

Choose a reason for hiding this comment

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

Variable (including function arguments) and namespace names are all lowercase, and may use _ to separate words (snake_case).
https://github.com/bitcoin/bitcoin/blob/master/doc/developer-notes.md#coding-style-c

Patchsets should always be focused. For example, a pull request could add a feature, fix a bug, or refactor code; but not a mixture.
https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md

@practicalswift
Copy link
Contributor

Concept ACK

Good catch!

@DrahtBot
Copy link
Contributor

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #15777 ([docs] Add doxygen comments for keypool classes by jnewbery)

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.

Removes dead code from after the generate method was removed
@jnewbery jnewbery force-pushed the 2019_04_simplify_generate branch from ebb1dc9 to 1b46a48 Compare April 10, 2019 16:04
@jnewbery
Copy link
Contributor Author

rebased

@maflcko
Copy link
Member

maflcko commented Apr 10, 2019

utACK 1b46a48

@meshcollider
Copy link
Contributor

utACK 1b46a48

@scravy
Copy link
Contributor

scravy commented Apr 14, 2019

utACK 1b46a48

@Empact
Copy link
Contributor

Empact commented Apr 14, 2019

utACK 1b46a48

@meshcollider meshcollider merged commit 1b46a48 into bitcoin:master Apr 14, 2019
meshcollider added a commit that referenced this pull request Apr 14, 2019
1b46a48 [cleanup] Remove unused CReserveKey (John Newbery)
9819ad6 [rpc] simplify generate RPC (John Newbery)

Pull request description:

  Removes dead code from after the generate method was removed

ACKs for commit 1b46a4:
  MarcoFalke:
    utACK 1b46a48
  meshcollider:
    utACK 1b46a48
  scravy:
    utACK 1b46a48
  Empact:
    utACK 1b46a48

Tree-SHA512: d1fab1bf76ac3036b85cf33be89868bc016f912575545ecaa16f958397b0ec4f1ce4de8fe254d4f21aabeea9c83a8928530cc520de26af0d1a8bdb4ca0f2cb77
@jnewbery jnewbery deleted the 2019_04_simplify_generate branch April 14, 2019 04:29
jasonbcox pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Jun 30, 2020
Summary:
Removes dead code from after the generate method was removed

bitcoin/bitcoin@9819ad6

---

Depends on D6710

Partial backport of Core [[bitcoin/bitcoin#15748 | PR15748]]

Test Plan:
  ninja check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D6712
jasonbcox pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Jun 30, 2020
Summary:
bitcoin/bitcoin@1b46a48

---

Depends on D6712

Concludes backport of Core [[bitcoin/bitcoin#15748 | PR15748]]

Test Plan:
  ninja check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D6714
vijaydasmp pushed a commit to vijaydasmp/dash that referenced this pull request Nov 12, 2021
1b46a48 [cleanup] Remove unused CReserveKey (John Newbery)
9819ad6 [rpc] simplify generate RPC (John Newbery)

Pull request description:

  Removes dead code from after the generate method was removed

ACKs for commit 1b46a4:
  MarcoFalke:
    utACK 1b46a48
  meshcollider:
    utACK bitcoin@1b46a48
  scravy:
    utACK 1b46a48
  Empact:
    utACK bitcoin@1b46a48

Tree-SHA512: d1fab1bf76ac3036b85cf33be89868bc016f912575545ecaa16f958397b0ec4f1ce4de8fe254d4f21aabeea9c83a8928530cc520de26af0d1a8bdb4ca0f2cb77
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
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.

8 participants