Commit Graph

21 Commits

Author SHA1 Message Date
Krystie 799443b248 Move bootstrap server to DNS3 (74.208.167.19:80)
Watch Upstream triangles_v5 / Check for New Releases (push) Has been cancelled
2026-04-02 19:16:28 -07:00
TRI-PI Builder e92ac468a6 Auto-build: TRI-PI v5.5.1 ARM64 release - Native ARM64 binary, GitHub Actions QEMU 2026-04-02 22:07:34 +00:00
Krystie 6d08c83f04 Update VERSION to v5.5.1
Watch Upstream triangles_v5 / Check for New Releases (push) Has been cancelled
2026-04-02 14:17:30 -07:00
Krystie 523f6794d5 Overhaul TRI-PI packaging based on Hetzner deployment
Fixes from real-world v5.5.0 ARM64 deployment:
- Use correct TRI ports (24112 P2P, 19199 RPC) not Bitcoin defaults
- Remove daemon=1 from config (breaks systemd)
- Include systemd service with -datadir=/root/.triangles
- bootstrap.sh auto-detects latest GitHub release
- Document manual scp when bootstrap server unreachable
- Add port table, alias tip, Tor self-management notes
2026-04-02 13:23:40 -07:00
TRI-PI Builder 1dce5dd2db Auto-build: TRI-PI v5.5.0 ARM64 release - Native ARM64 binary, GitHub Actions QEMU 2026-04-02 09:26:10 +00:00
Krystie 95a6faa538 Fix CI: add contents:write permission for push and release
Watch Upstream triangles_v5 / Check for New Releases (push) Has been cancelled
2026-04-02 01:46:23 -07:00
Krystie 83258c713e Fix CI: pass VERSION via env var, remove nonexistent scripts/ from tar 2026-04-02 00:57:25 -07:00
Krystie 3ff48d589f Fix YAML syntax: multiline commit message 2026-04-01 23:37:11 -07:00
Krystie 5af66b8cf4 Fix CI: Use GitHub Actions QEMU for ARM64, not self-hosted runner
- Reverted to docker/setup-qemu-action for ARM64 emulation
- Always fetches latest triangles_v5 version automatically
- No hardcoded versions in workflow
- Runs on ubuntu-latest (public GitHub Actions, no self-hosted required)
- Simpler, more reliable builds
2026-04-01 23:33:39 -07:00
Krystie 2407970566 Fix CI: Use GitHub Actions QEMU for ARM64, not self-hosted runner
- Standard ubuntu-latest runner + docker/setup-qemu-action
- Dockerfile.arm64 for reproducible builds
- Always fetches latest triangles_v5 version automatically
- No hardcoded version defaults in workflow
2026-04-01 23:27:30 -07:00
Krystie 241fc68495 Simplify BOOTSTRAP.md - focus on user installation only
Watch Upstream triangles_v5 / Check for New Releases (push) Has been cancelled
Removed:
- Snapshot creation instructions (handled automatically server-side)
- Hosting instructions (not relevant to Pi users)
- Maintenance schedules (internal infrastructure)

Kept:
- Why bootstrap is useful
- Installation instructions
- What gets downloaded
- Security notes
- Troubleshooting

Docs now focus purely on end-user Pi setup experience.
2026-04-01 12:33:16 -07:00
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
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