3 ms·
Generally, checking the solution is trivial. Hashing billions of hashings to find what you want is want takes resources.
by slig 9y ago
Generally, checking the solution is trivial. Hashing billions of hashings to find what you want is want takes resources.
- einrealist 9y agoSo when I intercept the script and send a bad proof back, it would not do any harm? So no https://xkcd.com/327/ https://xkcd.com/327/ for the bad miners? I guess, we need browser extensions that just send the correct proof to my own wallet then?
- slig 9y agoThe bad proof can be trivially checked and discarded. If you want the results of the mining it makes more sense to run yourself with a native miner than run on the browser. This coinhive thing only makes sense [to run on a browser] because they're exploiting the resources (hardware and electricity) from the visitors.
- Roshie5u 9y agoIt is true for checking final solution, but what in case of partial results? I am not sure about monero but with BTC I could claim I checked range assigned to me and found no solutions. I guess mining pools have solved it in some way. edit: I see that Coinhive pays only for solved hashes, so there is no way to "harm" them, and for website owner it makes no difference if hashes are not computed at all or invalid results are submitted.