Closed jcnelson closed 1 month ago
Don't let the line count scare you. The fix is very small; over 90% of the new lines are tests.
I think this is okay, but i have never seen tests::nakamoto_integrations::continue_tenure_extend fail before so wonder if its an issue with this branch...EDIT: I ran it locally in develop and your branch and both pass so I guess this is just a new flakey test. XD
Confirmed that running this on my Nakamoto Testnet node has fixed the issue of not being able to catch all the way back up to the tip
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Fixes #5249. The bug was that we were not invalidating cached negatives (i.e. marking the absence of a tenure) when the Nakamoto tip advanced. As a result, tenures that did not yet exist as of the Nakamoto tip when the cache was initially populated, but later came into existence, would never be reported in the inventory vector.
Leaving this as a draft until I can add some more test coverage.