Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ccdle12/rust-stratum-v2

A library implementation in Rust of the Stratum V2 Protocol.
https://github.com/ccdle12/rust-stratum-v2

bitcoin bitcoin-mining rust stratum stratum-pool stratum-protocol stratum-proxy

Last synced: about 9 hours ago
JSON representation

A library implementation in Rust of the Stratum V2 Protocol.

Awesome Lists containing this project

README

        

![workflow](https://github.com/ccdle12/rust-stratum-v2/actions/workflows/rust.yml/badge.svg)

# Rust Stratum V2

A WIP library implementation of the [Stratum V2 Protocol](https://braiins.com/stratum-v2).

The detailed spec can be found [here](https://docs.google.com/document/d/1FadCWj-57dvhxsnFM_7X806qyvhR0u3i85607bGHxvg/edit#heading=h.we2r5emgsjcx).

## Building

The library can be built and tested using [`cargo`](https://github.com/rust-lang/cargo/):

```
git clone [email protected]:ccdle12/rust-stratum-v2.git
cd rust-stratum-v2
cargo build
```

## Tests

You can run tests with:

```
cargo test
```

Please refer to the [`cargo` documentation](https://doc.rust-lang.org/stable/cargo/) for more detailed instructions.

See [fuzz tests](/fuzz/README.md) for instructions on how to run fuzzing.

## Documentation

Documentation can be built locally using cargo:

```
cargo doc --no-deps --open
```

## Examples

Examples can be found [here](/examples) and the [README](/examples/README.md)
contains instructions on how to run the examples.