Skip to content

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

Open
dangershony wants to merge 3 commits into
sonofsatoshi2020:masterfrom
dangershony:parallel-mining
Open

Make the miner work in parallel and add mining output#3
dangershony wants to merge 3 commits into
sonofsatoshi2020:masterfrom
dangershony:parallel-mining

Conversation

@dangershony

@dangershony dangershony commented Jan 23, 2020

Copy link
Copy Markdown

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

dangershony commented Jan 23, 2020

Copy link
Copy Markdown
Author

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
Copy Markdown
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
Copy Markdown

Please add an API for this mining info

@thecrypt0hunter

thecrypt0hunter commented Jan 25, 2020

Copy link
Copy Markdown

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