stratum-mining-proxy
stratum-mining-proxy copied to clipboard
Sends auth before subscribe, ignores error, 100% work rejected
After losing the connection to the server, stratum proxy reconnects, sends auth which fails because it is not subscribed, ignores the error, sends subscribe... after this it pretends it is authorized and keeps sending in work. 100% rejected.
"Sends auth which fails because it is not subscribed" - - this seems to be a pool related bug. Authentication should work also for unsubscribed socket.
I thought you had to subscribe before authenticating. Can't see this from the spec. For my pool I have made authenticating before subscribing work.
You should probably make it fail instead of keep mining when authentication fails after the reconnect though.