Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlockchainDB: shorter fixup() #9289

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeffro256
Copy link
Contributor

Instead of hard-coding all missing key images into the code and inserting if missing, we simply pop all blocks after height 202611, forcing the node to re-sync. This PR makes the monerod binary about 0.3% smaller and only screws over people who are synced to height at least 202612 but haven't run a new binary in over 8 years with the DB fixup commit a98e976.

Instead of hard-coding all missing key images into the code and inserting if missing,
we simply pop all blocks after height 202611. This makes the `monerod` binary about
0.35% smaller.
Copy link

@iamamyth iamamyth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this net improves the clarity of the code (the original commit referenced in the PR noted the change was a temporary measure, surely it's well past its expiration by this juncture).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants