My suggestion for how to address the first three items mentioned in #8294:
- Add size-accounting to
addPackageTxs()
, and use that instead ofaddScoreTxs()
even when-blockmaxsize
is in use. - Bugfix: prevent
addPackageTxs()
from selecting witness transactions before segwit activation, even if mempool policy allows witness transactions in. - Remove
addScoreTxs()
, which is no longer used anywhere. - Remove
-blockminsize
command line option, which has no effect on the mining behavior anymore.
I can drop the last two commits if we decide to go a different direction.