Repository navigation
Releases
v0.7.0
Alpenglow failover
The holder can self-fence on local signals. The spare uses three RPC tiers with a final local veto. By default it alerts the operator for a warm swap. Cold takeover is a separate opt-in for a live, armed spare that meets the readiness margin.
Tested on Alpenglow testnet with Agave and Jito-Solana 4.4.0. Mainnet ran v0.7.0-rc2 for monitoring, holder self-fencing and standby alerts. Live tests and CI
- Also new: the Internet-lost demote no longer fires below the isolation floor (
CONNECTIVITY_RETRIES3 → 6); the wizards never take a stray key for a yes and load an old env only on an explicit yes. What changed - Release tags are SSH-signed from this release on;
install.shchecks what it fetches against the tag’sSHA256SUMS, fail-closed, and checks no signature.
Install
Requires Agave or Jito-Solana 4.4.0+. Fresh installs start in DRY_RUN.
sh -c "$(curl -sSfL https://zim.one/failover/v0.7.0)"The loader checks downloaded files against SHA256SUMS. Verify the SSH-signed tag separately. Verification instructions
install.sh SHA-256
18009987574bd848c2116f44a6fba186468cb10221e51aaa6e4ff880ecf3e90f
curl -sSfL https://raw.githubusercontent.com/zimone91/solana-validator-failover/v0.7.0/install.sh | sha256sum and curl -sSfL https://zim.one/failover/v0.7.0 | tail -n +2 | sha256sum both print it (the route adds one first line to the file). Straight from the tag: FAILOVER_VERSION=v0.7.0 sh -c "$(curl -sSfL https://raw.githubusercontent.com/zimone91/solana-validator-failover/v0.7.0/install.sh)". A hand-downloaded install.sh is run the same way — FAILOVER_VERSION=v0.7.0 sh install.sh — because at a tag the file’s own default is the release before it.
v0.7.0-rc2
v0.7.0-rc2 — release candidate (v0.7 line)
- rc2 F21 — an UNSTAKED primary pages when nobody is voting the staked identity (
STAKED IDENTITY SILENT 🚨). - rc2 F22 — the Internet-lost demote no longer fires below the isolation floor (
CONNECTIVITY_RETRIES3 → 6).
Full notes: CHANGELOG.md (v0.7.0-rc2).
sh -c "$(curl -sSfL https://zim.one/failover/v0.7.0-rc2)"
Or straight from the tag:
FAILOVER_VERSION=v0.7.0-rc2 sh -c "$(curl -sSfL https://raw.githubusercontent.com/zimone91/solana-validator-failover/v0.7.0-rc2/install.sh)"
v0.6.10 — alert delivery fix for bash 5.2 hosts
Fixes silently undelivered Telegram alerts on Ubuntu 24.04 / Debian 12.
bash 5.2 changed the semantics of ${var//pat/repl}: & in the replacement now expands to the matched text (patsub_replacement, on by default). That silently corrupted _html_escape, so on bash 5.2 hosts Telegram alerts — including the critical demote / takeover / self-fence pages — were rejected by Telegram and never delivered; custom WEBHOOK_BODY templates could also be mangled. ntfy.sh push and the default JSON webhook were not affected (built via HTTP headers / jq, not _html_escape).
Failover logic is untouched. The fix is one shopt line at the top of each script restoring the substitution semantics the codebase is written against — a no-op on bash ≤ 5.1.
Who should upgrade: everyone. Inert on older bash. Re-run the installer (sh -c "$(curl -sSfL https://zim.one/failover/v0.6.10)") or apply the guard in place and restart the monitors — no config changes, no identity operations, safe on an armed node.
Found by running the suite under both interpreters; 36/36 green on bash 3.2 and 5.2.
v0.6.9 — first public release
⚠️ Superseded by v0.6.10 — on bash 5.2 hosts (Ubuntu 24.04 / Debian 12) this release's Telegram alerts are silently not delivered. See the safety note in the README for what this tool does and does not guarantee.
Changelog
All notable changes are documented here. Versions follow the project's internal v0.6.x line;
v0.6.9 is the first public release.
v0.6.9 — first public release
Automatic staked-identity failover for Solana validators — the holder steps down before a spare
steps up, and ambiguity resolves toward nobody voting. Hardened across multiple internal audit
rounds and validated with live failover tests on a testnet stack (isolation, egress-only partition,
promoted-standby self-fence, holder restart).
Safety
- Cross-node timing invariant: holder self-fences (~30s) before the spare takes (60s), with an
authoritative vote-liveness fence. Unsafe hand-edited timing refuses to start. - Role-aware timing floors for STANDBY vs BACKUP (a BACKUP must also outwait the STANDBY's takeover
becoming externally visible). - Promoted-STANDBY self-fence with a re-take lockout; wedged-
set-identityescalation to a verified
hard stop; persisted self-fence baseline with evidence-gated restore across monitor restarts. - Egress-only ("votes not landing") self-fence; frozen-slot and dead-RPC self-fence; sliding-window
delinquency detection; identity-collision detector (page-only).
Installer & UX
- Interactive
deploy-failover.sh/deploy-failover-standby.shwith Simple / Advanced modes,
safe-by-default presets, and a DRY_RUN-first flow.
Notifications
- Telegram + ntfy.sh push + external dead-man's-switch watchdog.
Testing
- 36 test suites (parse-clean on bash 3.2+); each safety fix ships with a non-vacuous control.