<p><code>mempool.dat</code> stores the obvious, but it it only written there when the node is shut down</p>
<p><code>chainstate/</code> stores the entire UTXO, all the time</p>

CC BY-SA 4.0
2021-02-05T19:59:46.490Z
"all the time" = "every time the chainstate cache is flushed", which may be only once per day in current Bitcoin Core version (depending on -dbcache setting).
Pieter Wuille
CC BY-SA 4.0
2021-02-05T14:26:40.043Z
2021-02-05T18:54:02.230Z
2021-02-05T18:54:02.230Z
Claris
<p>Where in <code>~/.bitcoin</code> are the two pools in question stored when their size grows above <a href="https://bitcoin.stackexchange.com/questions/60608/how-much-memoryram-is-used-by-the-mem-pool-and-utxo-pool">the size set</a> by <code>dbcache</code> and <code>maxmempool</code> in <code>bitcoin.conf</code>.
Is UTXO pool written to such location at Bitcoin Core's shutdown?</p>

<bitcoin-core><mempool><utxo-set>
Where in ~/.bitcoin are mempool and UTXO pools written?
John Smith
# Where in ~/.bitcoin are mempool and UTXO pools written?

(Asked by: username_0 on 2021-02-05)

Where in `~/.bitcoin` are the two pools in question stored when their size grows above [the size set](https://bitcoin.stackexchange.com/questions/60608/how-much-memoryram-is-used-by-the-mem-pool-and-utxo-pool) by `dbcache` and `maxmempool` in `bitcoin.conf`.
Is UTXO pool written to such location at Bitcoin Core's shutdown?

**Tags:** bitcoin-core, mempool, utxo-set


---

## 1 answers

### Answer by username_1 on 2021-02-05. Score: 3 | Accepted answer

`mempool.dat` stores the obvious, but it it only written there when the node is shut down

`chainstate/` stores the entire UTXO, all the time

> **Comments:**
> **username_2**: "all the time" = "every time the chainstate cache is flushed", which may be only once per day in current Bitcoin Core version (depending on -dbcache setting).  

---

