Market Cap: $2.1145T -3.19%
Volume(24h): $169.6924B 21.25%
Fear & Greed Index:

16 - Extreme Fear

  • Market Cap: $2.1145T -3.19%
  • Volume(24h): $169.6924B 21.25%
  • Fear & Greed Index:
  • Market Cap: $2.1145T -3.19%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

How to connect a mining rig to a stratum pool?

Stratum is a lightweight TCP-based mining protocol that offloads block template generation to pools, reducing latency and bandwidth use for miners.

Feb 12, 2026 at 12:59 am

Understanding Stratum Protocol Fundamentals

1. Stratum is a lightweight communication protocol designed specifically for cryptocurrency mining operations, enabling efficient interaction between miners and mining pools.

2. Unlike the older GetBlockTemplate (GBT) method, Stratum offloads block template generation to the pool server, reducing bandwidth usage and latency for the miner.

3. The protocol operates over TCP, typically on port 3333 for Bitcoin-based coins or custom ports like 4444 for altcoins such as Ethereum Classic or Ravencoin.

4. Authentication in Stratum relies on a worker username and password, often formatted as poolusername.workername, with the password frequently set to x or left blank depending on pool requirements.

5. A successful Stratum handshake involves the miner sending a mining.subscribe request, followed by mining.authorize, after which the pool begins pushing new jobs via mining.notify.

Hardware and Software Prerequisites

1. A functional mining rig must run compatible mining software—such as lolMiner, T-Rex Miner, or GMiner—configured for the target algorithm (e.g., Ethash, KawPoW, or SHA-256).

2. GPU drivers must be up to date; for NVIDIA rigs, version 535+ is recommended for optimal stability with modern kernels and mining binaries.

3. The rig requires a stable internet connection with outbound TCP access to the pool’s Stratum endpoint, verified using tools like telnet pool.example.com 3333 or nc -zv pool.example.com 3333.

4. Firewalls or ISP-level restrictions may block Stratum traffic; disabling local firewall rules or configuring port forwarding on consumer-grade routers may be necessary.

5. BIOS settings should enableResizable BAR (if supported), disable CSM, and set PCIe to Gen3 or Gen4 mode to maximize hash rate consistency across GPUs.

Configuring Miner Software for Pool Connection

1. Launch configuration involves specifying the pool URL using the --url flag, for example: --url stratum+tcp://eth-eu.flexpool.io:5555.

2. Worker identity is passed via --user, where the value includes both wallet address and worker name separated by a dot: --user 0xAbc...def.rig1.

3. Some pools require explicit password submission using --pass, though many accept --pass x as a placeholder.

4. Advanced tuning includes setting --coin ETH for Ethereum-compatible pools or --algo kawpow when targeting RVN or other KawPoW-based chains.

5. Logging output must include real-time job acceptance rates, stale share counts, and network latency—values consistently above 500ms indicate routing issues or geographic distance from the nearest pool server.

Verifying Connection Stability and Performance

1. A healthy connection displays continuous Accepted share submissions every 10–30 seconds, depending on hashrate and difficulty.

2. Rejected shares may stem from incorrect wallet formatting, clock drift, or overclocking instability—monitoring GPU core/memory temperatures helps isolate thermal throttling causes.

3. Network packet loss above 0.5% triggers frequent job timeouts; this can be diagnosed using mtr --report pool.example.com to trace hop-by-hop latency anomalies.

4. Mining software dashboards show cumulative accepted shares, average latency per job, and current difficulty—these metrics must remain steady over 60-minute observation windows.

5. Failover configurations using multiple --url entries ensure continuity if the primary Stratum endpoint becomes unreachable, provided the miner binary supports round-robin or priority-based fallback logic.

Frequently Asked Questions

Q: Can I use the same wallet address across multiple Stratum pools simultaneously?A: Yes, but only one pool will credit your account per valid share; overlapping submissions do not increase rewards and may trigger anti-abuse detection on some pools.

Q: Why does my miner show “Connection refused” even after verifying port accessibility?A: This commonly results from mismatched protocol prefixes—using stratum+ssl:// instead of stratum+tcp:// when the pool does not support TLS, or vice versa.

Q: Do I need to register an account with the pool before connecting?A: Most pools operate without registration; authentication occurs solely through the wallet address and worker name submitted during Stratum authorization.

Q: Is it possible to connect a CPU miner to a Stratum pool designed for GPUs?A: Technically yes if the pool supports the same algorithm and the CPU miner implements Stratum v1 or v2 correctly—but performance will be orders of magnitude lower than GPU equivalents.

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

See all articles

User not found or password invalid

Your input is correct