Digest sync and Railgun history¶
A first sync needs years of Ethereum pool history. Anon packages public Railgun events into compressed files called digest chunks. Veylor reads those files during a large catch-up on Ethereum mainnet. Settings → Sync history from Anon’s archive is on by default where available. Switching it off makes Veylor get historical data from Railgun’s indexer. Veylor’s archive setting
What a download reveals¶
For example, digest.anon.inc/v4/1/chunks/42/commitments.json.gz identifies Ethereum mainnet, chunk 42 and the type of record. Any wallet requesting that file gets the same pool records. The archive sees which files were requested, when, and the IP address that connected. Only your device learns which notes it could decrypt. A long run of downloads can reveal roughly how far the wallet had to catch up. Anon’s digest format
Which source supplies each record?¶
| Record | Why the wallet needs it | Where Veylor reads it |
|---|---|---|
| Note commitments | A commitment is the public fingerprint of a note. The accompanying encrypted data lets your wallet recognize payments. | Anon’s archive for older mainnet history, then Railgun’s rail-squid indexer and recent Ethereum events. |
| Nullifiers and unshield events | A nullifier is the public marker left when a note is spent. An unshield records a withdrawal from the pool. The wallet uses these to account for spends and withdrawals. | Veylor reads these lists from rail-squid even during an archive sync. Its Ethereum RPC supplies the newest events. |
| Railgun transaction IDs | The wallet needs an ordered record of private transactions to build screening proofs after sending. | Anon’s archive can supply the older part of this list. Rail-squid supplies the rest. The screening node validates the transaction tree’s roots. |
On mainnet, a wallet within 28,800 blocks of the latest block (roughly four days) skips the archive for that catch-up. Sepolia uses Veylor’s testnet proxy for rail-squid. Changing your Ethereum RPC affects chain reads independently of these history sources. Veylor’s history sources · Transaction list · Sepolia indexer
What happens if a file is wrong or unavailable?¶
Veylor checks each event file against its published SHA-256 checksum and checks that new commitments follow the positions already stored. It builds the note trees locally and checks their roots, the hashes summarizing those trees, against the Railgun contract. A checksum detects a damaged download. The contract check ties the resulting note tree to Ethereum. The wallet still relies on the history source for the block assigned to each note and the list of spent notes. Archive reader · Veylor’s verification and trust assumptions
If the archive remains unreachable after retries or a chunk fails validation, the wallet continues through rail-squid from the history it kept. If the indexer also fails, the wallet can read recent note events through its RPC. For a gap exceeding 100,000 blocks it reports a sync failure. Reopening or refreshing lets it try again. Veylor’s RPC fallback