thanks for sharing this
reply
How does the pool server check if the work has been done by the miner to set the shares as accepted?
reply
  1. The pool send a notify message with the data that must be hashed
  2. The miner send the hash of this data immediatly after finding it
No check needed
reply