Vortex replay
Replay any Solana mainnet epoch, from genesis
For every epoch since genesis: where to download the snapshot and the blocks, the exact build mainnet ran, the commands, the bank hashes to expect and what a run costs. Every recipe here was run and reproduced mainnet.
How it works
Replaying an epoch rebuilds its banks from public data and checks them against the hashes mainnet agreed on.
1. A starting snapshot
A bank state shortly before the epoch ends: a Solana Foundation archive snapshot (ny5 or fr2), or Jito's snapshot of the epoch's last bank itself.
2. The blocks after it
The Foundation's archived ledger for that stretch, or the same blocks imported from the Foundation's Bigtable into a local ledger.
3. The build mainnet ran
The agave (earlier: solana) release the cluster ran at that boundary, plus small patches that speed replay up or read newer archives. None changes what a bank computes.
4. Bank hashes that match
ledger-tool create-snapshot replays to the epoch's last bank and the next epoch's first. Both hashes matched mainnet's: checked against votes before epoch 1064, block footers after.
Each epoch's recipe is a JSON file with the downloads, the build, shell commands to run in an empty directory, the expected hashes, other usable sources and a cost estimate. The commands fetch each build from the registry and the inputs from their buckets:
curl -s https://replay.vx.tools/v1/epochs/1000.json | jq -r '.commands[]'
# run those in an empty directory, with BILLING_PROJECT set to a GCP project of yoursWhere the data comes from
Four public sources. The buckets are requester pays: you pass your own GCP billing project.
Solana Foundation ledger archive, New York (ny5)
ny5gs://mainnet-beta-ledger-us-ny5
Region: us-west2. Requester pays.
Requester pays: pass your own billing project. Read it from us-west2 to avoid cross-region egress.
Solana Foundation ledger archive, Frankfurt (fr2)
fr2gs://mainnet-beta-ledger-europe-fr2
Region: europe-west3. Requester pays.
Requester pays. Read it from europe-west3. Covers some boundaries ny5 does not.
Jito snapshot archive
jitogs://jito-mainnet
Region: US multi-region. Requester pays.
Snapshots only, no blocks: the first bank of the next epoch needs its blocks from Bigtable.
Solana Foundation Bigtable (blocks)
bigtablebigtable://mainnet-beta
Needs Bigtable read credentials from the Foundation; reads are billed to the instance's owner. Which build can import depends on the release line: see compatibility in this file. Imports by v1.x builds rebuild PoH (mock PoH) and need the epoch's hashes per tick; v2.1+ imports use the entries Bigtable recorded (from epoch 762).
Which sources each release line can use
Each epoch has one proven combination, and the epochs page lists the others that exist. Swapping ny5 and fr2 needs nothing. Snapshots load in every build that can meet them. Blocks from Bigtable need a build that can import them, which depends on the release line:
| Line | Epochs | Snapshots | Blocks from Bigtable |
|---|---|---|---|
| v1.0 | 0-29 | ny5, fr2 | none yet: use a ny5 or fr2 ledger archive |
| v1.1 | 30-59 | ny5, fr2 | none yet: use a ny5 or fr2 ledger archive |
| v1.2 | 60-88, 90 | ny5, fr2 | v1.2.24 only: v1.7.15 `bigtable shreds` + `export-entries`, then v1.2.24 `import-entries` |
| v1.3 | 89, 91-117, 122-123 | ny5, fr2 | none yet: use a ny5 or fr2 ledger archive |
| v1.4 | 118-121, 124-146, 149 | ny5, fr2 | none yet: use a ny5 or fr2 ledger archive |
| v1.5 | 147-148, 150-172 | ny5, fr2 | none yet: use a ny5 or fr2 ledger archive |
| v1.6 | 173-205, 208-229 | ny5, fr2 | none yet: use a ny5 or fr2 ledger archive |
| v1.7 | 206-207, 230-257 | ny5, fr2 | own build |
| v1.8 | 258-284 | ny5, fr2 | import with the v1.7.15 build (same ledger format), replay with this line's build |
| v1.9 | 285-316 | ny5, fr2 | own build |
| v1.10 | 317-357 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v1.13 | 358-393, 395-400, 405-409 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v1.14 | 394, 401-404, 410-506, 508-510 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v1.16 | 507, 511-559 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v1.17 | 560-607 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v1.18 | 608-695 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v2.0 | 696-748, 760-761 | ny5, fr2, Jito (epochs 353-, except 367) | import with the v1.18.26 build (same ledger format), replay with this line's build |
| v2.1 | 749-759, 762-780, 789 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v2.2 | 781-788, 790-839 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v2.3 | 840-867, 869-872 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v3.0 | 868, 873-929 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v3.1 | 930-972 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v4.0 | 973-993 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v4.1 | 994-1015 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v4.2 | 1016-1043 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v4.3 | 1044-1068 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v4.4 | 1069-1096 | ny5, fr2, Jito (epochs 353-, except 367) | own build |
| v4.5 | 1097-1103 | ny5, fr2, Jito (epochs 353-, except 367) | own build (no parallel fetch: fine for the 64 slots after a Jito snapshot, very slow for a whole epoch) |
Builds and patches
One build per release mainnet ran, kept as a git branch and a downloadable binary.
The registry
Branch replay/<release> is the upstream release plus one commit per patch. Its binary is the GitHub release build/<release>; --version prints the upstream commit.
github.com/vortex-tools/replay (opening soon)
What the patches do
Skip work that replay of rooted blocks doesn't need (re-verifying signatures, recounting the capitalization, shrinking storage), compress archives on all cores, accept snapshots written by newer releases, and import blocks from Bigtable into releases that predate that command. Every build was checked by replaying mainnet and comparing bank hashes.
What a replay costs
Machine time plus bucket reads. Where you run decides most of the bill.
How the estimate works
- Machine: n2d-highmem (8 GiB per vCPU), sized to 1.25× the replay's measured peak memory plus 8 GiB.
- Hours: our measured run of that recipe (download, both banks, checks). Runs that shared a host were slower, so this errs high.
- Compute: $0.0368/vCPU-hour, the all-in median of 71 of our billed Spot VMs in us-west2, plus disk at $0.1/GiB-month. On-demand costs several times more.
- Bigtable reads are billed to the instance's owner, not to you.
Reads, per GiB
| In the bucket's region | $0.00 |
| Other GCP region, same continent | $0.02 |
| Other GCP continent | $0.05 |
| Outside GCP | $0.12 |
ny5 is in us-west2 and fr2 in europe-west3. Jito's bucket is US multi-region: $0.02/GiB from any GCP region. A full ledger archive read from the wrong region can cost more than the machine.
| Epoch | Release | Inputs | Machine | Hours | In region | Outside GCP |
|---|---|---|---|---|---|---|
| 10 | v1.0.16 | fr2 snapshot 0 GiB, fr2 ledger 14.8 GiB | 8 vCPU | 0.07 | $0.02 | $1.80 |
| 300 | v1.9.15 | fr2 snapshot 22 GiB, blocks from Bigtable | 32 vCPU | 0.48 | $0.58 | $3.22 |
| 500 | v1.14.23 | jito snapshot 45.3 GiB, blocks from Bigtable | 48 vCPU | 0.19 | $1.25 | $5.78 |
| 800 | v2.2.15 | ny5 snapshot 91.2 GiB, blocks from Bigtable | 32 vCPU | 3.99 | $4.95 | $16 |
| 1000 | v4.1.2 | ny5 snapshot 100.9 GiB, blocks from Bigtable | 32 vCPU | 1.15 | $1.43 | $14 |
| 1103 | v4.5.0-rc.1 | ny5 snapshot 108.8 GiB, ny5 ledger 575.5 GiB | 32 vCPU | 2.7 | $4.02 | $86 |
Running several epochs on one larger machine costs less per epoch: a 20-epoch batch of ours was billed $23.59, about $1.18 an epoch. The epochs page recomputes every estimate for where you run and your own price.
Special cases
Where the archive was broken, the node's version.txt was wrong, or the cluster changed releases mid-epoch. Each was worked out and proven.
ny5 dirs without bounds.txt or with the pre-roots bounds format; no ny5 ledger for epoch 3's boundary. Workaround: fr2 copies of the ledger.
ny5 dirs without bounds.txt or with the pre-roots bounds format; no ny5 ledger for epoch 3's boundary. Workaround: fr2 copies of the ledger.
ny5 dirs without bounds.txt or with the pre-roots bounds format; no ny5 ledger for epoch 3's boundary. Workaround: fr2 copies of the ledger.
version.txt (fr2 12959820) says v1.1.14. v1.1.14/15 switch to the nonce shred layout after slot 5,000,000 (9adf8b4fc8, 2020-05-25, "Reduce UNLOCK_NONCE_SLOT to ensure it is active on all three clusters"); mainnet switched after 13,115,515 (v1.0.23-24, v1.1.16). So v1.1.14 failed "failed to load entries" at the first block after the snapshot on both fr2 (12959821) and ny5 (12956677): not a ledger defect. 28 matched v1.0.23. plan-era.py now picks v1.0.23 for v1.1.14/15 boundaries in 5,000,001-13,115,515. Proven 2026-11-14 (early-29, fr2 inputs, vote check matched).
Two releases, the way the cluster ran it. From the main snapshot 28943975 (as epoch 66) with blocks from Bigtable (v1.7.15 export, v1.2.24 import-entries): v1.2.26 to a snapshot at 29327550, then v1.2.24 from that snapshot to the boundary. In v1.2.20-25 a snapshot load left cross-program support (and the sol_create_program_address syscall) off until the next epoch; v1.2.26's hotfix a0190b4105 forces it on. Votes show most stake restarted inside epoch 67 on v1.2.24/25: at 29327576 87% of stake failed a Serum init with 0x0b9f0002 (unresolved sol_create_program_address) that CPI-on code runs; 29188719-29327575 matches CPI-on (77-97% of stake). v1.2.24 from the 29327550 snapshot reproduces CPI off to the boundary and on again at epoch 68. Proven 2026-11-14: step 1 bank 29327550 DFqojAb6 (97% of stake), step 2 (fix-67b) vote check matched through the boundary, last bank 29375999 EyRFw6ey, first bank 29376000 7oRpdW4o.
dead block 52271993 (and its child 52272004) at the boundary in the ledger; the chain goes 52271992 -> 52272000. fr2's roots skip it, but --allow-unrooted picked banks from every full block and, with roots covering the first bank, skipped the fork check, so it chose 52271993 (fixed in boundary.sh: roots decide when they cover the boundary). Workaround: fr2 hourly snapshot 52271670 and fr2 ledger, image v64.
version.txt says v1.5.7, tagged 2021-02-12, after the boundary (~2021-02-10); mainnet ran v1.4.2x. v1.5.7 matched the last bank but not epoch 150's first (inflation-feature activation). v1.4.26 matched both (2026-11-06 calibration, 2026-11-13 backfill).
version.txt (fr2 96335949) says v1.6.25; it stopped at 96335950 on InvalidWritableAccount, a rejection of writable executable accounts added in v1.6.23 (3eee222667, 2021-09-09) that the cluster had not adopted at this boundary. 218-221 matched on v1.6.22. Proven 2026-11-14 (early-eu3, vote check matched).
roots stop at 117935982, 17 slots before the boundary 117935999; data runs 41 slots past it. Workaround: gap ledger.
roots stop at 123983960, 39 slots before the boundary; 5 forks cross it (tips 123984000-003, 004, 008, 012, 016) and no fork outlives the others by 32 slots. Workaround: ledger from Bigtable (confirmed blocks only) with fr2's hourly snapshot 123977965.
no rooted slot within 64 slots up to the boundary 124415999 (a hole in the ledger). Workaround: fr2 copy (124415045).
past the last root 147743925, 8 blocks after the boundary build on blocks at or before it. Workaround: ledger from Bigtable (gap-in/341).
jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.
jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.
jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.
jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.
jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.
jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.
jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.
jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.
empty version.txt: planner took the newest v2.0 tag (v2.0.25). Boundary 2025-03-16..18; mainnet ran v2.1. v2.0.25 matched the Jito last bank but not the first bank; v2.1.15 (2025-02-26) matched both.
as 757 (boundary 2025-03-18..20).
as 757 (boundary 2025-03-20..22).
empty version.txt (ny5 329600263, 330002779): planner took the newest v2.0 tag (v2.0.25), as for 757-759; no Jito snapshots for these two, so they replay from ny5, each with a Bigtable gap import (ny5's ledgers have no replayable blocks from their snapshots to the boundary). Proven 2026-11-15: 762 (fix-762-763) and 763 (fix-763), vote check matched.
empty version.txt (ny5 329600263, 330002779): planner took the newest v2.0 tag (v2.0.25), as for 757-759; no Jito snapshots for these two, so they replay from ny5, each with a Bigtable gap import (ny5's ledgers have no replayable blocks from their snapshots to the boundary). Proven 2026-11-15: 762 (fix-762-763) and 763 (fix-763), vote check matched.
ledger roots start at 331343928, after the dir's own snapshot slot 331306213. Workaround: ny5's snapshot 331306213 with a ledger from Bigtable (gap-in/766).
roots end at 337378132 but data runs to 337392034: 13,881 slots past the last root, the boundary 337391999 among them. Two forks cross it: 337392000-337392033 and 337392004; the ledger ends 29 slots past the rival. The next dir (337389901, fully rooted) starts at 337389701, after the only hourly snapshot (337373365). Workaround: --fork-margin 29: Bigtable's confirmed blocks follow 337392000 and skip 337392004.
blocks 376241416, 376241417 and 376241431 read back as "Object is corrupt" (blocks/00000000166cfd08 ...), 14 attempts each, so the gap-fill import 376238898-376272063 failed (2026-11-12). Workaround: ny5 375836798 holds those slots rooted: its hourly snapshot 376188494 and its own ledger, no Bigtable.
For agents and scripts
Everything on this site is also plain JSON and text.
- /llms.txt: the whole guide in one file, with one row per epoch.
- /v1/epochs.json: one row per epoch.
/v1/epochs/{epoch}.json: the full recipe (commands, expected hashes, alternatives, estimate)./v1/builds/{commit}.json: one build's release, patches, toolchain and epochs.- /v1/sources.json: sources, the compatibility table and the cost constants.