Anyone knows of a good source for poolsoftware ? We would love to install a pool asap.
Hi,
I've just updated the source at
https://github.com/hg5fm/jhPrimeminer with some fixes related to what MrMagic suggested in his previous post.
Now the miner will accept "-getwork" command line parameter that can be used to do the classic solo mining using datacoin wallet and getwork protocol. It also should have some fix that may prevent the wallet crashing problem reported by some users.
A precompiled binary can be found here:
https://mega.co.nz/#!mRMnSAwC!ZoAHgBVIMIOthnRQOq9ukRWWz-hvayNyshB1oXpHcXUCompiling the source can be done using Visual Studio 2008/2010/2012/2013 or by installing the Windows SDK.
If someone doesn't want to install Visual Studio here is a little guide to compile it with windows SDK.
1. Download and install the Microsoft Windows SDK for Windows 7 from:
http://www.microsoft.com/en-us/download/details.aspx?id=82792. Download and extract the jhPrimeminer source code from:
https://github.com/hg5fm/jhPrimeminer/archive/master.zip3. Open the "Windows SDK 7.1 Command Prompt"
4. Change the current directory to the extracted jhPrimeminer source location, for example:
cd C:\jhPrimeminer-master\src
5. Compile the miner with the following command:
msbuild primecoinMiner-vs2010.sln /t:Rebuild /p:Configuration=Release;Platform=x64
The jhPrimeminer.exe will be located under C:\jhPrimeminer-master\src\bin\ directory
In order to run it you will need also the mpir.dll which depends on MS Visual C++ runtime. One can be found in the jhPrimeminer-v8.2.zip mentioned above.
6. Run the miner
jhPrimeminer.exe -o http://127.0.0.1:11777 -u datacoinrpc -p rpcpassword -getwork
Of course replace the username and password with your values specified in the wallet's datacoin.conf
You may want to test that your miner and configuration works well using the datacoin testnet network where the difficulty is very low so you can find block easily.
In order to do this run the latest wallet (I've compiled form the latest code today, earlier versions may not work on testnet) with the following command:
datacoin-qt.exe -testnet -rpcuser=datacoinrpc -rpcpassword=rpcpassword -rpcallowip=*.*.*.* -rpcport=11776
Then run the miner:
jhPrimeminer.exe -o http://127.0.0.1:11776 -u datacoinrpc -p rpcpassword -getwork
Regarding to building the miner with different compilation flags targeting some CPU features like AVX, SSE3, SSE4, etc., I've found no significant performance improvement in my tests.
More important is the version of the mpir.dll that is used by the miner which can lead to 20-30% improvements with specific CPUs.
A package of some precompiled mpir.dll can be found here:
https://mega.co.nz/#!DMdBCSII!ZYAYTzxeNJu_JzKVpUFNa01ehTYfHQHH_leijY28wbQI've also tried to solo mine datacoins with one of the Linux port of the jhPrimeminer that was forked form
https://github.com/hg5fm/jhPrimeminer at an earlier stage. It should support getwork protocol but looks like it is broken now. I'm working on the fix and will post and update when I have something.