specborn documentation contents ↓

Restarting a validator safely #

Stopping and starting #

Stop the node with Ctrl-C or any signal; there is no shutdown procedure to wait for. The node's store and the slashing-protection database are written in atomic, crash-safe commits, and an attestation or block is recorded durably before its signature leaves the process (Slashing protection). Start it again with the same command and the same --datadir: it resumes from its store (Data directory), decrypts the keys again, and opens the same slashing-protection database.

After every start, doppelganger protection keeps the node from signing for 2 full epochs (Doppelganger protection). Expect those duties, and any proposal in them, to be missed. Use --doppelganger-opt-out for a restart only when you are certain the keys run nowhere else.

Rules #

  1. One instance per key. Never start a second node, or another client, with the same keys "to be safe". Two specborn processes cannot share one data directory (the store and the database are locked), but two data directories with the same keys protect nothing.
  2. Keep the data directory. Do not delete, replace or restore an old copy of DIR/validator/slashing-protection/: an older copy forgets what was signed since. The devnet scripts' prepare step deletes the data directory, keys and database included (Validator on a devnet).
  3. Moving to another machine or client: stop the old instance for good, export its slashing-protection history, import it into the new data directory, then start the new instance (Slashing protection).
  4. After more than 6 hours offline, every key with a history is refused by the time-jump gate until you restart once with --allow-time-jump, then again without it (Time-jump gate).
  5. Exit code 3 means doppelganger protection saw another instance. Do not restart until you have found it. Configure a service manager not to restart on code 3.

Evidence #

RunResultSourceKind
Fulu devnet, restart on the same data directory (duty piece binary, --doppelganger-opt-out on the restart)resumed from its snapshot in 243 ms and signed on through the same database; 0 slashable pairs across both runs; but one epoch after the restart had only 0.734 timely target votes (cause not analysed)docs/pieces/vduty.md §19.5bTESTED (live)
Fulu proposals, critic's runsrestart kept protectionSTATUS.md 2026-11-18TESTED (live)
Gloas proposals, builder run vproposeg-gloas-r5c29 block records after phase 1, 57 after the restart and phase 2, every phase-1 record kept with its root; at most one record per key and slotdocs/pieces/vproposeg.md R5.3TESTED (live)
Gloas proposals, critic's run; Fulu after the node-loop fixrestart PASSSTATUS.md 2026-11-19, 2026-11-18 (nodehang)TESTED (live)
D-25 campaign, high-blob Fulu devnet, restart step (scripts/devnet/restart.sh)in the first signing epoch after the restart, head votes 58 of 64 and sync 93.8% (below the campaign's 95% bar, so the restart step FAILED; the next epoch passed); some of specborn's next blocks lacked the previous slot's aggregatesdocs/pieces/d25.md (blobs-r1, item 5)TESTED (live)
Database after a crashstill refuses everything slashable with a released messagedocs/pieces/slashprot.md §36, §49PROVED

Not shown: a restart between a Gloas block and its envelope reveal (docs/pieces/vproposeg.md R5.3); a restart after more than 6 hours offline in a live run.