cazala / coin-hive

CoinHive cryptocurrency miner for node.js
https://www.npmjs.com/package/coin-hive
MIT License
1.98k stars 400 forks source link

optimizing for very short sessions #71

Closed avnerbarr closed 6 years ago

avnerbarr commented 6 years ago

Is there a guideline for dealing with very short sessions , perhaps 1-2 seconds. How does the difficulty impact the effectiveness? Is there something we can do to deal with the short sessions that might happen?

cazala commented 6 years ago

1-2 seconds is too short to achieve anything. So far the best results I've seen for short sessions is mining Electroneum instead of Monero, since pools have a very low difficulty. Check this issue for examples on how to mine ETN: #68

sunk818 commented 6 years ago

Even coinhive with 256 difficulty and accepting all hash means the client has to have 128 H/s to submit a group of 256 hashes.

Electroneum

I think there's an opportunity here for a pool to create a cryptonote multipool. I don't know why no one has done it. Besides XMR, there's so many other coins that has potential and low difficulty. I'm having such a difficulty time trying to get to 0.5 XMR on 500 H/s, but other coins you can mine, hodl other Cryptonight coins, and hope value rises.

cazala commented 6 years ago

Here's an example on how to connect to MineKitten.io ETN Pool: https://github.com/cazala/coin-hive#can-i-mine-other-cryptocurrency-than-monero-xmr

It has a difficulty of 100, that's the lowest I've found so far.