<p>Yes, it does.</p>

<p>Pruning only affects the blockchain/validation logic. The wallet always maintains a copy of all transactions relevant to it (including e.g. unconfirmed transactions that the validation logic does not know about).</p>

CC BY-SA 4.0
2019-03-04T16:56:51.357Z
2019-03-04T16:56:51.357Z
Pieter Wuille
<p>Does pruning node keep old wallet's transactions? For example I need to use the <code>gettransaction</code> API to retrieve a wallet's transaction in a deleted block, should I use the pruning mode? I cannot find any document about it, 
Thanks.   </p>

<bitcoin-core><json-rpc>
Does pruning node keep old wallet's transactions?
Luong Nguyen
# Does pruning node keep old wallet's transactions?

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

Does pruning node keep old wallet's transactions? For example I need to use the `gettransaction` API to retrieve a wallet's transaction in a deleted block, should I use the pruning mode? I cannot find any document about it,
Thanks.

**Tags:** bitcoin-core, json-rpc


---

## 1 answers

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

Yes, it does.

Pruning only affects the blockchain/validation logic. The wallet always maintains a copy of all transactions relevant to it (including e.g. unconfirmed transactions that the validation logic does not know about).


---

