extensions_sv2 0.1.0

Sv2 Extension Messages
Documentation
  • Coverage
  • 81.82%
    27 out of 33 items documented0 out of 11 items with examples
  • Size
  • Source code size: 24.74 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.54 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 23s Average build duration of successful builds.
  • all releases: 23s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • stratum-mining/stratum
    342 190 48
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SV2-bot

extensions_sv2

crates.io docs.rs rustc+ license codecov

The extensions_sv2 crate provides message types and utilities for Stratum V2 protocol extensions. It includes support for Extensions Negotiation (0x0001) and Worker-Specific Hashrate Tracking (0x0002), along with generic TLV (Type-Length-Value) encoding/decoding utilities that can be used by any extension requiring structured optional data fields.

Usage

To include this crate in your project, run:

cargo add extensions_sv2

Supported Extensions

  • Extensions Negotiation (0x0001): Negotiate which optional extensions are supported during connection setup
  • Worker-Specific Hashrate Tracking (0x0002): Track individual worker hashrates using TLV fields in SubmitSharesExtended messages

For detailed specifications, see: