Skip to content

Conversation

@laanwj
Copy link
Member

@laanwj laanwj commented Mar 9, 2015

UNITTEST parameters are not used by any current tests, and the model (modifyable parameters) is inconvenient when unit-testing in random order. As they are stored in a global structure every test would have to (re)set up its own parameters. This reverts #5030.

For consistency it is better, too, to test with the actual MAIN parameters and not a variation.

Also removes related (and unused) fSkipProofOfWork parameter.

laanwj added 2 commits March 9, 2015 16:06
UNITTEST parameter are not used by any current tests, and the model
(modifyable parameters) is inconvenient when unit-testing. As
they are stored in a global structure eevery test
would have to (re)set up its own parameters.

For consistency it is also better to test with MAIN parameters.
Not used, and REGTEST already allows creating blocks at
the lowerst possible difficulty.
@laanwj laanwj added the Tests label Mar 9, 2015
@jtimon
Copy link
Contributor

jtimon commented Mar 10, 2015

ut ACK

@sipa
Copy link
Member

sipa commented Mar 10, 2015

utACK

@jgarzik
Copy link
Contributor

jgarzik commented Mar 11, 2015

ut ACK

@laanwj laanwj merged commit 3aa0130 into bitcoin:master Mar 11, 2015
laanwj added a commit that referenced this pull request Mar 11, 2015
3aa0130 test: remove fSkipProofOfWork (Wladimir J. van der Laan)
59bd89f test: Remove UNITTEST params (Wladimir J. van der Laan)
@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.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants