This concludes backport of core#25472 (bypasses core#24531[[https://github.com/bitcoin/bitcoin/pull/25472 | core#25472]] (bypasses [[https://github.com/bitcoin/bitcoin/pull/24531 | core#24531]])
Note that we already use designated initializers for mempool_opts in our codebase