Files
bitcoin/test/functional/feature_pruning.py
Andrew Toth 9b22995140 indexes: set prune lock to genesis before first block
When setting both a new index and prune size and restarting
an unpruned node, the node will prune the block store first
and then the index will fail to start syncing.

Fix this by setting the prune lock to 0 if the index does not
yet have a best block.
2026-09-10 14:10:47 -04:00

24 KiB
Executable File