Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Prevent user from specifying conflicting parameters to fundrawtx #10799
+6
−0
Conversation
fanquake
added the
RPC/REST/ZMQ
label
Jul 12, 2017
| @@ -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) { |
promag
Jul 12, 2017
Contributor
Either use coinControl.fOverrideFeeRate or, better, options.exists("feeRate")? Same below.
promag
Jul 12, 2017
Contributor
Just because if you change order (handle feeRate option below) it still works.
Nit, s/fundrawtx/fundrawtransaction.
|
utACK b77a803. |
|
Needs rebase. |
|
Rebased on latest #10706. |
|
@TheBlueMatt please rebase (10706 is merged) |
|
Rebased (cleanly, with no changes). |
|
utACK 99c7fc3 |
laanwj
added this to the
0.15.0
milestone
Jul 25, 2017
laanwj
merged commit 99c7fc3
into
bitcoin:master
Jul 25, 2017
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
laanwj
added a commit
that referenced
this pull request
Jul 25, 2017
|
|
laanwj |
8537187
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TheBlueMatt commentedJul 12, 2017
estimate_mode/conf_target both are overridden by feeRate, so should
not be specified together with feeRate.
Based on #10706