Skip to content

Conversation

TheBlueMatt
Copy link
Contributor

estimate_mode/conf_target both are overridden by feeRate, so should
not be specified together with feeRate.

Based on #10706

Copy link
Contributor

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

@@ -2798,9 +2795,15 @@ UniValue fundrawtransaction(const JSONRPCRequest& request)
coinControl.signalRbf = options["replaceable"].get_bool();
}
if (options.exists("conf_target")) {
coinControl.nConfirmTarget = options["conf_target"].get_int();
if (coinControl.m_feerate) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Either use coinControl.fOverrideFeeRate or, better, options.exists("feeRate")? Same below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why?

Copy link
Contributor

Choose a reason for hiding this comment

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

Just because if you change order (handle feeRate option below) it still works.

Nit, s/fundrawtx/fundrawtransaction.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed. Left the commit message as-is to keep it short.

@TheBlueMatt TheBlueMatt force-pushed the 2017-07-no-fundraw-conflicts branch from ab570f8 to b77a803 Compare July 14, 2017 23:25
@promag
Copy link
Contributor

promag commented Jul 14, 2017

utACK b77a803.

@sipa
Copy link
Member

sipa commented Jul 15, 2017

utACK the final commit b77a80306e9fff1a63bb0ac04461407df5004d9f, but needs merging #10706 first.

@sipa
Copy link
Member

sipa commented Jul 16, 2017

Needs rebase.

@TheBlueMatt TheBlueMatt force-pushed the 2017-07-no-fundraw-conflicts branch from b77a803 to 46efc73 Compare July 16, 2017 22:20
@TheBlueMatt
Copy link
Contributor Author

Rebased on latest #10706.

@gmaxwell
Copy link
Contributor

@TheBlueMatt please rebase (10706 is merged)

estimate_mode/conf_target both are overridden by feeRate, so should
not be specified together with feeRate.
@TheBlueMatt TheBlueMatt force-pushed the 2017-07-no-fundraw-conflicts branch from 46efc73 to 99c7fc3 Compare July 17, 2017 17:47
@TheBlueMatt
Copy link
Contributor Author

Rebased (cleanly, with no changes).

@morcos
Copy link
Contributor

morcos commented Jul 17, 2017

utACK 99c7fc3

Copy link
Contributor

@gmaxwell gmaxwell left a comment

Choose a reason for hiding this comment

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

utACK

@laanwj laanwj added this to the 0.15.0 milestone Jul 25, 2017
@laanwj laanwj merged commit 99c7fc3 into bitcoin:master Jul 25, 2017
laanwj added a commit that referenced this pull request Jul 25, 2017
…fundrawtx

99c7fc3 Prevent user from specifying conflicting parameters to fundrawtx (Matt Corallo)

Pull request description:

  estimate_mode/conf_target both are overridden by feeRate, so should
  not be specified together with feeRate.

  Based on #10706

Tree-SHA512: 8ccd08575fd1f2a0d45112538ffbbc73983ee172963230b0cc7ac41d13c6f3c740917f82b212c41ded3a64d873452e7f2c7af49f3b47cab897f8e85117f21333
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Sep 4, 2019
…ers to fundrawtx

99c7fc3 Prevent user from specifying conflicting parameters to fundrawtx (Matt Corallo)

Pull request description:

  estimate_mode/conf_target both are overridden by feeRate, so should
  not be specified together with feeRate.

  Based on bitcoin#10706

Tree-SHA512: 8ccd08575fd1f2a0d45112538ffbbc73983ee172963230b0cc7ac41d13c6f3c740917f82b212c41ded3a64d873452e7f2c7af49f3b47cab897f8e85117f21333
barrystyle pushed a commit to PACGlobalOfficial/PAC that referenced this pull request Jan 22, 2020
…ers to fundrawtx

99c7fc3 Prevent user from specifying conflicting parameters to fundrawtx (Matt Corallo)

Pull request description:

  estimate_mode/conf_target both are overridden by feeRate, so should
  not be specified together with feeRate.

  Based on bitcoin#10706

Tree-SHA512: 8ccd08575fd1f2a0d45112538ffbbc73983ee172963230b0cc7ac41d13c6f3c740917f82b212c41ded3a64d873452e7f2c7af49f3b47cab897f8e85117f21333
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 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.

7 participants