This article is a mirror article of machine translation, please click here to jump to the original article.

View: 348|Reply: 0

Stratum V1, V2 cryptocurrency network communicates with the pool protocol

[Copy link]
Posted on 2025-9-23 21:23:45 | | | |
What is the Stratum Protocol?

Stratum is a TCP-based application layer protocol used for communication between miners and pool servers. It allows the pool to distribute work to the miner, who returns the calculated shares.

Stratum V1 protocol

Protocol Posts:The hyperlink login is visible.
Chinese Documentation:The hyperlink login is visible.

The current Stratum protocol (v1) is widely used throughout the cryptocurrency mining industry today, but it was never intended or designed to be an industry standard. Based onText format (JSON over TCP), transmitted in plaintext

Stratum V2 protocol

Official Website:The hyperlink login is visible.
Documentation:The hyperlink login is visible.
Github:The hyperlink login is visible.The hyperlink login is visible.

Based onBinary frames and encryptionmechanism, safer and more efficient. SV1 miners can connect to SV2-compatible pools using translation agents (roles/translators) at the following address:The hyperlink login is visible.

V1 vs V2 protocol

security



bandwidth



velocity




Performance testing of mining pools

Typically, the performance of various mining pools is ping verified using built-in utilities. While this approach is feasible, it is more important to measure the actual response time of the mining pool, which may be busy or use some kind of geolocation-based forwarding solution that brings the connection endpoint closer to the user, but the actual data transfer still takes quite a long time.

Therefore, we found a method specifically for mining very useful, which is to measure the time it takes to connect using the Stratum protocol and successfully pass authentication. This approach provides a more accurate understanding of what mining software actually does when mining.

Source code address:The hyperlink login is visible.

Download and unzip with the following command:

The test command is as follows:
As shown below:



Reference:

The hyperlink login is visible.
The hyperlink login is visible.
The hyperlink login is visible.
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com