Check pointing
-
Checkpoint at genesis block -
Checkpoint at level 1 -
Check that is the block is compatible with the current checkpoint, it is accepted only if the current head is lower than the checkpoint -
Check that is the block still valid for a given checkpoint -
best know head for checkpoint: return a block with the best fitness amongst the known blocks which are compatible with the given checkpoint -
future checkpoint does not remove anything -
future checkpoint, bad/good block -
reachable checkpoint: if reached the checkpoint, every block before the checkpoint must be the part of the chain -
may_update_checkpoint function in Chain_validation.ml -
may_update_checkpoint function in Node.ml
Edited by lykimquyen