This is probably a very newbie question, but is there a way that I can monitor the hashes and or candidate blockheaders that my BTC Antminer is sending back and forth to a pool? Can this be done just by observing the communication traffic on my subnet or would I have to go through the pool to view this?
In the paper 'Hardening Stratum, the Bitcoin Pool Mining Protocol', it seems like they are able to view this traffic, eg Figure 4. How would one set this kind of a view up? I'm good with dealing with the data side, it's the networking aspect. I'm interested in observing the difficulty of hashes that my miners are outputting, but with more depth than most mining pools I have been on provide.
very easily, you simply need to place a tcp proxy inbetween your miner and the pool.
i use this one all the time (
https://voorloopnul.com/blog/a-python-proxy-in-less-than-100-lines-of-code/), you simply modify the host/port at the top, then the listening interface at the bottom.