Hello, I've been mining various altcoins via cpuminer on a couple of pools recently.
Do I understand it correctly that the work done between two 'Stratum detected new block' is lost in case there were no 'yay's in between?
Every time you see a 'yay' it means you submitted a valid share.
When you submit shares, you receive rewards from the pool.
If you don't submit any shares, you don't get paid.