I’ve a couple of questions on checkpointData
in src/kernel/chainparams.cpp
file.
This variable appears stopped being up to date from roughly 10 years in the past, judging by the timestamp of the peak of the newest checkpoint block. Additionally, I seen that this variable is just used within the ContextualCheckBlockHeader
perform in src/validation.cpp
file. The function of checkpoints appears fairly apparent.
// Do not settle for any forks from the principle chain previous to final checkpoint.
// GetLastCheckpoint finds the final checkpoint in MapCheckpoints that is in our
// BlockIndex().
By navigating by means of a number of posts, I noticed that the function of checkpointData
has been considerably diminished. Some Bitcoin Core builders even point out that it’s prone to be eliminated at a while.
So my query is… is not it already protected to fully take away the code associated to checkpointData
? The potential of bitcoin being reversed to its 2014-state is nearly near zero. Or, is there an opportunity that some new checkpoint blocks will probably be added sooner or later?