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
Why don't we have more checkpoints? #21886
Comments
See this answer on bitcoin stackexchange. I think they are not so useful and if we need to use them, it means the system is already broken. |
It is not uncommon for people to add additional checkpoints to their nodes. For example, Bitcoin Knots, which is patched version of Bitcoin Core by @luke-jr, adds additional checkpoints. |
Could make sense to mention briefly in the code what https://bitcoin.stackexchange.com/a/70824/3576 says? |
I think so, @MarcoFalke. |
@brunoerg Shall I remove the checkpoints (and the validation code) to avoid the confusion? |
@abhiShandy No, they're still needed to prevent low-difficulty header spam. It's not a particularly strong attack, but without checkpoints it's trivial. The current checkpoints suffice to make it sufficiently expensive. |
Closing since the questions seems to be answered sufficiently. Checkpoints are currently required, but see #25725 for a glimpse into the future. |
Is your feature request related to a problem? Please describe.
src/chainparams.cpp:146
has few checkpoints for the mainnet using a table of block and blockhash. Why does it end at block 295000?Describe the solution you'd like
Either add a comment with an explanation for given number checkpoints or add checkpoints at an agreed block interval.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: