v0.5.0
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, andservice/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_extensionwith apply logger and live transaction replay checker examples. - Refactored liteserver into
api/liteserverand wired the default liteserver as a static extension. - Moved shared live liteserver storage/query logic into
service/liveviewfor reuse by extensions. - Added
ton.sync_untilto sync up to a UNIX block-time cutoff, then switch p2p offline while keeping local liteserver data available. - Added
liteserver.send_message_broadcast_fanoutto tune local external-message broadcast fanout. - Added TVM-based external message admission before local and overlay rebroadcast.
- Improved local
sendMessagerebroadcasting 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-zeroand--liteserver-send-message-tvm-traceCLI flags. - Changed archive-from-zero configuration to use
ton.sync_before = -1. - Updated
tonutils-go.