github stratum-mining/stratum v1.4.0

one month ago

General release information

Highlights of this release:

  • Implemented recent Job Declaration (JD) spec changes in SRI
  • Introduced simplified and unified channel/job APIs in roles_logic_sv2, enabling correct SV2 behavior across all channel states without imposing architectural decisions on adopters. Pool migrated to use these APIs
  • Modularized vardiff logic to make it reusable across roles
  • Deprecated mining_proxy_sv2 and cleaned up roles_logic_sv2 internals
  • Simplified UX for configuring custom coinbase output with user-defined reward address
  • Added documentation for all roles: Pool, JDS, JDC, and tProxy

This release also includes internal refactors, documentation improvements, and CI/test enhancements.

Crate changes

const_sv2

this crate has been deprecated

roles_logic_sv2

some new modules were introduced, namely:

  • channels

some modules were refactored, namely:

  • handlers
  • channel_logic

it had the following modules removed, namely:

  • common_properties
  • job_dispatcher

crate version was bumped from 2.0.0 to 3.0.0

stratum_common

crate version was bumped from 2.0.0 to 3.0.0

network_helpers_sv2

crate version was bumped from 3.0.0 to 4.0.0

job_declaration_sv2

crate version was bumped from 3.0.0 to 4.0.0

mining_sv2

crate version was bumped from 3.0.0 to 4.0.0

common_messages_sv2

crate version was bumped from 4.0.0 to 5.0.0

framing_sv2

crate version was bumped from 4.0.0 to 5.0.0

noise_sv2

crate version was bumped from 1.3.0 to 1.4.0

template_distribution_sv2

crate version was bumped from 3.0.0 to 3.1.0

codec_sv2

crate version was bumped from 2.0.0 to 2.1.0

sv2_ffi

crate version was bumped from 2.0.0 to 2.1.0

PR List

New Contributors

Full Changelog: v1.3.0...v1.4.0

Don't miss a new stratum release

NewReleases is sending notifications on new releases.