I'm mining XMR with my CPU, and my hash rate is around 150h/s (i5). i installed coinhive on a website and the hashrate is 50h/s. why this difference?
Maybe the mining script running on javascript isn't as efficient?
How can i calculate the result based on the payment method of coinhive which is 0.000029 XMR per 1Million hashes?
Don't you just need to set the pool fee to 30%, as Coinhive keeps that? From your calculation you should be able to end up with 20.89 XMR, so just multiply that by 0.7, which is the percentage you keep, and you should get 14.623 XMR.
I might be misunderstanding everything here so feel free to clear things up.