news/2026_10_18_checkpoint_final.md

a held checkpoint is final on every path, and its veto charges no peer

two fixes landed on soft3 main, both found by the chain simulator's nightly suite. the chain spec (chain.md §5.3) says a node with checkpoints enabled treats a checkpointed block as final: it rejects any chain that lacks it.

soft3 #240 closed two paths that let a contradicting chain through. the tip's fast path extended the tip directly and never looked at the checkpoints: in the reorg-140-checkpoints scenario a late joiner that held the checkpoint at 120 synced a 60 %-hashrate rewrite straight through height 120. check_header now refuses a header at a checkpointed height that differs from the checkpointed block, on whichever path it arrives. the second path was the main chain itself. when a checkpoint arrives after the node is on a chain that contradicts it, the node now retracts below the contradicted height, marks the retracted blocks invalid and moves to the heaviest chain left, within the reorg limit.

soft3 #241 followed from the partition-long scenario. after a 2-hour partition healed, minority nodes that had left their branch charged their neighbours +10 for relaying its next blocks, and one node banned another. blocks invalid only for contradicting a held checkpoint are now vetoed: a header that is or descends from one is refused as ChainError::Checkpoint, logged and never scored.

both pull requests report the same test run, 285 lib tests passed, 1 ignored and 0 failed, and their simulator scenarios green. the same three commits landed on cybernode main.

sources

Graph