Problem: BlockAssembler fills block templates with mempool chunks that fit the configured weight limit and the consensus sigops limit, but currently rejects a chunk when it brings either total exactly to its limit.
Equality is valid because block_max_weight is a maximum and BIP 141 defines both consensus limits using ≤.
The >= checks can therefore leave valid capacity unused and omit a fee-paying chunk.
Mining option validation also permits block_max_weight == MAX_BLOCK_WEIGHT and coinbase_output_max_additional_sigops == MAX_BLOCK_SIGOPS_COST, while the chunk checks reject an accounted total equal to either limit.
A 2016 review comment on the original package-selection PR raised the same inclusive-limit point.
Fix: Use strict greater-than comparisons so exact-limit chunks are included. Extend the existing chunk-limit test to cover exact fits and one-unit overages for both weight and sigops. Clarify how mining software reserves weight and sigops for the completed block.
This addresses the first issue in #35596.