This proxy demonstrates 1:1 translation of Stratum V2 protocol to Stratum V1. It listens for downstream Stratum V2 connections and translates the protocol to upstream Stratum V1 node.
- Rust toolchain installed via rustup
cargo build --release
This command builds the proxy, too:
cargo run --release -- --listen 0.0.0.0:3333 --remote stratum.slushpool.com:3333
./target/release/ii-stratum-proxy --listen 0.0.0.0:3333 --remote stratum.slushpool.com:3333
Below is a high level list of areas that still need to be resolved:
- handle multiple channels on a single downstream connection
- use V2 submission sequence numbers for batch acknowledgement of valid job solutions
- improve logging
- fix application shutdown - proxy refuses to shutdown if there any pending connections and has to be killed
- resolve all TODO's in the sources