Skip to content

Tags

Tags

Verified

This tag was signed with the committer’s verified signature.

v0.2.1

Toggle v0.2.1's commit message
Fix CI: rustfmt, clippy lints, raise MSRV to 1.91

- Run rustfmt over the tree and fix all clippy lints (collapsible_if via
  let-chains, sort_by_key, div_ceil, split_once, FromStr for Config,
  Default for StreamingHasher, misc)
- Raise MSRV to 1.91: the AWS SDK crates in Cargo.lock require
  rustc 1.91, so the declared 1.85 was no longer buildable (this is why
  CI was red on dependabot PRs too). Updated rust-version, the CI test
  matrix, and the README.
- v0.2.1: no functional changes over v0.2.0

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

v0.2.0

Toggle v0.2.0's commit message
Harden fetch policy and deepen module seams

Fetch policy — no wasted or wrong full-snapshot downloads:
- Full downloads are gated twice: planned only on bootstrap or when the
  local bootstrap is min_slots_behind behind the best peer, and each full
  plan must individually improve the bootstrap by min_slots_behind (no
  marginal-gain fallback fulls)
- Sufficient incrementals (reaching within min_slots_behind of the tip)
  are tried before any full, as a class; when far behind, full chains
  outrank stale incrementals on the old full
- Verified fulls are kept in staging on staleness rejection and reused by
  checksum instead of re-downloaded
- Incremental retry no longer fetches snapshots at or below the local
  bootstrap
- Bootstrap bypasses the gate (young clusters could previously never
  bootstrap when tip < min_slots_behind)
- Staging dir (.cm-tmp) swept at startup: stale entries, junk, and orphan
  control files removed; fresh resumable partials kept
- New: cm fetch --force, cm_downloads{reason} metric, per-cycle fetch
  reason logging (bootstrap | behind | topup)

Architecture:
- snapshot.rs owns the snapshot file grammar (filename parsing, .sha256
  sidecars, partial markers, completion checks) — duplicates removed from
  download, index, and server
- SnapshotIndex deepened into the snapshot store: admit/retain/staging;
  downloads no longer rescan to see their own writes
- Pure fetch policy extracted to download/policy.rs (fully unit-tested
  without disk or network)
- Download backends (builtin, aria2c) return a uniform DownloadResult
- dc_affinity moved to [peers] (deprecated [download] key still honored)
- CONTEXT.md domain glossary added

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

v0.1.0

Toggle v0.1.0's commit message
Initial commit

Decentralized Solana snapshot cluster manager with HTTP API, peer discovery
(static + Tailscale), parallel downloads (builtin + aria2c), S3 uploads,
Prometheus metrics, and auto-fetch loop.

Includes README, example config, CI/CD workflows, Dockerfile, and systemd
service file.

Made-with: Cursor