#protocols #bitcoin #mining

stratum-core

Central hub for the Stratum V2 ecosystem, consolidating all low-level protocol crates into a single, cohesive API

3 releases (breaking)

0.2.0 Jan 22, 2026
0.1.0 Nov 25, 2025
0.0.0 Jun 14, 2024

#44 in #mining

Download history 458/week @ 2025-11-26 239/week @ 2025-12-03 368/week @ 2025-12-10 118/week @ 2025-12-17 57/week @ 2025-12-31 101/week @ 2026-01-07 29/week @ 2026-01-14 36/week @ 2026-01-21 37/week @ 2026-01-28

219 downloads per month
Used in stratum-apps

MIT/Apache

6.5MB
21K SLoC

Stratum Common Crate

stratum_core is the central hub for all Stratum protocol crates. It re-exports all the low-level v1 and v2 crates to provide a single entry point for accessing the Stratum protocol implementations.

Features

  • with_buffer_pool: Enables buffer pooling for improved memory management and performance in the binary serialization, framing, and codec layers.

Stratum Core

Central hub for the Stratum V2 ecosystem, providing a cohesive API for all low-level protocol functionality.

Overview

stratum-core re-exports all the foundational Stratum protocol crates through a single entry point. This includes binary serialization, framing, message handling, cryptographic operations, and all Stratum V2 subprotocols.

Usage

Add to your Cargo.toml:

[dependencies]
stratum-core = "0.1.0"

Basic usage:

use stratum_core::{
    binary_sv2,
    codec_sv2,
    framing_sv2,
    noise_sv2,
    mining_sv2,
    // ... all protocol crates available
};

Features

  • with_buffer_pool - Enable buffer pooling for improved memory management and performance
  • sv1 - Include Stratum V1 protocol support
  • translation - Enable translation utilities between SV1 and SV2 (includes sv1)

Dependencies

~17MB
~201K SLoC