z-classic / z-nomp

z-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
MIT License
291 stars 437 forks source link

Question about how to convert H/s to Sol/s #375

Open zefirka opened 5 years ago

zefirka commented 5 years ago

Hello, I'm wonder at this code.

Is this ZEC-specific? Or may be equihash-specific. I have found a lot of contradictory information about how to convert hashes to solutions. Most of people say that 1 H/s is firmly 1 Sol/s, but in this code I found that 1 Sol/s = 0.5 MH/s. I'm completely confused with that.

Can someone explain what is going on about sols and hashes?

TheComputerGenie commented 5 years ago

equihash-specific Colloquially the terms are used interchangeably. On a technical level equihash solves problems, rather than attempting to match random hashes to a known hash, so the term is "solution" to a problem that it solves (because, math) vs "hashes" that are attempted. That's an over-simplified explanation, but it's the "best" short answer.