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

Make the miner work in parallel and add mining output #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dangershony
Copy link

@dangershony dangershony commented Jan 23, 2020

I decided to help improve this repo here is a parallel miner branch

@dangershony dangershony changed the title ake the miner work in parallel and add mining output Make the miner work in parallel and add mining output Jan 23, 2020
@dangershony
Copy link
Author

dangershony commented Jan 23, 2020

How to use?
Clone the branch here https://github.com/dangershony/xds/tree/parallel-mining

git clone https://github.com/dangershony/xds.git
cd xds
git checkout parallel-mining

And run the wallet normally as per this instrucitons #2

An additional config parameter was added -minethreads=1 to set the number or processors to use.

@dangershony
Copy link
Author

Improvement :

1 core

Difficulty=0.373231655921, extraNonce=1, hashes=1000000, execution=7.3817458 sec, rate=0.1355 MHash/sec

8 cores

Difficulty=0.834012064445, extraNonce=10, hashes=8000000, execution=9.9832901 sec, rate=0.8013 MHash/sec

@thecrypt0hunter
Copy link

Please add an API for this mining info

@thecrypt0hunter
Copy link

thecrypt0hunter commented Jan 25, 2020

BTW you can clone and checkout in one command:

git clone -b parallel-mining https://github.com/dangershony/xds.git

Also, if you only want to clone the branch then add --single-branch

git clone -b parallel-mining --single-branch https://github.com/dangershony/xds.git

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

Successfully merging this pull request may close these issues.

2 participants