aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-08-11 11:25:06 -0400
committerJohn Newbery <john@johnnewbery.com>2017-09-26 12:17:19 -0400
commitd4cdbd6fb6ac3663d069307c4fd0078f4ecf0245 (patch)
tree2a3e1a54e474e79ab491c46205ca26fd84f91da4 /test
parent86700d3d056caf54b091a6673dd6dabb65fac1f2 (diff)
downloadbitcoin-d4cdbd6fb6ac3663d069307c4fd0078f4ecf0245.tar.xz
[rpc] Deprecate estimatefee RPC
Deprecate estimatefee in v0.16, for final removal in v0.17. This commit introduces a phased removal of RPC methods. RPC method is disabled by default in version x, but can be enabled by using the `-deprecatedrpc=<method>` argument. RPC method is removed entirely in version (x+1).
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/smartfees.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/smartfees.py b/test/functional/smartfees.py
index 76632fc578..986f4546a8 100755
--- a/test/functional/smartfees.py
+++ b/test/functional/smartfees.py
@@ -151,7 +151,7 @@ class EstimateFeeTest(BitcoinTestFramework):
which we will use to generate our transactions.
"""
self.add_nodes(3, extra_args=[["-maxorphantx=1000", "-whitelist=127.0.0.1"],
- ["-blockmaxsize=17000", "-maxorphantx=1000"],
+ ["-blockmaxsize=17000", "-maxorphantx=1000", "-deprecatedrpc=estimatefee"],
["-blockmaxsize=8000", "-maxorphantx=1000"]])
# Use node0 to mine blocks for input splitting
# Node1 mines small blocks but that are bigger than the expected transaction rate.