Crates.io | pool_sv2 |
lib.rs | pool_sv2 |
version | 0.1.1 |
source | src |
created_at | 2024-03-29 15:41:42.145499 |
updated_at | 2024-05-07 14:41:27.173891 |
description | SV2 pool role |
homepage | |
repository | https://github.com/stratum-mining/stratum |
max_upload_size | |
id | 1190312 |
size | 114,834 |
SRI Pool is designed to communicate with Downstream role (most typically a Translator Proxy or a Mining Proxy) running SV2 protocol to exploit features introduced by its sub-protocols.
The most typical high level configuration is:
<--- Most Downstream ----------------------------------------- Most Upstream --->
+---------------------------------------------------+ +------------------------+
| Mining Farm | | Remote Pool |
| | | |
| +-------------------+ +------------------+ | | +-----------------+ |
| | SV1 Mining Device | <-> | Translator Proxy | <------> | SV2 Pool Server | |
| +-------------------+ +------------------+ | | +-----------------+ |
| | | |
+---------------------------------------------------+ +------------------------+
pool-config-hosted-tp-example.toml
and pool-config-local-tp-example.toml
are examples of configuration files.
The configuration file contains the following information:
authority_public_key
), the SRI Pool authority secret key (authority_secret_key
).listen_address
)coinbase_outputs
)pool_signature
).tp_address
).tp_authority_public_key
from the logs of your TP, for example:# 2024-02-13T14:59:24Z Template Provider authority key: EguTM8URcZDQVeEBsM4B5vg9weqEUnufA8pm85fG4bZd
There are two files found in roles/pool/config-examples
pool-config-hosted-tp-example.toml
runs on our community hosted server.pool-config-example-tp-example.toml
runs with your local config.Run the Pool:
cd roles/pool/config-examples
cargo run -- -c pool-config-hosted-tp-example.toml