Commit Graph

3 Commits

Author SHA1 Message Date
Krystie 64b9d37472 Use existing DNS2 bootstrap server for blockchain download
Bootstrap server: http://194.233.88.206:8085/
Blockchain file: triangles-bootstrap.tar.gz (1.3GB, from March 29)

Pis can now download pre-synced blockchain during installation!
2026-04-01 12:08:45 -07:00
Krystie bb6e53f3f6 Add blockchain bootstrap for fast Pi sync
New features:
- Enhanced bootstrap.sh with blockchain download option
- create-blockchain-snapshot.sh for creating compressed snapshots
- BOOTSTRAP.md documentation

Benefits for Raspberry Pi users:
- Download pre-synced blockchain (~500MB compressed)
- Skip days/weeks of initial sync
- Start mining immediately from latest block
- Interactive installer asks: bootstrap or sync from scratch

Snapshot creation:
- Safely stops daemon
- Excludes wallet.dat (security)
- Compresses to ~70% original size
- Includes checksums and metadata

TODO: Create first snapshot from DNS2 and host on GitHub releases
2026-04-01 12:04:08 -07:00
Krystie 247db74393 Add bootstrap installer with UPX optimization
New lightweight installation method for Raspberry Pi:
- bootstrap.sh: Smart installer downloads UPX-compressed binary (1.6MB)
- Falls back to full package if GitHub release unavailable
- Auto-installs dependencies (tor, curl, upx-ucl)
- Generates secure config with random RPC password
- Enables Tor service automatically

Benefits vs full package:
- 68% smaller download (1.6MB vs 5.1MB)
- Faster setup on slow Pi connections
- Same final result as full install

Main package still uses uncompressed 5.1MB binary.
Bootstrap uses UPX version for initial download only.
2026-04-01 11:54:13 -07:00