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 :)
maxmempool=N
, where N is the maximum size of your mempool in megabytes?