Make Mempool data persist after restarts

Is it possible to config mempool to persist data after restarts?

Right now when i restart my RaspBerry Pi / UmbrelOS, my mempool gets wiped and it has to sync all over again (which takes multiple days).

The mempool is dumped to the mempool.dat and can be found in there folder


This is the default since 0.14.0

After a restart the mempool has to be validated which takes some time, but it shouldn’t take several days.

As of right now there are 429.359 transactions on mempool, that’s above 1GB, it takes multiple days (3+) to sync all of that.

How can i change that default behavior? I want the mempool data to persist on restarts.