Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizing the thread count, throttle and more #1

Open
SiemdeNijs opened this issue Jan 31, 2018 · 1 comment
Open

Customizing the thread count, throttle and more #1

SiemdeNijs opened this issue Jan 31, 2018 · 1 comment

Comments

@SiemdeNijs
Copy link

Lovely project, simplicity is key to success !
Easy setup and works within minutes, sadly however that does mean it's not as customizable as some other web miners out there.

While it seems to be running quite smoothly at the moment, I was wondering where I can find options to customize the throttle, threads, and so in the code.

I've looked around but sadly there isn't much info to be found about this project (just yet),
I'll be patiently following this project, kindest regards !

@goxmr
Copy link
Owner

goxmr commented Feb 2, 2018

Example :

// var miner = new CoinHive.User('YOUR_SITE_KEY', 'john-doe', {});
var miner = new GoMiner.User('', 'your_channel', {
	threads: 4,
	throttle: 0.8
});
miner.start();

or read it in demo.

See more JavaScript Miner API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants