]> Git Repo - VerusCoin.git/commit
Reduce checkpoints' effect on consensus.
authorPieter Wuille <[email protected]>
Thu, 19 Mar 2015 12:34:06 +0000 (05:34 -0700)
committerJack Grigg <[email protected]>
Fri, 3 Mar 2017 18:57:07 +0000 (10:57 -0800)
commitbfa832c7ed528701859903aba99b90eebec41bdc
treed57420fbb73e39a4efdcf4aa8f29c90fb3109271
parentdb954a65ac01df85e8f53bf2f2b72b2644443a4a
Reduce checkpoints' effect on consensus.

Instead of only checking height to decide whether to disable script checks,
actually check whether a block is an ancestor of a checkpoint, up to which
headers have been validated. This means that we don't have to prevent
accepting a side branch anymore - it will be safe, just less fast to
do.

We still need to prevent being fed a multitude of low-difficulty headers
filling up our memory. The mechanism for that is unchanged for now: once
a checkpoint is reached with headers, no headers chain branching off before
that point are allowed anymore.
src/chain.cpp
src/checkpoints.cpp
src/checkpoints.h
src/init.cpp
src/main.cpp
src/test/Checkpoints_tests.cpp
This page took 0.026851 seconds and 4 git commands to generate.