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

P2pool block validation #262

Open
SWvheerden opened this issue Feb 26, 2025 · 0 comments
Open

P2pool block validation #262

SWvheerden opened this issue Feb 26, 2025 · 0 comments

Comments

@SWvheerden
Copy link
Contributor

We need to add validation to p2pool blocks to ensure all members of the chain are mining honorably.
Always check the following:

  • Block has correct target difficulty
  • Block has correct coinbase's-shares

Only check when propagating:

  • Block contains tari block height that has +- 1 our own block height.
  • Block timestamp is not in front of now + 540 sec
  • Block timestamp > median timestamp of past 11 blocks
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