Skip to content

Conversation

@ryanofsky
Copy link
Contributor

Util is a better home since it's called both by wallet and mining code.

Suggested #15288 (comment)

Util is a better home since it's called both by wallet and mining code.

Suggested bitcoin#15288 (comment)
@DrahtBot
Copy link
Contributor

DrahtBot commented Feb 9, 2019

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #14978 (Factor out PSBT utilities from RPCs for use in GUI code; related refactoring. by gwillen)

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.

@promag
Copy link
Contributor

promag commented Feb 9, 2019

utACK c706207.

Copy link
Contributor Author

@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.

Updated c706207 -> 50e6472 (pr/movtarget.1 -> pr/movtarget.2, compare) to fix #include sort order

@laanwj
Copy link
Member

laanwj commented Feb 10, 2019

Agree—utACK 50e6472

@maflcko maflcko merged commit 50e6472 into bitcoin:master Feb 11, 2019
maflcko pushed a commit that referenced this pull request Feb 11, 2019
50e6472 Move ParseConfirmTarget from rpc/mining to rpc/util (Russell Yanofsky)

Pull request description:

  Util is a better home since it's called both by wallet and mining code.

  Suggested #15288 (comment)

Tree-SHA512: 4320caf2a3f70d2885c421de04f2ec68ff3f6519258c5155fc46e245dc1765fd15c81f260af5096318f24ff9deb88fc3c5ef40eec8b7393f467f5b963d17215b
@jnewbery
Copy link
Contributor

utACK 50e6472. Thanks Russ.

The #include <rpc/mining.h> can be removed from rpcwallet.cpp once generate() has been removed post v0.18 (was deprecated in #14468)

Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Sep 13, 2021
50e6472 Move ParseConfirmTarget from rpc/mining to rpc/util (Russell Yanofsky)

Pull request description:

  Util is a better home since it's called both by wallet and mining code.

  Suggested bitcoin#15288 (comment)

Tree-SHA512: 4320caf2a3f70d2885c421de04f2ec68ff3f6519258c5155fc46e245dc1765fd15c81f260af5096318f24ff9deb88fc3c5ef40eec8b7393f467f5b963d17215b
@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