IBD check uses minimumchain work instead of checkpoints.
This introduces a 'minimum chain work' chainparam which is intended to be the known amount of work in the chain for the network at the time of software release. If you don't have this much work, you're not yet caught up. This is used instead of the count of blocks test from checkpoints. This criteria is trivial to keep updated as there is no element of subjectivity, trust, or position dependence to it. It is also a more reliable metric of sync status than a block count.
This commit is contained in:
committed by
Jack Grigg
parent
02eedeeb69
commit
e41632c9fb
@@ -24,6 +24,8 @@ Check that there are no surprising performance regressions:
|
||||
|
||||
Ensure that new performance metrics appear on that site.
|
||||
|
||||
Update `src/chainparams.cpp` nMinimumChainWork with information from the getblockchaininfo rpc.
|
||||
|
||||
### Protocol Safety Checks:
|
||||
|
||||
If this release changes the behavior of the protocol or fixes a serious
|
||||
|
||||
Reference in New Issue
Block a user