2miners / stratum-ping

The Stratum-based mining pool performance test tool.
https://2miners.com
MIT License
156 stars 53 forks source link

USAGE, not clear how to enter URL #1

Closed PSLLSP closed 3 years ago

PSLLSP commented 3 years ago

Usage (-h); it is not clear where URL should be placed (the last argument?) and the format of URL (without leading stratum+tcp://) and how to enter TCP port (part of URL, :port)

One more note. What about option -v or -g to activate verbose/debug mode? That could be useful to troubleshoot mysteries I see with hiveon pool...

One more idea. Add an option to report version of the tool, like -V

== hiveon pool

It doesn't work against hiveon pool... If this is a bug in the tool, I can open new issue; it is possible that there are more compatibility problems...

# stratum-ping eu-etc.hiveon.net:8888
PING stratum eu-etc.hiveon.net (51.159.24.121) port 8888
eu-etc.hiveon.net (51.159.24.121): seq=0, EOF
...
--- eu-etc.hiveon.net ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 5.376627584s

UPDATE: This problem is solved, hiveon pool uses stratum1 protocol and this has to be forced with command line option. Could be this autodetected by the ping tool?

# stratum-ping -t stratum1 eu-etc.hiveon.net:8888
./build/bin/stratum-ping -t stratum1 eu-etc.hiveon.net:8888
PING stratum eu-etc.hiveon.net (51.159.24.121) port 8888 with credentials: 0x63a14c53f676f34847b5e6179c4f5f5a07f0b1ed:x
eu-etc.hiveon.net (51.159.24.121): seq=0, time=46.367243ms
...
--- eu-etc.hiveon.net ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 5.369271151s
min/avg/max = 34.381773ms, 40.050671ms, 41.960768m