github stratum-mining/stratum v1.8.0

10 hours ago

General release information

Highlights of this release:

This release focuses on protocol correctness, share-accounting fixes, and stronger testing across the Stratum stack.

Notable highlights include:

  • channels_sv2 received the biggest functional improvements in this release: client-side share accounting now defers accepted-share totals to upstream acknowledgements, server-side batch accounting was corrected, duplicate shares are rejected even for block-finding submissions, and blocks_found metrics were added.
  • Several SV2 protocol crates were aligned more closely with the specification, including fixes to channel_bit / message_type definitions, moving CHANNEL_BIT_RECONNECT to common_messages_sv2, and renaming the Job Declaration channel-bit constant to CHANNEL_BIT_PUSH_SOLUTION.
  • sv1_api is safer and more robust: invalid Merkle-node conversions and invalid version-mask lengths now return errors instead of panicking.
  • Reliability and developer confidence improved with backend-agnostic codec encoding, new framing benchmarks, fuzz targets for SV2 datatypes and noise_sv2, codec property tests, CI cleanup, and workspace-level dependency consolidation.

Crate changes

stratum-core

crate version was bumped from 0.2.0 to 0.2.1

buffer_sv2

crate version was bumped from 3.0.0 to 3.0.1

handlers_sv2

crate version was bumped from 0.2.1 to 0.2.2

noise_sv2

crate version was bumped from 1.4.1 to 1.4.2

parsers_sv2

crate version was bumped from 0.2.1 to 0.2.2

common_messages_sv2

crate version was bumped from 6.0.2 to 7.0.0

template_distribution_sv2

crate version was bumped from 4.0.2 to 5.0.0

channels_sv2

crate version was bumped from 3.0.0 to 4.0.0

stratum-translation

crate version was bumped from 0.1.2 to 0.1.3

mining_sv2

crate version was bumped from 7.0.0 to 8.0.0

job_declaration_sv2

crate version was bumped from 6.0.0 to 7.0.0

sv1_api

crate version was bumped from 2.1.3 to 3.0.0

codec_sv2

crate version was bumped from 4.0.1 to 5.0.0

What's Changed

New Contributors

Full Changelog: v1.7.0...v1.8.0

Don't miss a new stratum release

NewReleases is sending notifications on new releases.