Skip to content

v1.5.8 - Replicas

Choose a tag to compare

@vans163 vans163 released this 26 Jul 13:05
· 46 commits to main since this release
v1.5.8
688fceb
replicate.mp4

v1.5.8

Covers everything since v1.5.5.

Major πŸ“œ

πŸ” Validator replicas

Run one key pack on several physical nodes β€” exactly one produces at a time.

  • REPLICAS=1@ip:port,... + REPLICA_ID + REPLICA_PSK
  • Encrypted heartbeats + majority-ack leader election β€” two replicas can never lead at once
  • Double-sign fencing via a cluster-wide signed-height high-water mark, fsync'd to disk
  • Failover in ~2-3s; a sub-quorum group halts instead of forking

πŸ” Signed auto-updates

Updates are fail-closed: no valid signature, no install.

  • Releases ship amadeusd.sig β€” version + sha256, signed with Ed25519
  • Verified against a pubkey compiled into the binary
  • Anti-rollback floor β€” an older signed release can never be replayed
  • TLS verify_peer, crash-proof at boot

⛏️ Epoch 767 β€” cheaper sols

  • COST_PER_SOL removed β€” sols pay only real gas
  • Difficulty target 380k β†’ 180k

🚲 Epoch 771 β€” genesis validators retire

  • The 67 peddlebike validators are no longer auto-seeded
  • Validator set becomes purely vault-backed (β‰₯1m AMA) + top solvers

πŸ’Έ Validator commission

  • Validators set a commission (bps) on their backers' vault yield
  • Raises queue 3 epochs; visible in stats (incl. pending)

πŸ“Š Supply + validator stats

  • total_supply, total_locked, circulating in the stats API
  • Per-validator: commission, staked AMA, sol count

🧱 Fully static binary

  • OpenSSL + zstd statically linked β€” no dynamic crypto/compression deps
  • MnesiaKV gains per-table fsync

Minor

  • ComputorGen: solves round-robin across all node keys; legacy trainer paths removed
  • Testnet mirrors mainnet: fresh testnets seed vault-backed validators from genesis; multi-node clusters supported
  • Hashbuilder: one-shot background rebuild_filters / rebuild_tx_count, resumable
  • 10% participation floor β€” emission can't multiply by zero
  • Fix: mainnet boot crash in UDP socket init
  • Fix: broken TLS partial_chain callbacks