Files
triangles_v5/packaging/homebrew/triangles.rb
T
sami7777 cd1b497f0d v5.3.7: Fix sync stall, transaction display, balance updates, and bootstrap snapshots
Sync fixes:
- Extend stall detection beyond IBD to catch post-IBD sync gaps
- Walk-forward inv continuation to avoid CBlockLocator exponential gap loop
- Track walk-forward progress for stall recovery without restarting from scratch

GUI fixes:
- Load transactions synchronously in constructor (deferred QTimer never fired)
- Use beginResetModel/endResetModel instead of deprecated reset()
- Schedule full refresh on TRY_LOCK failure to avoid dropped CT_NEW notifications
- Only update cachedNumBlocks after successful balance check (prevents permanent loss)
- Add GetAllBalances() single-pass balance retrieval with TRY_LOCK

Bootstrap:
- Add trusted snapshot manifest verification for bootstrap archives
- Add IsKnownCheckpoint() to validate manifest against compiled-in checkpoints
- Skip txleveldb rebuild when verified manifest is present

Bump version to 5.3.7 across all packaging manifests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 23:36:43 -07:00

42 lines
1.2 KiB
Ruby

class Triangles < Formula
desc "Cryptographic Triangles (TRI) cryptocurrency wallet and daemon"
homepage "https://cryptographic-triangles.org"
license "MIT"
version "5.3.7"
on_macos do
url "https://github.com/SamiAhmed7777/triangles_v5/releases/download/v5.3.7/Cryptographic-Triangles-v5.3.7-macos-arm64.dmg"
sha256 "3a58e795d898656b455fd639c0ea826a4457d390a64d00ace9a1257598d053be"
end
on_linux do
url "https://github.com/SamiAhmed7777/triangles_v5/releases/download/v5.3.7/Cryptographic-Triangles-v5.3.7-linux-x64-daemon"
sha256 "4d2ab25d61127d6aff3e6f3069556d04f4b823f8849e97629c12871ad4779517"
end
depends_on "openssl@3"
def install
if OS.mac?
prefix.install "Triangles-Qt.app"
bin.write_exec_script prefix/"Triangles-Qt.app/Contents/MacOS/Triangles-Qt"
else
bin.install "Cryptographic-Triangles-v5.3.7-linux-x64-daemon" => "trianglesd"
end
end
service do
run [opt_bin/"trianglesd", "-daemon=0"]
keep_alive true
working_dir var/"triangles"
end
test do
if OS.mac?
assert_predicate prefix/"Triangles-Qt.app", :exist?
else
system "#{bin}/trianglesd", "-version"
end
end
end