Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: btctousd81 on September 11, 2017, 05:12:07 PM



Title: How can i force empty my local bitcoin mempool ?
Post by: btctousd81 on September 11, 2017, 05:12:07 PM
i am using latest bitcoin from github.

i want to clean my mempool .

how can i do this ?

i dont mind restarting bitcoind to clean the mempool.

does deleting mempool.dat again, creates mempool.dat ? or it will screw up my setup ?

so that when i start bitcoind, then it will start to fill up again.



thanks


Title: Re: How can i force empty my local bitcoin mempool ?
Post by: aleksej996 on September 11, 2017, 08:55:24 PM
To my knowledge, when you stop bitcoind, the mempool will be deleted.
And you will start bitcoind with an empty mempool. However, if this doesn't do it, I believe that deleting the file would be absolutely fine and will not mess up your setup. It should create a new one and everything should be fine.


Title: Re: How can i force empty my local bitcoin mempool ?
Post by: achow101 on September 11, 2017, 11:03:09 PM
Stop Bitcoind. Delete the mempool.dat file. Restart bitcoind.


Title: Re: How can i force empty my local bitcoin mempool ?
Post by: btctousd81 on September 12, 2017, 01:04:34 AM
Stop Bitcoind. Delete the mempool.dat file. Restart bitcoind.

okie., did that, looks like it gets created again. so it is used to store mempool entries at the time of stopping bitcoind.

thanks