<p>I want to use Bitcoin RPC API 'getrawmempool' to save the snapshot of the mempool immediately before my full node receives a block. This requires modification of the Bitcoin source code. How should I modify it? Who can help me very kindly?</p>

<bitcoin-core><bitcoin-core-development><mempool>
How to save the mempool information immediately before the node receives a block?
GoneV
# How to save the mempool information immediately before the node receives a block?

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

I want to use Bitcoin RPC API 'getrawmempool' to save the snapshot of the mempool immediately before my full node receives a block. This requires modification of the Bitcoin source code. How should I modify it? Who can help me very kindly?

**Tags:** bitcoin-core, bitcoin-core-development, mempool


---

## 0 answers

