0
I want to cleanup mempool. I googled and knew -zapwallettxes might clean up mempool.
But when I do the following command, mempool is still loaded.
./bitcoind -testnet=3 -server -rest -dbcache=4000 -txindex=1 -rpcbind=0.0.0.0 -rpcallowip=0.0.0.0/0 -printtoconsole -zapwallettxs=2 -rescan
In this situation, even if I restart bitcoind, mempool is dumped to .bitcoin/testnet3/mempool.dat and loaded on startup.
how should I clean up mempool?
Any comments and advices are welcomed :)
Have you tried using the option
maxmempool=N, where N is the maximum size of your mempool in megabytes? – Pedro – 2018-09-07T09:35:41.1602Why are you doing this? What do you hope to accomplish by "cleaning up" the mempool? – Nate Eldredge – 2018-09-07T14:24:00.870