3 releases (stable)
new 2.0.0 | Dec 27, 2024 |
---|---|
1.0.0 | Mar 22, 2024 |
0.1.1 | Feb 15, 2024 |
#14 in #stratum
178 downloads per month
Used in 7 crates
(via roles_logic_sv2)
150KB
2.5K
SLoC
mining_sv2
mining_sv2
is a Rust #![no_std]
crate that implements a set of messages defined in the Mining protocol of Stratum V2.
The Mining protocol enables:
- distribution of work to mining devices
- submission of proof of work from mining devices
- notification of custom work to pool (in conjunction with Job Declaration Subprotocol)
For further information about the messages, please refer to Stratum V2 documentation - Mining.
Build Options
This crate can be built with the following features:
with_serde
: Enables support for serialization and deserialization using Serde.
Note that with_serde
feature flag is only used for the Message Generator, and deprecated for any
other kind of usage. It will likely be fully deprecated in the future.
Usage
To include this crate in your project, run:
$ cargo add mining_sv2
Dependencies
~305–760KB
~13K SLoC