Hi do you know when a miner looses internet connection for lets say 2mins
what is happening with the work at a current block,
all previous hours are lost or not?
or its keeps them until
communicate again with the pool
You don't work on 'a' block as such.
You work on the current network block which changes on average about every 10 minutes or less.
The work we give you is actually updated every 30s to new work with new transactions in it.
However, your PoW (Proof or Work) is the shares you submit until we find a block.
All shares you submit, that are valid at the time you submit them, are remembered.
(we also remember the invalid ones)
When someone finds a block, we look back from that winning share back through all shares submitted by everyone back N diff shares.
It doesn't matter what work or block you were working on for the shares, as long as they were valid shares when submitted.
Any PoW shares you have submitted inside that range are included in your payout calculation.