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

SEC-36 Block header nonce overflow #599

Closed
Gustav-Simonsson opened this issue Mar 30, 2015 · 0 comments
Closed

SEC-36 Block header nonce overflow #599

Gustav-Simonsson opened this issue Mar 30, 2015 · 0 comments

Comments

@Gustav-Simonsson
Copy link

The block header nonce field is a byte slice then converted into a uint64 when used in ethash.

If the block hash is taken over the entire byte slice which could be longer than 8 bytes, then a different block hash can be generated but the PoW nonce would appear the same in ethash verification.

This makes it possible for a malicious miner to reuse a nonce in an uncle header.

Fixed in f486c0a

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

No branches or pull requests

2 participants