Do I understand everything correctly? The pool gives the task to the worker (proxy in our case), like this:
{"id": 1, "jsonrpc": "2.0", "error": null, "result": {"id": "42d954ef-ceee-446c-b2ea-f95c421df573", "job": {"blob" : "02028eb4bcd40519fb82d0d47097f00022d6792976051dd53d86d0718ff029fdc3803d4077a9f1000000004afa5cfe5901bfef02bbc4e29f3a960bf2dfd29a123dd942b9ab6b90673c493503", "job_id": "Wjc5VI / ANH3mAnkhaKtw0WSeJP9h", "target": "b88d0600", "id": "42d954ef-ceee-446c-b2ea-f95c421df573"}, "status": "OK"}}
where the blob
is the task itself, which is parsed based on this documentation https://cryptonote.org/cns/cns003.txt
The proxy breaks the blob
into parts with a lower diff and distributes to the connected workers based on their capabilities. Then, proxy collects everything in a one job result and send it to the pool.
Am I right?
02028eb4bcd40519fb82d0d47097f00022d6792976051dd53d86d0718ff029fdc3803d4077a9f1000000004afa5cfe5901bfef02bbc4e29f3a960bf2dfd29a123dd942b9ab6b90673c493503
. How to convert this blob to a unique block for worker? How to do with the block template is understandable. – Andrei May 28 '20 at 22:37