aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-04-21 10:14:06 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-04-21 10:14:06 +0200
commit27ce808fb546eba0204cdcb2d87b62efdf583c62 (patch)
treec39f7b6a288e88982bd5c3df595f371e7c3a19b9 /qa
parentb6ea3bcede1cbbf89486b9d67329e0110c4624ae (diff)
downloadbitcoin-27ce808fb546eba0204cdcb2d87b62efdf583c62.tar.xz
tests: Error when setgenerate is used on regtest
Ever since #5957 there has been the problem that older RPC test cases (as can be found plenty in open pulls) use setgenerate() on regtest, assuming a different interpretation of the arguments. Directly generating a number of blocks has been split off into a new method `generate` - however using `setgenerate` with the previous arguments will result in spawning an unreasonable number of threads, and well, simply not work as expected without clear indication of the error. Add an error to point the user at the right method.
Diffstat (limited to 'qa')
0 files changed, 0 insertions, 0 deletions