HTND 2.0 Zenith Release Notes
Overview
HTND 2.0 Zenith represents a major upgrade, bringing significant improvements in consensus, stability, performance, pruning architecture, wallet functionality, and overall node reliability.
Major Changes
DAGKnight
- First open implementation of the DAGKnight consensus engine.
- Added Hard-Fork support (DAA score + HF preparams, block version 6).
- Dynamic K is now persisted and stored within GhostDAG data.
- Fixed inconsistencies between block version and DAA score usage.
- Added protection against mixed-K pruning issues.
Pruning & Pruning Proofs & Data Retention
- New configuration flags:
--pruning-interval-*and--data-retention-hours. - Improved pruningManager logic for better control over retention and pruning intervals.
- Last pruning time is now persisted in the database.
- Significant performance optimizations for pruning-proof validation, reachability, and application.
- Implemented snapshotting of pruning-point UTXO chunks.
- Multiple fixes and robustness improvements to pruning-point logic.
- Added pruning-point proof harness/tool for easier development and verification.
- Fixed IBD block request logic to prevent node freezes.
Networking (P2P / gRPC)
- Multiple gRPC connection handling fixes (including dnsseed and p2pserver).
- Register/unregister gzip codec properly; made disconnects idempotent.
- Fixed connection leaks during failed setups and improved overall disconnect handling.
- Tuned ping/pong and IBD backpressure mechanisms.
- Proper draining of relay routes.
- Drop INV messages when route is missing or full.
Wallet & Transactions
- Added P2PKH and P2SH address/script support to htnwallet.
- Added Replace-By-Fee (RBF) support.
- New wallet API endpoints for transaction status and confirmations.
isHighPrioritysubmit option, so you can decide persistence of transactions in mempool.- Hardened UTXO selection logic.
- Fixed wallet freezes, nil-pointer crashes, and improved sync-loop robustness.
- Rejection of unsupported script versions.
- Improved include-transactions cache behavior.
- Various mempool stability mitigations.
Performance & Memory
- Multiple memory and allocation optimizations (block parents, BlockWindow, pruning-proof reachability).
- Added/adjusted LRU caches with thread-safety fixes.
- Reduced GC churn via Bech32 checksum allocation changes.
Documentation & Scripts
- New "Running a node" guide for Ubuntu 24.04.
- Updated and moved
start-htnd.shwith supporting documentation fixes.
Zenith is a major step forward for the HTND ecosystem, focusing on production readiness, maintainability, and feature completeness.
Users are strongly encouraged to review the new pruning and retention flags before upgrading.