Saito Network是一个面向用户的Web3开放网络层,旨在构建无需插件、私有API和非开放基础设施即可运行的DApp生态。其核心机制是通过激励网络建设者,实现去中心化和网络收益共享,打造一个开放且可扩展的Web应用基石。
查看项目官方Twitter发布的推文
@corenodeHQ @0G_labs Elinize sağlık Core Node! 👏
为Core Node干得好!👏
Core Node 🛠️ Update Summary The Core Node client is steadily being refined, ensuring stable and bug-free performance. We continue stress-testing the blockchain, and have made progress with pruning logic, so that nodes can enjoy all the efficiency benefits ATR has to offer. 🔻Consensus Thread: New delete_old_blocks field added to enable automatic block pruning. Old blocks now purged post-load using genesis_period * 2 as cutoff. Pruning runs after startup once latest block is known. Guarded by a simple if to ensure compatibility with older configs. Reduces long-term disk usage without interfering with consensus logic. 🔻Node Tester: delete_old_blocks enabled by default in all test environments. Matches live behavior and ensures test environments stay lean. Simplifies disk state and UTXO testing over longer chains. 🔻E2E Tests - Issuance: Test now active—no longer skipped. Creates full multi-node environment with issuance config. Bootstraps blocks and triggers generate-issuance. Reads and validates contents of generated file. Ensures issuance file creation remains stable and correct. 🔻E2E Runtime: TEST_DIR and SLR_DIR constants now exported for shared use. Removed stray logs from node assignment. Redundant fs calls removed or commented for clarity. Test directory logic simplified to avoid setup errors. 🔻Saito-JS: initialize() in Node and Web bindings now accept delete_old_blocks. Value passed all the way to WASM/Rust layer. Signature updated to remain backward-compatible. Improved reliability when launching in embedded environments. 🔻WASM: SaitoWasm::new() now takes delete_old_blocks as explicit param. initialize() interface updated with full param passthrough. JS lazy_static now uses false as default for clarity. Internal miner and blockchain threads all respect new pruning logic. 🔻Rust CLI Entrypoints: Core run_consensus_event_processor() calls updated in: - Rust CLI; WASM; Spammer; Node tester All now launch with delete_old_blocks: true. Ensures consistent pruning behavior across binaries and tests. 🔻Tooling Alignment: JS SDK, WASM, and native Rust now share identical init interfaces. Cross-platform initialization now supports pruning by default. Consistency across environments makes debugging easier. Prepares system for future background pruning and archive work.
核心节点🛠️更新摘要 核心节点客户端正在稳步完善,确保性能稳定且无错误。 我们持续对区块链进行压力测试,并在修剪逻辑方面取得进展,使节点能够享受ATR提供的所有效率优势。 🔻共识线程: 新增delete_old_blocks字段以启用自动区块修剪。 旧区块现在在加载后使用genesis_period * 2作为截止点进行清除。 修剪在启动后一旦知道最新区块时运行。 通过简单的if语句保护以确保与旧配置的兼容性。 减少长期磁盘使用而不干扰共识逻辑。 🔻节点测试器: 在所有测试环境中默认启用delete_old_blocks。 匹配实时行为并确保测试环境保持精简。 简化了较长链上的磁盘状态和UTXO测试。 🔻端到端测试 - 发行: 测试现已激活,不再跳过。 创建具有发行配置的完整多节点环境。 引导区块并触发generate-issuance。 读取并验证生成文件的内容。 确保发行文件创建保持稳定和正确。 🔻端到端运行时: TEST_DIR和SLR_DIR常量现在导出以供共享使用。 从节点分配中删除了杂散日志。 冗余的fs调用被删除或注释以提高清晰度。 简化了测试目录逻辑以避免设置错误。 🔻Saito-JS: Node和Web绑定中的initialize()现在接受delete_old_blocks。 值一直传递到WASM/Rust层。 签名更新以保持向后兼容性。 提高了在嵌入式环境中启动时的可靠性。 🔻WASM: SaitoWasm::new()现在将delete_old_blocks作为显式参数。 initialize()接口更新为完整参数传递。 JS lazy_static现在默认使用false以提高清晰度。 内部矿工和区块链线程均遵循新的修剪逻辑。 🔻Rust CLI入口点: 核心run_consensus_event_processor()调用在以下位置更新: - Rust CLI; WASM; Spammer; 节点测试器 所有现在都以delete_old_blocks: true启动。 确保在二进制文件和测试中一致的修剪行为。 🔻工具对齐: JS SDK、WASM和原生Rust现在共享相同的初始化接口。 跨平台初始化现在默认支持修剪。 环境间的一致性使调试更容易。 为未来的后台修剪和存档工作做准备。