Skip to main content

Crate translator_sv2

Crate translator_sv2 

Source
Expand description

§Translator Sv2

Provides the core logic and main struct (TranslatorSv2) for running a Stratum V1 to Stratum V2 translation proxy.

This module orchestrates the interaction between downstream SV1 miners and upstream SV2 applications (proxies or pool servers).

The central component is the TranslatorSv2 struct, which encapsulates the state and provides the start method as the main entry point for running the translator service. It relies on several sub-modules (config, downstream_sv1, upstream_sv2, proxy, status, etc.) for specialized functionalities.

Modules§

config
Translator Configuration Module
error
Translator Error Module
server_to_client
sv1
Downstream SV1 Module
sv2
utils

Structs§

TranslatorSv2
The main struct that manages the SV1/SV2 translator.