Hi @PheonixMiner
Possible feature requestBuilt-in - Stratum Pool Port Ping ToolSome mining pools specify multiple ports for miners to connect to and in some cases these ports are not necessarily load balanced / geo-location specific ports
so, to ensure lowest possible stale shares, etc I run ping the ports offered by the mining pool frequently and when I notice the share times beginning to climb higher.
I used to test latency times the old fashioned way using ping.exe util but this is not very accurate way as stratum is not same as tcpip right, its like on its own layer..
Anyway, I discovered :
stratum-ping [git:// >>
https://github.com/2miners/stratum-ping]
USAGEUsage of ./stratum-ping:
-6 use ipv6
-c int
stop after <count> replies (default 5)
-p string
pass (default "x")
-t string
stratum type: stratum1, stratum2 (default "stratum2")
-tls
use TLS
-u string
login (default "0x63a14c53f676f34847b5e6179c4f5f5a07f0b1ed")
Now, in my head having some kind of feature which is already built-in to PheonixMiner which you could either constantly run a ping trace in the background of the miner (Resource intensive)
or have the stratum-ping util fire-off a ping every XX seconds and query against the pool ports listed in the epools.txt list 'or' -pool and -pool2
So, PheonixMiner would then track if there is a deviation from the mean latency times or the current pool over the past 15mins (for example) Or if the ping-times drift outside of a set profile / tolerance configured by the user (Like: +125ms now time to hop to next port).
Kind of like, it could either be set to auto switch the miner onto the port with the lowest ping time or just echo:-
"+xx ms faster if switching to port 8888" a report back in console with the recommendation to switch to a faster port (on the same pool)
I mean this is a cool feature to have to monitor port ping times in real-time to ensure shares being sent to a pool are optimised.
but at the same time, additional cpu usage comes at a cost when making a miner when all processing power counts to getting better hashrates.
IDK.. maybe this is something that other miners want to see in a miner. its definitely something I use frequently as it seems the pool latency climbs up overnight and in the .am its high so i switch ports and latency falls again.
..or just have the pheonixMiner set to switch to the fastest port every 2.5hrs or something maybe.. idk..
Food for Thought
