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

RandomX #675

Merged
merged 11 commits into from
Jun 27, 2019
Merged

RandomX #675

merged 11 commits into from
Jun 27, 2019

Conversation

jagerman
Copy link
Member

This implements a switch to RandomX (custom Loki variant) hashing at the v12 fork.

moneromooo-monero and others added 7 commits June 1, 2019 21:40
Alternative blocks are cleared on startup unless --keep-alt-blocks
is passed on the command line
Support RandomX PoW algorithm
This patch isn't needed if we always restrict block-sync-size to <= SEEDHASH_EPOCH_LAG.
But otherwise, this will allow syncing with larger block-sync-sizes.
This update yields different hashes from previous versions, so any
testnet blockchains using previous code will be invalidated.
@jagerman
Copy link
Member Author

jagerman commented Jun 27, 2019

Not quite ready to merge -- need to add an appropriate difficulty override for mainnet for a few blocks after the fork height.

Submitted that in a separate PR (#677).

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

Successfully merging this pull request may close these issues.

None yet

5 participants