Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
index: race fix, lock cs_main while 'm_synced' is subject to change
This ensures that the index does not miss any 'new block' signals occurring in-between reading the 'next block' and setting 'm_synced'. Because, if this were to happen, the ignored blocks would never be indexed, thus stalling the index forever. Github-Pull: bitcoin#29867 Rebased-From: 65951e0
- Loading branch information