Global mempool is defined here: https://github.com/bitcoin/bitcoin/blob/8237889e8d0fb7542669a9098516c96da91913f0/src/validation.cpp#L130
It should be changed to a shared pointer (and renamed g_mempool) so that it isn't initialized until runtime. That would allow us to remove the code added in bitcoin#6889.
Global mempool is defined here: https://github.com/bitcoin/bitcoin/blob/8237889e8d0fb7542669a9098516c96da91913f0/src/validation.cpp#L130
It should be changed to a shared pointer (and renamed
g_mempool) so that it isn't initialized until runtime. That would allow us to remove the code added in bitcoin#6889.