Does pruning node keep old wallet's transactions?

0

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.

Luong Nguyen

Posted 2019-03-04T16:42:35.457

Reputation: 56

Answers

3

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).

Pieter Wuille

Posted 2019-03-04T16:42:35.457

Reputation: 54 032