Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Update the wallet best block marker when pruning #7502
Updated the logic to just always update the wallet best block when the chainstate is flushed. Both are relatively slow operations, so this shouldn't have a strong effect on performance.
There are further problems with the flushing logic, which will require a more invasive change, but those problems can only trigger when a crash during flushing happens.