Skip to content

v0.5.0

Choose a tag to compare

@xssnick xssnick released this 01 Jul 10:45
· 27 commits to master since this release
8bfaac9

Overview

Static node extensions and hooks support, liteserver refactored as a built-in extension, shared live-view store for liteserver and extensions, optional sync cutoff mode, checked external message flow, configurable local sendMessage fanout, storage/index migration, and multiple p2p, metrics, and storage reliability improvements.

Changelog

  • Added static extension support through gton.RunNode, NodeOptions.Extension, and service/hooks.
  • Added extension hooks for applied blocks, received blocks, and accepted external messages.
  • Added extension capabilities for read-only live state access, checked external message sending, logging, and metrics.
  • Added example_extension with apply logger and live transaction replay checker examples.
  • Refactored liteserver into api/liteserver and wired the default liteserver as a static extension.
  • Moved shared live liteserver storage/query logic into service/liveview for reuse by extensions.
  • Added ton.sync_until to sync up to a UNIX block-time cutoff, then switch p2p offline while keeping local liteserver data available.
  • Added liteserver.send_message_broadcast_fanout to tune local external-message broadcast fanout.
  • Added TVM-based external message admission before local and overlay rebroadcast.
  • Improved local sendMessage rebroadcasting with dedicated queues, configurable fanout and dedup, lag-aware fanout reduction.
  • Added lazy state cell load metrics split by state window, decoded cache, and Pebble.
  • Added incremental storage artifact metrics for archive packages and persistent state files.
  • Improved p2p peer maintenance, peer warmup, pending peer promotion, and public-shard peer advertisement.
  • Improved custom fixed overlay handling with lighter warmup and stricter advertised peer validation.
  • Hardened archive package pruning to avoid deleting packages still pending sync.
  • Hardened block metadata and block history indexes with full block-id hash validation.
  • Added metadb v3 migration that rebuilds block history indexes from stored block metadata.
  • Improved storage shutdown logging and close sequencing.
  • Removed cmd/tvm-replay; replay checking is now provided as an extension example.
  • Removed --from-zero and --liteserver-send-message-tvm-trace CLI flags.
  • Changed archive-from-zero configuration to use ton.sync_before = -1.
  • Updated tonutils-go.