Skip to main content

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


21 November 2024

Midnight 0.7.0 RC1 release notes

Learn about the latest updates and improvements to the Midnight node, including new features, bug fixes, and breaking changes designed to enhance functionality and stability.

New Features

  • Added a simple migration script to support hard fork test environments.
  • Integrated Partnerchains dev environment with testnet-preview files, including create-utxo.sh.
  • Enabled the new runtime_interface v2, exposing the TransactionCostModel and LedgerParameters.
  • Introduced a transaction pause (tx-pause) feature.
  • Exposed runtime version in the genesis block.
  • Improved debugging capabilities.
  • Added the ability to set bad blocks manually.
  • Integrated block rewards functionality for incentivizing validators.
  • Updated to Midnight Storage 0.2.7.
  • Refactored the Ledger API to fix potential panics and improve modularity.

Bug Fixes

  • Fixed testnet chain spec bootnodes.
  • Resolved transaction generator build issues outside of the workspace.
  • Fixed generator issues on ARM architecture for broader platform support.
  • Updated transaction generator and upgrader to connect to insecure RPC endpoints when needed.
  • Fixed JSON block RPC method for QA environment issues.
  • Limited transaction lifetime in the pool.
  • Fixed transaction validation to fully utilize the state cache, improving efficiency.
  • Reduced the node image size by approximately 1.7 GB.
  • Addressed issues with chain spec synchronization and order dependencies.

Breaking Changes

  • Introduced Partnerchains updates and configurations.
  • Enabled block beneficiary as an experimental feature.
  • Adjusted voting thresholds and session periods.
  • Updated runtime behavior to emit versioning in the genesis block.

Known Issues

  • Further optimizations may be required for transaction validation workflows.

Upgrade Instructions

  1. Update the node to version 0.7.0-rc1 by pulling the latest changes and assets.
  2. Integrate Partnerchains configurations and testnet-preview files as necessary.
  3. Update chain spec bootnodes and validate their connectivity.
  4. Test the new runtime.