277b472 Run miner_tests with fixed options (Pieter Wuille)
48faf0b Abstract out BlockAssembler options (Pieter Wuille)
Tree-SHA512: 8e910904864c8653fb0358d820a4181d0496bdcbc3454c17a742af7505bfb59f7078c6d0faa9c753bdaf23b6d93d228a09913cc867fbddccd515483ebe7bfad0
Backport of Core PR9868
https://github.com/bitcoin/bitcoin/pull/9868/files
Reviewer Note: Some of the code has diverged of our own doing and even other parts have out-of-order backports applied.