another question
what are the calculations that the pool sends to the miners?
because they are many shares ...
what changes?
I can not explain my doubts...
The "hash" that is used in bitcoin's proof-of-work is actually 2 full computations of SHA256 on the block header. The nonce is at the bottom of that header.
Therefore, the pool can get half way through the first computation of SHA256 on the block header on it's own (this is called a "midstate").
The pool then provides the midstate to the miner.
The miner completes the SHA256 calculation on the rest of the header for each nonce that it tries, and then completes the second SHA256 hash on each of those results. If any of those final hashes are lower than the share difficulty, then the miner has completed a share and sends it to the pool to prove that he is computing the necessary hashes. If none of the final hashes are low enough, and the miner runs out of nonces to try (there are 4294967296 possible nonces to try for each midstate) then the miner requests a new midstate from the pool.
The pool computes MANY midstates for the block (changing the extranonce, or timestamp, or merkle root so that each midstate is different). Therefore the pool can give a different set of midstates to each miner.