I’ve just a few 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 simply used within the ContextualCheckBlockHeader
operate in src/validation.cpp
file. The position 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 a number of posts, I spotted that the position of checkpointData
has been considerably lowered. 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?
Leave a Reply