The stratum protocol supports authorizing multiple workers in a single connection. Unfortunately, I didn't find any documentation about how this should be handled by pool server software.
If multiple workers share the same extranonce1
(which is a per-connection unique string), wouldn't the workers duplicate work? Is this to be handled by the client?
Do all the workers use the same job_id
for share submission?
Should a server send a job notify when the second, third etc. worker successfully passes authorization?
And finally, does anyone actually use this (multiple workers per connection) and for what purpose?
job_id
. Is it common for all clients currently working on the block solving and does it change only if a new block template comes in? So share submission is identified by worker name, nonce etc. but not by job_id, it's there only for stale shares check?