Skip to main content
Version: v0 (Legacy)

Node

Node is a component of the blockchain infrastructure that interacts with the Midnight network to perform tasks such as syncing, validating transactions, and maintaining the chain state.

Link to related documentation


14 January 2025

Midnight 0.8.0-rc4 Release Notes

This pre-release focuses on improvements in monitoring, benchmarking, key management, and testnet configurations, ensuring stability and performance enhancements.

New Features

  • Integrated Prometheus metrics for ledger monitoring and insights.
  • Introduced benchmarks for midnight-pallet to measure and track performance.
  • Added governance keys for qanet in the res directory.
  • Implemented an automated tool for creating release notes.
  • Added support for testnet-02.

Changes

  • Ledger upgraded to 3.0.5 and further to 3.0.6.
  • Transaction generator has an enhanced generate-contract-calls functionality to use a random nonce by default.
  • Enabled both new and legacy key derivation methods across all networks, excluding testnet.
  • Updated key derivation for qanet and local genesis files.
  • Rust compiler upgraded from version 1.82 to 1.83.
  • Set the default trie cache size to zero .
  • *Adjusted shutdown trigger to 512 MB of remaining storage (previously 1024 MB).
  • Refactored the transaction generator to use a thread-local global variable for network ID serialization and deserialization.

Known Issues

  • Benchmarks might require further refinement for specific use cases.

Upgrade Instructions

  1. Use the specified node image for accessing the new features and improvements.
  2. Ensure compatibility by upgrading to Ledger 3.0.6.
  3. Apply the testnet-02 configurations for expanded testing capabilities.
  4. Update genesis files to support both new and legacy key derivation methods.