This PR speeds up a few unit tests, as a partial fix to issue #10026, with some optimizations and reducing some number of validations to sane levels:
- checkinputs_test: reduced in about 50%.
- CreateNewBlock_validity: reduced about 17%.
- knapsack_solver_test: reduced about 30%.
- test_CheckQueue_Correct_Random: about 80%
More details in each commit.
No changes should affect executable production code (though there is a change in interpreter.h
, including a constant).