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

Is mining based on the lossy encoding of target? #26

Open
monsterbitar opened this issue Jul 6, 2021 · 0 comments
Open

Is mining based on the lossy encoding of target? #26

monsterbitar opened this issue Jul 6, 2021 · 0 comments

Comments

@monsterbitar
Copy link

In https://documentation.cash/protocol/blockchain/block/block-header#compressed-target-format it says that the target is a lossy encoding of the real calculated target when stored in the header.

Based on discussion elsewhere, it seems that mining is validated against this lossy number, rather than the accurate one.

That totally went against my intuition, so I think it would be great if this was more clearly documented.

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

1 participant