<p>No. The privacy benefit is not because there is a local copy of the full blockchain but rather because full nodes receive and verify all blocks and transactions. This allows full nodes to determine what transactions belong to any wallets it is managing without having to ask anyone else for those transactions specifically. They receive everything, and so can filter what is needed from there. Whether that data is stored does not matter. The relevant transactions are stored in their respective wallets.</p>
<p>Pruning just affects how blocks are stored on disk. It is a node operation detail and not related to the wallet. Nodes with pruning enabled still receive and verify all blocks and transactions, and so any wallets being managed by the node will learn of their transactions. Blocks are still written to the disk - they just end up getting deleted eventually rather than staying permanently.</p>

CC BY-SA 4.0
2022-02-18T20:32:56.060Z
Thanks for helping out… what if someone has access to data on node… can person determine which addresses are monitored by wallet such as Electrum? My understanding is that if node is not pruned, this is not possible.
sunknudsen
CC BY-SA 4.0
2022-02-18T20:52:21.100Z
@sunknudsen You seem to be under the impression that pruning only removes things unrelated to the wallet. That is not correct. It removes all old blocks, regardless of whether they are relevant to the wallet or not. The wallet keeps its own copy of transactions that are relevant to it, unrelated to whether pruning is enabled or not.
Pieter Wuille
CC BY-SA 4.0
2022-02-18T21:13:18.247Z
@PieterWuille Naive question… if node is pruned, one cannot sync an Electrum wallet that relates to pruned blocks right? What happens if one tries to?
sunknudsen
CC BY-SA 4.0
2022-02-18T21:15:12.863Z
Electrum nodes need an Electrum server, not a node. It's up to that server what it indexes or not, and unrelated to whether the node(s) it fetches its data from prune or not,
Pieter Wuille
CC BY-SA 4.0
2022-02-18T21:19:02.930Z
@PieterWuille Asking in the context of one running Bitcoin Core and electrs on same machine. Guess answer is one simply cannot enable pruning as implied [here](https://github.com/romanz/electrs/issues/368).
sunknudsen
CC BY-SA 4.0
2022-02-18T21:27:51.040Z
I see; I'm not familiar with the internals of any of the Electrum servers, but certainly they can require non-pruned nodes in order to function. Still, the point holds: pruning is entirely independent of state of the wallet of the Bitcoin Core node.
Pieter Wuille
CC BY-SA 4.0
2022-02-18T20:21:00.627Z
2022-02-18T20:21:00.627Z
Ava Chow
<p>I am writing a hardened Bitcoin node guide and I don’t fully understand the implications of pruning.</p>
<p>My understanding is that when one has a full copy of the blockchain, the node itself doesn’t reveal much about one’s UTXOs given everyone’s transactions are stored on the node (I believe same applies when using electrs).</p>
<p>Does pruning change something from a privacy perspective?</p>

CC BY-SA 4.0
2022-02-18T19:34:32.473Z
Actually, electrs [doesn’t support](https://github.com/romanz/electrs/issues/368) pruning, but still curious about privacy implications of pruning.
sunknudsen
<privacy><pruning>
Does pruning reveal anything private such as one’s UTXOs?
sunknudsen
# Does pruning reveal anything private such as one’s UTXOs?

(Asked by: username_0 on 2022-02-18)

I am writing a hardened Bitcoin node guide and I don’t fully understand the implications of pruning.

My understanding is that when one has a full copy of the blockchain, the node itself doesn’t reveal much about one’s UTXOs given everyone’s transactions are stored on the node (I believe same applies when using electrs).

Does pruning change something from a privacy perspective?

**Tags:** privacy, pruning

> **Comments:**
> **username_0**: Actually, electrs [doesn’t support](https://github.com/romanz/electrs/issues/368) pruning, but still curious about privacy implications of pruning.  

---

## 1 answers

### Answer by username_1 on 2022-02-18. Score: 3

No. The privacy benefit is not because there is a local copy of the full blockchain but rather because full nodes receive and verify all blocks and transactions. This allows full nodes to determine what transactions belong to any wallets it is managing without having to ask anyone else for those transactions specifically. They receive everything, and so can filter what is needed from there. Whether that data is stored does not matter. The relevant transactions are stored in their respective wallets.

Pruning just affects how blocks are stored on disk. It is a node operation detail and not related to the wallet. Nodes with pruning enabled still receive and verify all blocks and transactions, and so any wallets being managed by the node will learn of their transactions. Blocks are still written to the disk - they just end up getting deleted eventually rather than staying permanently.

> **Comments:**
> **username_0**: Thanks for helping out… what if someone has access to data on node… can person determine which addresses are monitored by wallet such as Electrum? My understanding is that if node is not pruned, this is not possible.  
> **username_2**: @username_0 You seem to be under the impression that pruning only removes things unrelated to the wallet. That is not correct. It removes all old blocks, regardless of whether they are relevant to the wallet or not. The wallet keeps its own copy of transactions that are relevant to it, unrelated to whether pruning is enabled or not.  
> **username_0**: @username_2 Naive question… if node is pruned, one cannot sync an Electrum wallet that relates to pruned blocks right? What happens if one tries to?  
> **username_2**: Electrum nodes need an Electrum server, not a node. It's up to that server what it indexes or not, and unrelated to whether the node(s) it fetches its data from prune or not,  
> **username_0**: @username_2 Asking in the context of one running Bitcoin Core and electrs on same machine. Guess answer is one simply cannot enable pruning as implied [here](https://github.com/romanz/electrs/issues/368).  
> **username_2**: I see; I'm not familiar with the internals of any of the Electrum servers, but certainly they can require non-pruned nodes in order to function. Still, the point holds: pruning is entirely independent of state of the wallet of the Bitcoin Core node.  

---

