template_distribution_sv2

Crates.iotemplate_distribution_sv2
lib.rstemplate_distribution_sv2
version4.0.1
created_at2021-06-14 17:47:30.324841+00
updated_at2025-09-24 23:10:03.826923+00
descriptionSv2 template distribution subprotocol
homepagehttps://stratumprotocol.org
repositoryhttps://github.com/stratum-mining/stratum
max_upload_size
id410027
size27,201
SV2-bot (SV2-bot)

documentation

https://docs.rs/template_distribution_sv2

README

template_distribution_sv2

crates.io docs.rs rustc+ license codecov

template_distribution_sv2 is a Rust #![no_std] crate that implements a set of messages defined in the Template Distribution Protocol of Stratum V2. The Template Distribution protocol can be used to receive updates of the block templates to use in mining.

For further information about the messages, please refer to Stratum V2 documentation - Job Distribution.

Build Options

This crate can be built with the following features:

  • prop_test: Enables support for property testing.

Usage

To include this crate in your project, run:

$ cargo add template_distribution_sv2
Commit count: 3337

cargo fmt