What is the Stratum Mining Protocol?
The Stratum protocol is the de-facto standard TCP-based client-server communication mechanism used between cryptocurrency mining hardware and mining pools. It distributes work packages (job IDs, extranonce, merkle branch) and receives computed proof-of-work shares.
Anatomy of Stratum Connection Parameters
When configuring your rental destination on RentMiningRigs, you provide 4 essential parameters:
- Host: The domain or IP of the pool (e.g.
solo-bch.2miners.comorstratum.viabtc.top). Note: Do NOT includehttp://orstratum+tcp://prefixes. - Port: The dedicated TCP socket port (e.g.
3333,9393,8888). - Worker: Your pool username or payout address, optionally followed by
.workerName(e.g.1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa.rig1). - Password: Usually
xor custom flags liked=4096to specify custom initial share difficulty.
Optimizing Static Difficulty with d= Parameter
When renting high hashrate clusters (e.g. 50+ TH/s), sending shares at default pool difficulty (diff 1 or 512) can overwhelm the TCP connection with hundreds of share messages per second. Setting a static difficulty in the password field (e.g., d=16384 or d=65536) instructs the pool to only accept high-difficulty shares, minimizing network latency and maximizing efficiency.