Issue Details

Number
20384
Title
Avoid pruning blocks with transactions in wallets (even after wallets sync)
Description
Good idea from @Bosch-0: https://github.com/bitcoin-core/gui/pull/125#issuecomment-723806881 By not pruning blocks that contain wallet transactions, old backups can be restored despite pruning. Logical dependencies: * My current prune-locks PR only works with heights, whereas this should probably be based on block hash. * Some way to sort out if this was done, when restoring a backup, so we know it's safe to assume missing blocks are ignorable.
URL
https://github.com/bitcoin/bitcoin/issue/20384
Closed by
Back to List