<p>When a node shuts down cleanly, it does flush the mempool to disk and reloads it upon startup. It will not rebroadcast the transactions.</p>
<p>A node will only relay transactions once, when it first learns about them. Your wallet will cause its own transactions to be rebroadcast. There is currently no mempool-based mechanism that rebroadcasts any foreign transactions after the initial relay.</p>
<p>Especially due to the privacy implications of this behavior (which makes rebroadcasts an obvious tell that the source is the sender), there is on-going work to change node behavior such that it will generally rebroadcast all transactions that should have been included in the previous block: <a href="https://github.com/bitcoin/bitcoin/pull/21061" rel="nofollow noreferrer">[p2p] Introduce node rebroadcast module #21061</a></p>

CC BY-SA 4.0
2021-03-04T01:37:55.840Z
2021-03-04T13:31:23.437Z
2021-03-04T13:31:23.437Z
Murch
<p>Say my node has transactions in its mempool and then gets shut down and restarted.</p>
<ol>
<li><p>Does it save the mempool to disk and reload this mempool when it starts back up, or does its mempool get lost on shutdown?</p>
</li>
<li><p>If the mempool gets saved and loaded on restart, does my node rebroadcast these transactions out to the network once it starts back up?</p>
</li>
</ol>

<bitcoin-core><mempool><broadcast>
Does my node rebroadcast its mempool transactions on startup?
deezy
# Does my node rebroadcast its mempool transactions on startup?

(Asked by: username_0 on 2021-03-04)

Say my node has transactions in its mempool and then gets shut down and restarted.

1. Does it save the mempool to disk and reload this mempool when it starts back up, or does its mempool get lost on shutdown?
2. If the mempool gets saved and loaded on restart, does my node rebroadcast these transactions out to the network once it starts back up?

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


---

## 1 answers

### Answer by username_1 on 2021-03-04. Score: 3 | Accepted answer

When a node shuts down cleanly, it does flush the mempool to disk and reloads it upon startup. It will not rebroadcast the transactions.

A node will only relay transactions once, when it first learns about them. Your wallet will cause its own transactions to be rebroadcast. There is currently no mempool-based mechanism that rebroadcasts any foreign transactions after the initial relay.

Especially due to the privacy implications of this behavior (which makes rebroadcasts an obvious tell that the source is the sender), there is on-going work to change node behavior such that it will generally rebroadcast all transactions that should have been included in the previous block: [[p2p] Introduce node rebroadcast module #21061](https://github.com/bitcoin/bitcoin/pull/21061)


---

