Dev Update 24 June 2025

Last week by the numbers

neptune-core

twenty-first

triton-vm

triton-tui

triton-cli

tasm-lib

Neptune Happenings

Community PRs Merged: Tests and Mining Pool Improvements

Two community members contributed 5 PRs that were merged into neptune-core this week.

Highlights:

  • #615 separates unit tests into smaller modules which is a win for maintainability.

  • #608 adds some flushing to prevent RAM issues on smaller machines.

  • #609 provides an RPC endpoint to find the block where a UTXO originates

A big thanks to github users KaffinPX and skaunov for their contributions.

Mempool Improvements merged

The recent changes to the mempool remove the incentive for composers to not include transactions in their mempool. This improves the overall chances that a transaction gets mined.

Hard Fork 2

Work is progressing towards Hard Fork 2. The code is compiling but lacks consensus programs in Triton assembly code.

NTT Speed Up

New versions of twenty-first, triton-vm, and tasm-lib crates were published that include a significant speedup of (i)NTT, the finite-field version of the Fast Fourier Transform. In particular, NTT itself got faster by 45%. This directly translates to faster proof generation by about 7%.

AVX Vectorization Integration

Work has begun to integrate a vectorized (in particular, AVX-512) version of the Tip5 hash function into the Neptune ecosystem. This has the potential to speed up hash operations significantly (we estimate ~50%) on capable machines. We expect this to boost proof generation by another ~3%.

Contributor Updates

@jfs

  • dual-license Triton VM to MIT OR Apache-2.0
  • remove dead code from twenty-first & triton-vm
  • improve documentation in twenty-first
  • make a Merkle tree helper function generic to simplify its use in Neptune core
  • propagate recent changes from twenty-first through triton-vm and tasm-lib into neptune-core
  • start integrating AVX-512-accelerated Tip5 into twenty-first

@danda:

  • started neptune-types library crate
  • worked on getting twenty-first to build and pass tests with wasm32 target.
  • raised PR for proptest-arbitrary-interop
  • raised PR for twenty-first