Commit Graph

9 Commits

Author SHA1 Message Date
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
Krystie 4309fadf21 Revert "Add UPX compression - 80% binary size reduction"
This reverts commit 9bc2f7be11.
2026-04-01 11:50:44 -07:00
Krystie 9bc2f7be11 Add UPX compression - 80% binary size reduction
Binary size: 5.1MB → 1.6MB (stripped + UPX --best --lzma)

Changes:
- Updated binary with UPX compression
- Added UPX to GitHub Actions build workflow
- Documented UPX compression in README and BUILD.md
- No functionality loss, no performance penalty
- Decompresses automatically on execution

Benefits:
- Faster downloads
- Less storage/bandwidth usage
- Same performance (decompresses to RAM)
- Fully reversible (upx -d)
2026-04-01 04:14:09 -07:00
Krystie 6205018dd1 Fix GitHub Actions workflow integration
- Connect build-arm64 to upstream watcher
- Use repository_dispatch trigger from watch-upstream
- Remove duplicate version checking
- Simplified workflow triggers

Now works as:
1. watch-upstream.yml checks every 6 hours for new releases
2. Triggers build-arm64.yml via repository_dispatch
3. Build creates release automatically
2026-04-01 04:10:26 -07:00
Krystie ef984d86db Add GitHub Actions auto-build pipeline
- Automatic ARM64 builds when new triangles_v5 releases detected
- Scheduled checks every 6 hours
- Manual dispatch for on-demand builds
- Creates GitHub releases with binaries
- Updates VERSION tracking

Build process:
- Uses Docker ARM64 (QEMU) for native builds
- Builds BerkeleyDB 4.8 from source
- Compiles trianglesd with full Tor integration
- Generates release packages with checksums
- Auto-commits and creates releases
2026-04-01 04:09:37 -07:00
Krystie 3218ed9200 Add automated ARM64 builds via GitHub Actions
- Auto-builds on new triangles_v5 releases
- Manual trigger with version input
- Creates GitHub releases with pre-built binaries
- Uses ARM64 Docker container for native builds
- Includes BerkeleyDB 4.8 compilation
- Generates release notes automatically
2026-04-01 04:03:31 -07:00
Krystie bd8183d642 TRI-PI v5.4.4 ARM64 release - Complete package with Tor integration
- Native ARM64 trianglesd binary (built from source on Ubuntu 24.04 ARM)
- Full Tor integration with embedded management
- Updated onion seed nodes (7 total)
- One-command installer script
- Comprehensive build documentation
- README with usage guide and troubleshooting

Built on: Hetzner Cloud CAX11 (ARM64)
Tested with: Raspberry Pi 4/5 64-bit compatible
Package size: 2.3MB compressed
Binary size: 85MB (40MB stripped)
2026-04-01 03:55:00 -07:00
sami7777 5c3f4c17fc Initial commit 2026-03-28 10:03:29 +00:00