Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: maxsolnc on December 09, 2013, 09:41:00 AM



Title: [Datacoin] External miner released!
Post by: maxsolnc on December 09, 2013, 09:41:00 AM
Hi community,

I'm glad to say that mumus (https://bitcointalk.org/index.php?action=profile;u=127442) released his version of jhPrimeminer there: https://github.com/hg5fm/jhPrimeminer
Quote from: mumus
Yes, the hg5fm is my repo and of course you can use the miner and the code freely.

MrMagic (https://bitcointalk.org/index.php?action=profile;u=3986) gave us this link and additional info about mining:

Quote from: MrMagic
The only changes I had to make were adding transaction.h and transaction.cpp to the project and setting useGetBlockTemplate = false. I compiled using x64-AVX in Visual Studio 2012 Express.

To start mining you need to open the debug console on your server wallet and put "setgenerate true 0". Now you can point your miner at the wallet and start mining.

I tested on testnet with a few PCs and watched the mined blocks roll in. I have been running on mainnet on all my PCs for about 24 hours and I mined one block so far.

So now you don't need to have separate wallet on each mining machine, and it is big step ahead to getting pools up and running! Many thanks to Mumus!

Edit:
Quote from: mumus
This code was originally written and forked from the repository of jh00 (the owner of ypool.net). <...>
My DTC address is: DUEXtM7PGck5rLWmVPo8CTPSrRHXiv5UGW


Title: Re: [Datacoin] External miner released!
Post by: Palmdetroit on December 09, 2013, 09:45:24 AM

 ;)


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 09, 2013, 10:50:08 AM

 ;)

A lot of good news and DTC applications will be released this week ;) But this one was a surprise, really.


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 09, 2013, 12:34:41 PM
Unified instruction about building this miner both under Linux\Windows will be released soon.


Title: Re: [Datacoin] External miner released!
Post by: carajillu on December 09, 2013, 12:40:05 PM
Any info about pools?? Waiting for them while solomining at 500 primes per sec hihi :)


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 09, 2013, 12:42:09 PM
Any info about pools?? Waiting for them while solomining at 500 primes per sec hihi :)
This miner is one more step to pools. As I promised, when we have any working pool (even in beta mode), I'll announce that immediately.


Title: Re: [Datacoin] External miner released!
Post by: carajillu on December 09, 2013, 01:28:59 PM
Any info about pools?? Waiting for them while solomining at 500 primes per sec hihi :)
This miner is one more step to pools. As I promised, when we have any working pool (even in beta mode), I'll announce that immediately.

Thanks!


Title: Re: [Datacoin] External miner released!
Post by: Snard on December 09, 2013, 01:40:02 PM
So what does this allow? Multiple computers to mine a single block via getwork?


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 09, 2013, 01:46:54 PM
So what does this allow? Multiple computers to mine a single block via getwork?
Yep, just wallet on one computer and miners on all others.


Title: Re: [Datacoin] External miner released!
Post by: Gontxi on December 09, 2013, 01:48:39 PM
do you know how to compile it under linux ubuntu?


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 09, 2013, 02:18:06 PM
do you know how to compile it under linux ubuntu?

Current version (in OP) is only for MS VS, but mumus said that he'll try today to add this DTC code to linux port of primeminer.


Title: Re: [Datacoin] External miner released!
Post by: sugarkey on December 09, 2013, 05:05:23 PM
I don't know how to compile it. Can somebody post a version for windows x64? THX a lot!!!


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 09, 2013, 07:39:56 PM
I don't know how to compile it. Can somebody post a version for windows x64? THX a lot!!!

Here is the version I am using. It is compiled for x64-AVX processors. I have mined 3 blocks so far using this. If anyone wants the source I can create a repo and post it. The only changes I made are the ones I posted above and some stat output formatting changes.

https://dl.dropboxusercontent.com/u/20044454/DatacoinMiner.zip (https://dl.dropboxusercontent.com/u/20044454/DatacoinMiner.zip)


Title: Re: [Datacoin] External miner released!
Post by: Snard on December 09, 2013, 07:44:43 PM
I personally would love to see the source. What is the dll for?

Also can you give information on how to compile?


Title: Re: [Datacoin] External miner released!
Post by: ig0tik3d on December 09, 2013, 07:50:14 PM
what is command line for solo mining?


Title: Re: [Datacoin] External miner released!
Post by: sugarkey on December 09, 2013, 08:17:27 PM
I don't know how to compile it. Can somebody post a version for windows x64? THX a lot!!!

Here is the version I am using. It is compiled for x64-AVX processors. I have mined 3 blocks so far using this. If anyone wants the source I can create a repo and post it. The only changes I made are the ones I posted above and some stat output formatting changes.

https://dl.dropboxusercontent.com/u/20044454/DatacoinMiner.zip (https://dl.dropboxusercontent.com/u/20044454/DatacoinMiner.zip)



thx! Did I need to write something in the datacoin.conf?


Title: Re: [Datacoin] External miner released!
Post by: Tenchi on December 09, 2013, 08:22:40 PM
I don't know how to compile it. Can somebody post a version for windows x64? THX a lot!!!

Here is the version I am using. It is compiled for x64-AVX processors. I have mined 3 blocks so far using this. If anyone wants the source I can create a repo and post it. The only changes I made are the ones I posted above and some stat output formatting changes.

https://dl.dropboxusercontent.com/u/20044454/DatacoinMiner.zip (https://dl.dropboxusercontent.com/u/20044454/DatacoinMiner.zip)


thanks a lot kind sir


Title: Re: [Datacoin] External miner released!
Post by: Jaayzz on December 09, 2013, 08:44:49 PM
Is it just me or is the forum broken?


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 09, 2013, 08:47:05 PM
I will get the source up asap.

The dll is for Multiple Precision Integers and Rationals (mpir). This is a library that is used to give a performance boost for computing the primes (from what I understand of the code).

Instructions for compiling from https://github.com/hg5fm/jhPrimeminer

Needed tools:
 - Visual Studio 2012 Express or above
    - The compiled version I just posted was compiled using Visual Studio 2013 Professional, but I have also compiled it using    VS2012 Express)
    - You may be able to compile it using a lower version of Visual Studio such as 2010.

1) Download the source code to your machine
2) Open up the primecoinMiner.sln
3) Add transaction.h to the "Header files" in the project by right clicking on "Header files" -> Add -> Existing item -> transaction.h (located in the same folder as the project)
4) Add transaction.cpp to "Source files" the same way you did transaction.h
5) Open main.cpp and look at the top of the file for "bool useGetBlockTemplate = true;" change it to "bool useGetBlockTemplate = false;"
6) At the top of the VS window change the drop down that says "Debug" to "Release-AVX"
7) Make sure Platform is set to x64
8) Right click on "jhPrimeminer" project in Visual Studio -> Properties
9) In the right panel of "Solution 'primecoinMiner' Property Pages click "General" under "Configuration Properties". Make sure platform toolset is set to the correct version. (For example, I am using VS 2013, so I use toolset "Visual Studio 2013 (v120)"
10) Under C/C++ -> Optimization I have Optimization: Maximize Speed, Inline function expansion: Any Suitable, Enable intrinsic functions: Yes, Favor Size or Speed: Favor fast code, Omit frame pointers: No, Enable fiber-safe optimizations: No, Whole program optimization: Yes (/GL)
11) Under C/C++ -> Code Generation  Change Enabled Enchanced Instruction Set to AVX or SSE2 depending on your CPU's architecture.
12) Under C/C++ -> General I also enable Multi-processor compiliation to speed up the compile time because I am impatient.

Everything should compile and then you are good to go!


Title: Re: [Datacoin] External miner released!
Post by: ig0tik3d on December 09, 2013, 08:51:52 PM
after about 5-7 min crashing wallet when solo mining with this miner.. (( has the same problem somebody?


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 09, 2013, 08:52:44 PM
I don't know how to compile it. Can somebody post a version for windows x64? THX a lot!!!

Here is the version I am using. It is compiled for x64-AVX processors. I have mined 3 blocks so far using this. If anyone wants the source I can create a repo and post it. The only changes I made are the ones I posted above and some stat output formatting changes.

https://dl.dropboxusercontent.com/u/20044454/DatacoinMiner.zip (https://dl.dropboxusercontent.com/u/20044454/DatacoinMiner.zip)



thx! Did I need to write something in the datacoin.conf?

These are the settings you need in datacoin.conf to be able to connect the miner to your wallet.

server=1
rpcallowip=*(or whatever IP the miners will be connecting from)
rpcport=<port> (whatever port you choose to open for the miners to connect to your wallet)
rpcuser=<username> (whatever username you want)
rpcpassword=<password> (whatever password you want)

Example:
server=1
rpcallowip=*
rpcport=4778
rpcuser=DatacoinMiner
rpcpassword=MinerPassword

Then you can connect the miner to your wallet using "DatacoinMiner.exe -o http://localhost:4778 -u DatacoinMiner -p MinerPassword"


*Edit: I am using rpcport 9199 on my own miners.


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 09, 2013, 08:56:31 PM
after about 5-7 min crashing wallet when solo mining with this miner.. (( has the same problem somebody?

Hmm strange. I have been running for about 2 days with about 12 machines connected with no problems. 3 blocks mined so far.

Which version of the wallet are you running? I am running the latest QT wallet from here http://sourceforge.net/projects/datacoin/files/datacoin-qt-131204.zip/download (http://sourceforge.net/projects/datacoin/files/datacoin-qt-131204.zip/download)


Title: Re: [Datacoin] External miner released!
Post by: Ardolafat on December 09, 2013, 09:16:48 PM
So we can make a private pool with someones wallet ?


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 09, 2013, 09:18:26 PM
So we can make a private pool with someones wallet ?

Yes. I have 12 machines running on my one wallet.


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 09, 2013, 09:48:06 PM
@MrMagic:

Good job!
I was able to sucessfully compile it with VS2013 in AVX & non-AVX versions.


Title: Re: [Datacoin] External miner released!
Post by: pythonista on December 09, 2013, 09:53:07 PM
Can someone explain this to me:

Datacoin allows anyone to place entire files permanently in its blockchain - so how long until someone uploads illegal material and then everyone who runs a Datacoin node can be arrested?


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 09, 2013, 10:05:24 PM
Can someone explain this to me:

Datacoin allows anyone to place entire files permanently in its blockchain - so how long until someone uploads illegal material and then everyone who runs a Datacoin node can be arrested?

I answered this questions a lot of times. Firstly, all coins that support messages and small data can contain such content - Namecoin for example.
Secondly, files stored in blockchain are not just files on your harddrive - they're turned into blobs and encrypted into blockchain. You need special soft (wallet) to get these files, so it cannot be easily proved that you have some illegal content. I can write a program that takes definite bytes from Windows common files and writes them to file '1.jpg'. This program won't contain any such content, but if you run it, you can get illegal picture from windows common files. So do you think that all Windows users can be arrested in such a way? :)


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 09, 2013, 10:33:20 PM
And lets say it:

Illegal content is only illegal from someones point of view.

We all agree that pedobear is bad guy, but we all agree that some documents should be acessible to all, even if some people say they are secret.

We are making free decentralised data service, which cant be closed that easily.

We are making Internet more free.





Title: Re: [Datacoin] External miner released!
Post by: sugarkey on December 10, 2013, 06:21:57 AM
did anyone have active testnet node? my wallet in testnet cannot sync...

I just want to check my config is right, so I want test it in testnet.


Title: Re: [Datacoin] External miner released!
Post by: mumus on December 10, 2013, 03:14:20 PM
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-hvayNyshB1oXpHcXU (https://mega.co.nz/#!mRMnSAwC!ZoAHgBVIMIOthnRQOq9ukRWWz-hvayNyshB1oXpHcXU)
Compiling 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=8279 (http://www.microsoft.com/en-us/download/details.aspx?id=8279)
2. Download and extract the jhPrimeminer source code from: https://github.com/hg5fm/jhPrimeminer/archive/master.zip (https://github.com/hg5fm/jhPrimeminer/archive/master.zip)
3. Open the "Windows SDK 7.1 Command Prompt"
4. Change the current directory to the extracted jhPrimeminer source location, for example:
Code:
cd C:\jhPrimeminer-master\src
5. Compile the miner with the following command:
Code:
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
Code:
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:
Code:
datacoin-qt.exe -testnet -rpcuser=datacoinrpc -rpcpassword=rpcpassword -rpcallowip=*.*.*.* -rpcport=11776
Then run the miner:
Code:
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_leijY28wbQ (https://mega.co.nz/#!DMdBCSII!ZYAYTzxeNJu_JzKVpUFNa01ehTYfHQHH_leijY28wbQ)

I'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.



Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 10, 2013, 07:41:04 PM
Thank you mumus for fast reply!


Title: Re: [Datacoin] External miner released!
Post by: cryptrol on December 10, 2013, 09:46:35 PM
Can someone explain this to me:

Datacoin allows anyone to place entire files permanently in its blockchain - so how long until someone uploads illegal material and then everyone who runs a Datacoin node can be arrested?
There is (at least) one wiki*eaks document (a leaked document) stored into the bitcoin blockchain.


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 11, 2013, 03:04:56 AM
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-hvayNyshB1oXpHcXU (https://mega.co.nz/#!mRMnSAwC!ZoAHgBVIMIOthnRQOq9ukRWWz-hvayNyshB1oXpHcXU)
Compiling 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=8279 (http://www.microsoft.com/en-us/download/details.aspx?id=8279)
2. Download and extract the jhPrimeminer source code from: https://github.com/hg5fm/jhPrimeminer/archive/master.zip (https://github.com/hg5fm/jhPrimeminer/archive/master.zip)
3. Open the "Windows SDK 7.1 Command Prompt"
4. Change the current directory to the extracted jhPrimeminer source location, for example:
Code:
cd C:\jhPrimeminer-master\src
5. Compile the miner with the following command:
Code:
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
Code:
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:
Code:
datacoin-qt.exe -testnet -rpcuser=datacoinrpc -rpcpassword=rpcpassword -rpcallowip=*.*.*.* -rpcport=11776
Then run the miner:
Code:
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_leijY28wbQ (https://mega.co.nz/#!DMdBCSII!ZYAYTzxeNJu_JzKVpUFNa01ehTYfHQHH_leijY28wbQ)

I'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.



Nice! Thanks for the update mumus. I also tested with different arch builds but couldn't see any noticeable difference either. Funny that you mentioned messing with mpir as I was looking at that next for any performance increases. I suppose this is why you chose to link it using dll instead of lib, so that the dll could be replaced easily by end users. Curious though how you built mpir for sandy bridge. I did not see that in the visual studio project provided on the mpir site. The reason I ask is I would like to build a haswell dll if possible.

Thanks again!

*Edit: Just tested sandy bridge mpir.dll on my 4770 (Haswell) and some 3770s (Ivy bridge) and it appears to give about 3x performance (based on 3/4 ch/hr) over the stock dll that was with the repo.


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 11, 2013, 06:08:42 AM
seems that solo mining with home computers can be profitable again? ;)


Title: Re: [Datacoin] External miner released!
Post by: Adrenalin on December 11, 2013, 07:35:58 AM
Has somebody found any block with this miner yet?


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 11, 2013, 07:40:20 AM
Has somebody found any block with this miner yet?
5 and counting. Literally just got one 23 minutes ago.


Title: Re: [Datacoin] External miner released!
Post by: sugarkey on December 11, 2013, 07:49:43 AM
Has somebody found any block with this miner yet?
5 and counting. Literally just got one 23 minutes ago.

How many PCs you got?


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 11, 2013, 07:55:35 AM
Has somebody found any block with this miner yet?
5 and counting. Literally just got one 23 minutes ago.

How many PCs you got?

Currently running 6 cores on (1) i7-4770 and 7 cores on (12) i7-3770. I save the last core on the 3770s for gpu litecoin mining overhead.


Title: Re: [Datacoin] External miner released!
Post by: relm9 on December 11, 2013, 08:08:30 AM
Quick question: is the chainsperday stat on the datacoin daemon supposed to give a reading when you are using an external miner?

I'm just wondering because mine is sitting at 0, other than that everything seems to be working correctly. I got a big boost from using the Sandy Bridge mpir on my i7 4770 as well.


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 11, 2013, 08:24:21 AM
Quick question: is the chainsperday stat on the datacoin daemon supposed to give a reading when you are using an external miner?

I'm just wondering because mine is sitting at 0, other than that everything seems to be working correctly. I got a big boost from using the Sandy Bridge mpir on my i7 4770 as well.

No. The chains per day stat is generated by the internal mining code of the wallet.


Title: Re: [Datacoin] External miner released!
Post by: sugarkey on December 11, 2013, 08:41:09 AM
Has somebody found any block with this miner yet?
5 and counting. Literally just got one 23 minutes ago.

How many PCs you got?

Currently running 6 cores on (1) i7-4770 and 7 cores on (12) i7-3770. I save the last core on the 3770s for gpu litecoin mining overhead.

wooow, how much times when you get 5 blocks on these PCs?

And what's the "ACC" mean?


Title: Re: [Datacoin] External miner released!
Post by: LeftToeCut on December 11, 2013, 09:15:48 AM
linux pretty please?


Title: Re: [Datacoin] External miner released!
Post by: mumus on December 11, 2013, 09:37:36 AM
linux pretty please?
I'm still fighting with the native Linux version but meantime I would suggest running the windows version with wine


Title: Re: [Datacoin] External miner released!
Post by: Sharky444 on December 11, 2013, 12:25:00 PM
I was mining with jhPrimeminer for the last 24h with 6 PCs (core i5-i7). Found two blocks, or in other words paid as much for electricity as the coin value is (probably even a loss). Don't know if jhPrimeminer is the cause. Was mining with datacoind 2 weeks ago (diff was less) and had 6 blocks with 6 PCs in 24h.


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 11, 2013, 12:32:33 PM
I was mining with jhPrimeminer for the last 24h with 6 PCs (core i5-i7). Found two blocks, or in other words paid as much for electricity as the coin value is (probably even a loss). Don't know if jhPrimeminer is the cause. Was mining with datacoind 2 weeks ago (diff was less) and had 6 blocks with 6 PCs in 24h.
2 weeks ago diff was much lower...


Title: Re: [Datacoin] External miner released!
Post by: Sharky444 on December 11, 2013, 01:05:39 PM
I've just checked the logs, the diff was 9.6.


Title: Re: [Datacoin] External miner released!
Post by: TheMightyX on December 11, 2013, 01:30:55 PM
Hey guys,
I'm having trouble getting this to work?
I've created a datacoind.conf file and put it in the datacoin directory.
I've added:

server=1
rpcallowip=*
rpcport=9199
rpcuser=USERNAME
rpcpassword=PASSWORD

to it and added a .bat file to the miner's folder with this:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD

It crashes with error "GetBlockTemplate mode requires -xpm parameter".
What am I missing? Can anyone give me the proper structure of the jhPrimeminer batch file?
For non-ATX version if that matters.

I got the miner from this link in this thread:
https://mega.co.nz/#!mRMnSAwC!ZoAHgBVIMIOthnRQOq9ukRWWz-hvayNyshB1oXpHcXU
Any help is appreciated.
Thanks!


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 11, 2013, 01:33:17 PM
I've just checked the logs, the diff was 9.6.
9.7489277 is much more than 9.6. This difference can lead to 3x-6x less coins per day. Remember that diff is not linear, but exponential


Title: Re: [Datacoin] External miner released!
Post by: ig0tik3d on December 11, 2013, 01:33:32 PM
Hey guys,
I'm having trouble getting this to work?
I've created a datacoind.conf file and put it in the datacoin directory.
I've added:

server=1
rpcallowip=*
rpcport=9199
rpcuser=USERNAME
rpcpassword=PASSWORD

to it and added a .bat file to the miner's folder with this:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD

It crashes with error "GetBlockTemplate mode requires -xpm parameter".
What am I missing? Can anyone give me the proper structure of the jhPrimeminer batch file?
For non-ATX version if that matters.

I got the miner from this link in this thread:
https://mega.co.nz/#!mRMnSAwC!ZoAHgBVIMIOthnRQOq9ukRWWz-hvayNyshB1oXpHcXU
Any help is appreciated.
Thanks!
Code:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD -getwork


Title: Re: [Datacoin] External miner released!
Post by: TheMightyX on December 11, 2013, 02:34:37 PM
Hey guys,
I'm having trouble getting this to work?
I've created a datacoind.conf file and put it in the datacoin directory.
I've added:

server=1
rpcallowip=*
rpcport=9199
rpcuser=USERNAME
rpcpassword=PASSWORD

to it and added a .bat file to the miner's folder with this:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD

It crashes with error "GetBlockTemplate mode requires -xpm parameter".
What am I missing? Can anyone give me the proper structure of the jhPrimeminer batch file?
For non-ATX version if that matters.

I got the miner from this link in this thread:
https://mega.co.nz/#!mRMnSAwC!ZoAHgBVIMIOthnRQOq9ukRWWz-hvayNyshB1oXpHcXU
Any help is appreciated.
Thanks!
Code:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD -getwork

Thanks ig0tik3d, but I already tried the -getwork tag with no success.
with that tag it stays open, but It repeats these two errors over and over:
Getwork() failed with error code 1
getblockcount() failed with error code 1

I'm not sure whats wrong...
I've set the datacoin wallet to setgenerate true 0 and its open...
Any other ideas?


Title: Re: [Datacoin] External miner released!
Post by: mumus on December 11, 2013, 03:30:19 PM

Thanks ig0tik3d, but I already tried the -getwork tag with no success.
with that tag it stays open, but It repeats these two errors over and over:
Getwork() failed with error code 1
getblockcount() failed with error code 1

I'm not sure whats wrong...
I've set the datacoin wallet to setgenerate true 0 and its open...
Any other ideas?
Try adding to the datacoin.conf file rpcallowip=127.0.0.1 then restart the datacoin wallet and run the miner again with the -getwork parameter.


Title: Re: [Datacoin] External miner released!
Post by: Snard on December 11, 2013, 03:49:59 PM
Mumus, any eta on linux version?


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 11, 2013, 04:10:32 PM
Hey guys,
I'm having trouble getting this to work?
I've created a datacoind.conf file and put it in the datacoin directory.
I've added:

server=1
rpcallowip=*
rpcport=9199
rpcuser=USERNAME
rpcpassword=PASSWORD

to it and added a .bat file to the miner's folder with this:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD

It crashes with error "GetBlockTemplate mode requires -xpm parameter".
What am I missing? Can anyone give me the proper structure of the jhPrimeminer batch file?
For non-ATX version if that matters.

I got the miner from this link in this thread:
https://mega.co.nz/#!mRMnSAwC!ZoAHgBVIMIOthnRQOq9ukRWWz-hvayNyshB1oXpHcXU
Any help is appreciated.
Thanks!
Code:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD -getwork

Thanks ig0tik3d, but I already tried the -getwork tag with no success.
with that tag it stays open, but It repeats these two errors over and over:
Getwork() failed with error code 1
getblockcount() failed with error code 1

I'm not sure whats wrong...
I've set the datacoin wallet to setgenerate true 0 and its open...
Any other ideas?

Check to make sure that port is open on your router if your miner is on a different network than your wallet.


Title: Re: [Datacoin] External miner released!
Post by: cryptrol on December 11, 2013, 04:12:37 PM
Hey guys,
I'm having trouble getting this to work?
I've created a datacoind.conf file and put it in the datacoin directory.
I've added:

server=1
rpcallowip=*
rpcport=9199
rpcuser=USERNAME
rpcpassword=PASSWORD

to it and added a .bat file to the miner's folder with this:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD

It crashes with error "GetBlockTemplate mode requires -xpm parameter".
What am I missing? Can anyone give me the proper structure of the jhPrimeminer batch file?
For non-ATX version if that matters.

I got the miner from this link in this thread:
https://mega.co.nz/#!mRMnSAwC!ZoAHgBVIMIOthnRQOq9ukRWWz-hvayNyshB1oXpHcXU
Any help is appreciated.
Thanks!
Code:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD -getwork

Thanks ig0tik3d, but I already tried the -getwork tag with no success.
with that tag it stays open, but It repeats these two errors over and over:
Getwork() failed with error code 1
getblockcount() failed with error code 1

I'm not sure whats wrong...
I've set the datacoin wallet to setgenerate true 0 and its open...
Any other ideas?

Check to make sure that port is open on your router if your miner is on a different network than your wallet.
should be datacoin.conf


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 11, 2013, 04:17:56 PM
Hey guys,
I'm having trouble getting this to work?
I've created a datacoind.conf file and put it in the datacoin directory.
I've added:

server=1
rpcallowip=*
rpcport=9199
rpcuser=USERNAME
rpcpassword=PASSWORD

to it and added a .bat file to the miner's folder with this:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD

It crashes with error "GetBlockTemplate mode requires -xpm parameter".
What am I missing? Can anyone give me the proper structure of the jhPrimeminer batch file?
For non-ATX version if that matters.

I got the miner from this link in this thread:
https://mega.co.nz/#!mRMnSAwC!ZoAHgBVIMIOthnRQOq9ukRWWz-hvayNyshB1oXpHcXU
Any help is appreciated.
Thanks!
Code:
jhPrimeminer.exe -o http://localhost:9199 -u USERNAME -p PASSWORD -getwork

Thanks ig0tik3d, but I already tried the -getwork tag with no success.
with that tag it stays open, but It repeats these two errors over and over:
Getwork() failed with error code 1
getblockcount() failed with error code 1

I'm not sure whats wrong...
I've set the datacoin wallet to setgenerate true 0 and its open...
Any other ideas?

Check to make sure that port is open on your router if your miner is on a different network than your wallet.
should be datacoin.conf

Just because you put the port in the datacoin.conf does not make it open on your router. You will need to go to your router administration page (192.168.1.1 for example) , and forward the port to your machine. Remember you will only need to forward the port if your miners are in a different network than your wallet.


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 11, 2013, 09:40:54 PM
Comeon guys, he doesnt need any ports open, he doesnt even need router in theory, hes mining on LOCALHOST - 127.0.0.1


Title: Re: [Datacoin] External miner released!
Post by: mumus on December 11, 2013, 09:46:14 PM
Mumus, any eta on linux version?

Almost done, still need some extra time because it's not stable. Because I need also some sleep I guess in about 12h I will try to push some sources out.


Title: Re: [Datacoin] External miner released!
Post by: Snard on December 11, 2013, 09:56:55 PM
I would be happy to help if your looking for some beta testers.


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 11, 2013, 10:48:00 PM
Comeon guys, he doesnt need any ports open, he doesnt even need router in theory, hes mining on LOCALHOST - 127.0.0.1


Didn't notice he was mining on localhost. I know you don't need to open ports if on localhost which is why I put "if your miner is on a different network than your wallet".


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 12, 2013, 06:41:45 AM
I'm also waiting linux version, want to check some things...


Title: Re: [Datacoin] External miner released!
Post by: mumus on December 12, 2013, 08:31:14 AM
Hi,
Regarding to the Linux miner I've just found out that my last day work was a little useless because tandyuk in his repository already merged the relevant changes to a different branch that works also with datacoin. Source is here: https://github.com/tandyuk/jhPrimeminer/tree/mumu-v8 (https://github.com/tandyuk/jhPrimeminer/tree/mumu-v8)
Building instructions can be found also there. (This version doesn't requires the "-getwork" parameter)
There are still problems with solo mining on the Linux builds in general because of some communication problems with the wallet. Each request to the wallet takes at least 2 sec and the connection is not closed correctly as a result the miner doesn't gets the new block notification in time and also may result in crashing the wallet. I'm working on fixing this issue.

-M


Title: Re: [Datacoin] External miner released!
Post by: Palmdetroit on December 12, 2013, 09:09:12 AM
Hi,
Regarding to the Linux miner I've just found out that my last day work was a little useless because tandyuk in his repository already merged the relevant changes to a different branch that works also with datacoin. Source is here: https://github.com/tandyuk/jhPrimeminer/tree/mumu-v8 (https://github.com/tandyuk/jhPrimeminer/tree/mumu-v8)
Building instructions can be found also there. (This version doesn't requires the "-getwork" parameter)
There are still problems with solo mining on the Linux builds in general because of some communication problems with the wallet. Each request to the wallet takes at least 2 sec and the connection is not closed correctly as a result the miner doesn't gets the new block notification in time and also may result in crashing the wallet. I'm working on fixing this issue.

-M


Thanks mumus!


Title: Re: [Datacoin] External miner released!
Post by: Gontxi on December 12, 2013, 09:16:38 AM
I'm also waiting linux version, want to check some things...
So do I... Wanna try to run it on my 100 ubuntu 10.04 machines  ::)


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 12, 2013, 09:23:33 AM
I'm also waiting linux version, want to check some things...
So do I... Wanna try to run it on my 100 ubuntu 10.04 machines  ::)
As I understand, it will be possible very soon ;)


Title: Re: [Datacoin] External miner released!
Post by: Gontxi on December 12, 2013, 09:28:02 AM
I'm also waiting linux version, want to check some things...
So do I... Wanna try to run it on my 100 ubuntu 10.04 machines  ::)
As I understand, it will be possible very soon ;)
Like this weekend? :)


Title: Re: [Datacoin] External miner released!
Post by: mumus on December 12, 2013, 09:34:22 AM

Nice! Thanks for the update mumus. I also tested with different arch builds but couldn't see any noticeable difference either. Funny that you mentioned messing with mpir as I was looking at that next for any performance increases. I suppose this is why you chose to link it using dll instead of lib, so that the dll could be replaced easily by end users. Curious though how you built mpir for sandy bridge. I did not see that in the visual studio project provided on the mpir site. The reason I ask is I would like to build a haswell dll if possible.

Thanks again!

*Edit: Just tested sandy bridge mpir.dll on my 4770 (Haswell) and some 3770s (Ivy bridge) and it appears to give about 3x performance (based on 3/4 ch/hr) over the stock dll that was with the repo.

BTW The mpir package I've linked is not built by me, I've took from Rdebourbon's doropbox. https://www.dropbox.com/sh/sq24hzo993afy9c/l7icP0KiuM
He also got it from somewhere else.
I've also tried to build them with the latest sources and VS2013 but I the test results wasn't so good so I'm just using the dlls from the package. 


Title: Re: [Datacoin] External miner released!
Post by: TheMightyX on December 12, 2013, 10:20:44 AM
Thank you all so much for your suggestions.
Still no go on the miner.

This is my datacoin.conf file:

server=1
rpcallowip=127.0.0.1
rpcport=9199
rpcuser=USER
rpcpassword=PASS

and my .bat file:
jhPrimeminer.exe -o http://127.0.0.1:9199 -u USER -p PASS -getwork

The .conf file is in the same folder as the datacoin-qt file.
Open up the wallet, type setgenerate true 0. Run miner.
Getwork() failed with error code 1
getblockcount() failed with error code 1
getblockcount() failed with error code 1
Getwork() failed with error code 1
getblockcount() failed with error code 1
getblockcount() failed with error code 1
Getwork() failed with error code 1
getblockcount() failed with error code 1
getblockcount() failed with error code 1

Super annoying. What am I doing wrong? Everything looks right...


Title: Re: [Datacoin] External miner released!
Post by: mumus on December 12, 2013, 10:39:19 AM
Thank you all so much for your suggestions.
Still no go on the miner.

This is my datacoin.conf file:

server=1
rpcallowip=127.0.0.1
rpcport=9199
rpcuser=USER
rpcpassword=PASS

and my .bat file:
jhPrimeminer.exe -o http://127.0.0.1:9199 -u USER -p PASS -getwork

The .conf file is in the same folder as the datacoin-qt file.
Open up the wallet, type setgenerate true 0. Run miner.
Getwork() failed with error code 1
getblockcount() failed with error code 1
getblockcount() failed with error code 1
Getwork() failed with error code 1
getblockcount() failed with error code 1
getblockcount() failed with error code 1
Getwork() failed with error code 1
getblockcount() failed with error code 1
getblockcount() failed with error code 1

Super annoying. What am I doing wrong? Everything looks right...

First you don't need the setgenerate true 0
setgenerate is controlling the internal miner of the wallet. We don't want to touch this now.
To check if your wallet is responding you may execute the following command from command prompt:
telnet 127.0.0.1 9199
If it connects without an error you should see a blank screen, otherwise you'll get some error message from telnet or from the wallet.
(in newer windows Telnet is a feature that you may need to add separately in the "Turn Windows features on or off / Telnet Client")


Title: Re: [Datacoin] External miner released!
Post by: cryptrol on December 12, 2013, 10:51:58 AM
The .conf file is in the same folder as the datacoin-qt file.

You should place the datacoin.conf file in %appdata%/datacoin/ not in the place of the qt wallet

Just press the windowskey + R and type %appdata% , this will open a window with some directories, search for datacoin and put the file inside that dir.


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 12, 2013, 11:04:16 AM
Go to your datacoin wallet.dat dir.
Get there fast pressing Win+R on your keyboard and paste there this:

%appdata%/datacoin/

You should be in correct directory now.
Your sohuld see wallet.dat file.

Assuming your datacoin.conf file is where your .exe file is just copy&paste it.

Voila.



Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 12, 2013, 12:42:25 PM
checked - it works for me. Waiting for linux :)


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 12, 2013, 12:49:14 PM
I've compiled linux version on 16-core Xeon. Well, it works fast, new shares coming at light speed :-D
But when it found 9-chain share it crashed server-wallet on other Windows machine :-P No reward.




Title: Re: [Datacoin] External miner released!
Post by: mumus on December 12, 2013, 12:51:41 PM
I've compiled linux version on 16-core Xeon. Well, it works fast, new shares coming at light speed :-D
But when it found 9-chain share it crashed server-wallet on other Windows machine :-P No reward.




See if it works on testnet.


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 12, 2013, 01:13:18 PM
@mumus:

omw, waiting on testnet nodes... no block sources so far.


Title: Re: [Datacoin] External miner released!
Post by: mumus on December 12, 2013, 01:27:33 PM
@mumus:

omw, waiting on testnet nodes... no block sources so far.


I have a fully synchronized node on 84.228.200.63 and I'm also connected to 2 additional nodes: 144.76.123.194, 108.61.57.80.


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 12, 2013, 01:54:49 PM
@mumus:

omw, waiting on testnet nodes... no block sources so far.


I have a fully synchronized node on 84.228.200.63 and I'm also connected to 2 additional nodes: 144.76.123.194, 108.61.57.80.

Now I'm stuck 5 hours behind, 1st node wont connect, others work.
End of work time, I'll check it from home.




Title: Re: [Datacoin] External miner released!
Post by: mumus on December 12, 2013, 01:57:51 PM
@mumus:

omw, waiting on testnet nodes... no block sources so far.


I have a fully synchronized node on 84.228.200.63 and I'm also connected to 2 additional nodes: 144.76.123.194, 108.61.57.80.

Now I'm stuck 5 hours behind, 1st node wont connect, others work.
End of work time, I'll check it from home.




5h is OK. that was the last block on the network probably generated by me.


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 12, 2013, 02:44:01 PM
@mumus:

Launching miner...
GeneratePrimeTable() : prime table [1, 1024000] generated with 80265 primes
Sieve Percentage: 10 %
Connecting to '192.168.1.9'
Using 16 threads
...
12/12/13 - 15:41:37 - BLOCK FOUND !!!  ---  DIFF: 4.182225
12/12/13 - 15:41:37 - BLOCK FOUND !!!  ---  DIFF: 4.833495
12/12/13 - 15:41:37 - BLOCK FOUND !!!  ---  DIFF: 4.781809
12/12/13 - 15:41:37 - BLOCK FOUND !!!  ---  DIFF: 4.303167
12/12/13 - 15:41:37 - BLOCK FOUND !!!  ---  DIFF: 4.852484
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 4.589727
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 4.592231
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 4.588938
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 3.999909
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 4.539683
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 4.318132
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 4.434887
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 4.308080
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 4.698851
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 4.799922
12/12/13 - 15:41:38 - BLOCK FOUND !!!  ---  DIFF: 4.266145


Title: Re: [Datacoin] External miner released!
Post by: TheMightyX on December 12, 2013, 04:47:29 PM
The .conf file is in the same folder as the datacoin-qt file.

You should place the datacoin.conf file in %appdata%/datacoin/ not in the place of the qt wallet

Just press the windowskey + R and type %appdata% , this will open a window with some directories, search for datacoin and put the file inside that dir.

Ahh great, now I feel like an idiot.
I assumed it checked the current directory first.


Title: Re: [Datacoin] External miner released!
Post by: LTCBOY on December 12, 2013, 06:51:30 PM
Hi,
Regarding to the Linux miner I've just found out that my last day work was a little useless because tandyuk in his repository already merged the relevant changes to a different branch that works also with datacoin. Source is here: https://github.com/tandyuk/jhPrimeminer/tree/mumu-v8 (https://github.com/tandyuk/jhPrimeminer/tree/mumu-v8)
Building instructions can be found also there. (This version doesn't requires the "-getwork" parameter)
There are still problems with solo mining on the Linux builds in general because of some communication problems with the wallet. Each request to the wallet takes at least 2 sec and the connection is not closed correctly as a result the miner doesn't gets the new block notification in time and also may result in crashing the wallet. I'm working on fixing this issue.

-M


Hi,

I tried it and it indeed crash the wallet when i'm going over 5+ simultaneous connection from Linux.
Still it look very promising!
Thx you for your work and hope to see the issue resolved soon :).


Title: Re: [Datacoin] External miner released!
Post by: mpjetta on December 12, 2013, 07:18:39 PM
I have been testing 5 or 6 linux machines pointed at a linux wallet and no crashes yet (only been about an hour).

I am seeing 0 Total/Valid shares from all miners though:

Val/h 0.000 - PPS: 65514 - 4ch: 15298.6 - 5ch: 1264.9 - 6ch: 114.7 - SPS:85.086 - ACC:683
Val/h 0.000 - PPS: 66914 - 4ch: 15309.3 - 5ch: 1266.9 - 6ch: 115.6 - SPS:86.998 - ACC:696
===============================================================
---- New Block: 98915 - Diff: 9.762668 / 9.762668
---- Total/Valid shares: [ 0 / 0 ]  -  Max diff: 8.21370
----  6-chain count:   72 -  6ch/h: 115.387
----  7-chain count:    8 -  7ch/h:  12.821
----  8-chain count:    1 -  8ch/h:   1.603
----  9-chain count:    0 -  9ch/h:   0.000
---- 10-chain count:    0 - 10ch/h:   0.000
===============================================================


Does that mean that something is wrong or is that just a pool type stat/protocol that doesn't exist yet?

From what I gather, there is no way to see the total hashing power going through a wallet is there?


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 12, 2013, 07:54:37 PM
@mpjetta:

Remember its solo mining, valid share = block found :-)



Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 12, 2013, 08:13:29 PM
@mumus:

I've found temporary fix for qt-wallet not closing connections, should work without crash at least longer.
Add rpcthreads=1024 in .conf file.

Tips are welcome :-P


Title: Re: [Datacoin] External miner released!
Post by: zdbtc1 on December 12, 2013, 08:20:26 PM
I've had my rpcthreads=64 and haven't had any crashes. I've had multiple 9-chains as well. How often should a 9-chain actually end up in a mined block? Or does that even matter?


Title: Re: [Datacoin] External miner released!
Post by: grulag on December 12, 2013, 08:22:50 PM
anyway to set the number of threads? like -t 4?


Title: Re: [Datacoin] External miner released!
Post by: mpjetta on December 12, 2013, 09:21:34 PM
anyway to set the number of threads? like -t 4?

Yeah, it seems to be -t

Quote
Usage: jhPrimeminer.exe [options]
Performance Options:
  -t <num>                       The number of threads for mining (default = detected cpu cores)
                                 For most efficient mining, set to number of CPU cores


Title: Re: [Datacoin] External miner released!
Post by: TheMightyX on December 12, 2013, 10:13:55 PM
Thanks to everyone for helping me out and thank you mumus for putting in the work on these miners.

Mining 5 hours 10 mins on a quad core x64 machine.
254 x 6ch
24 x 7ch
2 x 8ch
0 x Valid Blocks

I can feeeeel a block coming.


Title: Re: [Datacoin] External miner released!
Post by: Snard on December 12, 2013, 10:32:38 PM
This coin is just begging for a pool!


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 12, 2013, 10:42:25 PM
@mumus & all good people who want to test it:

I just compiled mpir.dll from sources for core2 and nehalem + avx optimized.
Tried to benchmark it few minutes, avx version seems to be even faster than last added to mumus build.

Here is the link to my skydrive:
http://sdrv.ms/19FlJPX

Gl & hf with more shares :-D



Title: Re: [Datacoin] External miner released!
Post by: relm9 on December 12, 2013, 10:50:52 PM
@mumus & all good people who want to test it:

I just compiled mpir.dll from sources for core2 and nehalem + avx optimized.
Tried to benchmark it few minutes, avx version seems to be even faster than last added to mumus build.

Here is the link to my skydrive:
http://sdrv.ms/19FlJPX

Gl & hf with more shares :-D



I compiled the same one, but it wasn't as fast as the Sandy Bridge mpir on my 4770k


Title: Re: [Datacoin] External miner released!
Post by: KovaFchina on December 12, 2013, 11:37:49 PM
我根据你说的做了
I do according to your said
edit:http://xiangce.baidu.com/picture/detail/c6123ebc08d859e90e3b5d3c2d2eeecf7fd69fc4
edit:http://xiangce.baidu.com/picture/detail/d3b012767608f83b079555e356749736c1c34304
运行状况running statehttp://xiangce.baidu.com/picture/detail/5ff73b0303bdceddd6d40b59c79608d858e99a05
CPU:http://xiangce.baidu.com/picture/detail/3234901d942456f2cc096238c67fbf389945eab7
[/url]
I don't know how to compile it. Can somebody post a version for windows x64? THX a lot!!!

Here is the version I am using. It is compiled for x64-AVX processors. I have mined 3 blocks so far using this. If anyone wants the source I can create a repo and post it. The only changes I made are the ones I posted above and some stat output formatting changes.

https://dl.dropboxusercontent.com/u/20044454/DatacoinMiner.zip (https://dl.dropboxusercontent.com/u/20044454/DatacoinMiner.zip)



thx! Did I need to write something in the datacoin.conf?

These are the settings you need in datacoin.conf to be able to connect the miner to your wallet.

server=1
rpcallowip=*(or whatever IP the miners will be connecting from)
rpcport=<port> (whatever port you choose to open for the miners to connect to your wallet)
rpcuser=<username> (whatever username you want)
rpcpassword=<password> (whatever password you want)

Example:
server=1
rpcallowip=*
rpcport=4778
rpcuser=DatacoinMiner
rpcpassword=MinerPassword

Then you can connect the miner to your wallet using "DatacoinMiner.exe -o http://localhost:4778 -u DatacoinMiner -p MinerPassword"


*Edit: I am using rpcport 9199 on my own miners.


Title: Re: [Datacoin] External miner released!
Post by: ahnonamis on December 12, 2013, 11:59:31 PM
I'm completely new to using miners like this and having to set it up with the conf file. I tried reading through this topic a few times, and using the settings MrMagic posted, but it's not starting up; the miner just instantly opens then closes.

Is there an idiot proof newbie guide on how to set up the conf file to make it connect with the jhPrimeminer?    :-*


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 13, 2013, 02:09:47 AM
@KovaFchina I am unable to view the pictures you posted. I assume you are having problems, but I cannot tell what.

@ahnonamis Usually when that happens it is a problem with the command line input. I assume you are trying to start the miner using a batch file since you said it opens and closes instantly. You can view why the miner is closing by open a command prompt and change directories to the one where your batch file is at and running the batch from the command prompt. You should see the error output.


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 13, 2013, 06:37:24 AM
I'm completely new to using miners like this and having to set it up with the conf file. I tried reading through this topic a few times, and using the settings MrMagic posted, but it's not starting up; the miner just instantly opens then closes.

Is there an idiot proof newbie guide on how to set up the conf file to make it connect with the jhPrimeminer?    :-*

Add pause in next line in your .bat file - you will see errors, as that window wont close.


Title: Re: [Datacoin] External miner released!
Post by: Hix on December 13, 2013, 09:01:57 AM
I've compiled linux version on 16-core Xeon. Well, it works fast, new shares coming at light speed :-D
But when it found 9-chain share it crashed server-wallet on other Windows machine :-P No reward.
How to compile miner on linux? (ubuntu 13) Thank you.


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 13, 2013, 09:10:57 AM
I've compiled linux version on 16-core Xeon. Well, it works fast, new shares coming at light speed :-D
But when it found 9-chain share it crashed server-wallet on other Windows machine :-P No reward.
How to compile miner on linux? (ubuntu 13) Thank you.

Well,
1) download source
2) cd jhPrimeminer-mumu-v8
3) make
4) jhprimeminer will show in directory where Makefile is.

voila :-p

For better results try to make mpir lib from source with gmp compat (at least it worked for me that way)


Title: Re: [Datacoin] External miner released!
Post by: Hix on December 13, 2013, 06:39:12 PM
I've compiled linux version on 16-core Xeon. Well, it works fast, new shares coming at light speed :-D
But when it found 9-chain share it crashed server-wallet on other Windows machine :-P No reward.
How to compile miner on linux? (ubuntu 13) Thank you.

Well,
1) download source
2) cd jhPrimeminer-mumu-v8
3) make
4) jhprimeminer will show in directory where Makefile is.

voila :-p

For better results try to make mpir lib from source with gmp compat (at least it worked for me that way)

Oops) i think you compile this source https://github.com/hg5fm/jhPrimeminer
ok thank you.

For better results try to make mpir lib from source with gmp compat (at least it worked for me that way)
what need to do ?(for noob)


Title: Re: [Datacoin] External miner released!
Post by: Gontxi on December 13, 2013, 07:28:24 PM
Code:
Segmentation fault (core dumped)
...
And now? lol... Someone with same problem?


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 13, 2013, 08:26:25 PM
@Hix:
 
This is linux version: https://github.com/tandyuk/jhPrimeminer/tree/mumu-v8 (https://github.com/tandyuk/jhPrimeminer/tree/mumu-v8)

Download mpir from official website, unpack;
Code:
./configure --enable-gmpcompat
make
make install




Title: Re: [Datacoin] External miner released!
Post by: grulag on December 13, 2013, 11:45:41 PM
been mining for around 24 hours with no blocks yet.

icore i7 4770 8  cores with hyperthreading


how is anyone else doing?


I don't have a coin yet, if someone wants to donate one to me, be much grateful.

DA7feEBdQmcKK5GWDbjYLu4QGEvREZ2oTv


Title: Re: [Datacoin] External miner released!
Post by: trinsic on December 14, 2013, 01:32:35 AM
Is there an easy way to compare the datacoin-hp PPS with the jhPrimeminer PPS?

In datacoin-hp I get 3770 PPS and in jhPrimeminer I get 60000 PPS.


Title: Re: [Datacoin] External miner released!
Post by: grulag on December 14, 2013, 01:38:34 AM
just got a block  ;D

10.46dtc


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 14, 2013, 01:42:48 AM
Is there an easy way to compare the datacoin-hp PPS with the jhPrimeminer PPS?

In datacoin-hp I get 3770 PPS and in jhPrimeminer I get 60000 PPS.

Primes per second is a bad metric to measure your speed. Since the two miners calculate the stats of your mining differently it is hard to compare the numbers. The way that I measured performance was by running each miner on testnet for 3 minutes and then counted how many blocks each miner got.


Title: Re: [Datacoin] External miner released!
Post by: trinsic on December 14, 2013, 01:59:54 AM
Couldn't get testnet working. Will have a look later tonight.


Title: Re: [Datacoin] External miner released!
Post by: GreekBitcoin on December 14, 2013, 03:29:33 AM
So does this miner works for solo mining on linux or not? I am pretty noob but i want to mine with this guide here  https://bitcointalk.org/index.php?topic=345209.0 on DO but using the external miner. Is it possible or i am wasting my time?



Title: Re: [Datacoin] External miner released!
Post by: Cobra on December 14, 2013, 04:40:41 AM
I have been soloing with this miner for 3 days now with decent success. Day 1 - (6) blocks, Day 2 (4) blocks, Day 3 (3) blocks. Total of 137 DTC after 3 days.

Hardware - (6) HP BL460c G6 Blade servers - 96 logical cpu cores (16 per host including hyper threading) Windows 2008 Server X64.


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 14, 2013, 07:24:22 AM
3 blocks/last 24h (linux+win mixed + around 50cores total)


Title: Re: [Datacoin] External miner released!
Post by: Sharky444 on December 14, 2013, 01:09:47 PM
Is there an easy way to compare the datacoin-hp PPS with the jhPrimeminer PPS?

In datacoin-hp I get 3770 PPS and in jhPrimeminer I get 60000 PPS.

Primes per second is a bad metric to measure your speed. Since the two miners calculate the stats of your mining differently it is hard to compare the numbers. The way that I measured performance was by running each miner on testnet for 3 minutes and then counted how many blocks each miner got.

What was your result?


Title: Re: [Datacoin] External miner released!
Post by: surfer43 on December 14, 2013, 06:58:54 PM
I am having trouble port forwarding.

ipconfig
IPv4 Address: 192.168.0.103

Port Forwarding Rules
IP Address: 192.168.0.103
TCP: 9199
UDP: 9199

canyouseeme.org: can't see me on 9199 ???

I tried connecting from another network:
C:\Users\NAME\Downloads\jhPrimeminer-v8.2\jhPrimeminer.exe -o http://"myExternalIP":9199 -u USERNAME -p 1 -getwork
getwork error code 1

Locally I can mine
Thanks!


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 14, 2013, 07:13:10 PM
Is there an easy way to compare the datacoin-hp PPS with the jhPrimeminer PPS?

In datacoin-hp I get 3770 PPS and in jhPrimeminer I get 60000 PPS.

Primes per second is a bad metric to measure your speed. Since the two miners calculate the stats of your mining differently it is hard to compare the numbers. The way that I measured performance was by running each miner on testnet for 3 minutes and then counted how many blocks each miner got.

What was your result?

I tested a few days ago before mumus posted about using different versions of mpir.dll. I was using the one included with the repo at the time, which had lower performance for my machines. Anyway, the results at the time were about 93 blocks for external and 130 for HP miner. Since then though I have been using the sandy bridge mpir.dll, which gave me a big boost in performance for the external miner. I have not tested since upgrading, but my chains/h was about 3x higher using the sandy bridge dll over the default, so I assume the external is faster with the right mpir.

I am having trouble port forwarding.

ipconfig
IPv4 Address: 192.168.0.103

Port Forwarding Rules
IP Address: 192.168.0.103
TCP: 9199
UDP: 9199

canyouseeme.org: can't see me on 9199 ???

I tried connecting from another network:
C:\Users\NAME\Downloads\jhPrimeminer-v8.2\jhPrimeminer.exe -o http://"myExternalIP":9199 -u USERNAME -p 1 -getwork
getwork error code 1

Locally I can mine
Thanks!

Do you have the correct port in your datacoin.conf file? Eg. rpcport=9199



Title: Re: [Datacoin] External miner released!
Post by: surfer43 on December 14, 2013, 07:17:50 PM
Do you have the correct port in your datacoin.conf file? Eg. rpcport=9199
Yes, I can mine on local host.


Title: Re: [Datacoin] External miner released!
Post by: MrMagic on December 14, 2013, 07:20:36 PM
Do you have the correct port in your datacoin.conf file? Eg. rpcport=9199
Yes, I can mine on local host.

Hmm. That's a tough one. You can open other ports fine on your router?


Title: Re: [Datacoin] External miner released!
Post by: Gontxi on December 14, 2013, 07:47:57 PM
How many DTC blocks this machine can mine? http://www.forbes.com/sites/alexknapp/2013/11/21/china-still-has-the-worlds-fastest-supercomputer/

???

 ;D ;D


Title: Re: [Datacoin] External miner released!
Post by: datex on December 17, 2013, 02:03:54 PM
need linux version :)


Title: Re: [Datacoin] External miner released!
Post by: maxsolnc on December 17, 2013, 02:06:10 PM
need linux version :)
did you try https://bitcointalk.org/index.php?topic=364205.msg3952325#msg3952325  ?


Title: Re: [Datacoin] External miner released!
Post by: killerw on December 18, 2013, 05:38:09 PM
server IP 192.168.253.6 i datacoin.conf
Quote
server=1
rpcallowip=192.168.253.6
rpcport=4321
rpcuser=user
rpcpassword=pass


run
Kod:
Quote
jhPrimeminer-T16.exe -o http://192.168.253.6:4321 -u user -p pass


Quote
c:\bit\jhPrimeminer>jhPrimeminer-T16.exe -o http://192.168.253.6:4321 -u user -p
 pass -getwork

╔═══════════════════════════════════════════════════════════════╗
║  jhPrimeMiner - mod by AeroCloud - T16                        ║
║     optimised from rdebourbon 3.3 build + HP11 updates        ║
║  author: JH (http://ypool.net)                                ║
║  contributors: x3maniac, rdebourbon                           ║
║  Credits: Sunny King for the original Primecoin client&miner  ║
║  Credits: mikaelh for the performance optimizations           ║
║                                                               ║
║  Donations:                                                   ║
║        XPM: AFv6FpGBqzGUW8puYzitUwZKjSHKczmteY                ║
║        BTC: 1Ca9qP6tkAEo6EpgtXvuANr936c9FbgBrH                ║
╚═══════════════════════════════════════════════════════════════╝
Launching miner...
GeneratePrimeTable() : prime table [1, 10000000] generated with 664579 primes
Connecting to '192.168.253.6' (192.168.253.6)
Using 8 threads
Username: user
Password: pass


and nothing more:(


Title: Re: [Datacoin] External miner released!
Post by: GreekBitcoin on December 18, 2013, 06:53:35 PM
server IP 192.168.253.6 i datacoin.conf
Quote
server=1
rpcallowip=192.168.253.6
rpcport=4321
rpcuser=user
rpcpassword=pass


run
Kod:
Quote
jhPrimeminer-T16.exe -o http://192.168.253.6:4321 -u user -p pass


Quote
c:\bit\jhPrimeminer>jhPrimeminer-T16.exe -o http://192.168.253.6:4321 -u user -p
 pass -getwork

╔═══════════════════════════════════════════════════════════════╗
║  jhPrimeMiner - mod by AeroCloud - T16                        ║
║     optimised from rdebourbon 3.3 build + HP11 updates        ║
║  author: JH (http://ypool.net)                                ║
║  contributors: x3maniac, rdebourbon                           ║
║  Credits: Sunny King for the original Primecoin client&miner  ║
║  Credits: mikaelh for the performance optimizations           ║
║                                                               ║
║  Donations:                                                   ║
║        XPM: AFv6FpGBqzGUW8puYzitUwZKjSHKczmteY                ║
║        BTC: 1Ca9qP6tkAEo6EpgtXvuANr936c9FbgBrH                ║
╚═══════════════════════════════════════════════════════════════╝
Launching miner...
GeneratePrimeTable() : prime table [1, 10000000] generated with 664579 primes
Connecting to '192.168.253.6' (192.168.253.6)
Using 8 threads
Username: user
Password: pass


and nothing more:(

Where did you get that IP?


Title: Re: [Datacoin] External miner released!
Post by: killerw on December 18, 2013, 07:00:44 PM
server ip which ran wallet datacoin-qt


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on December 19, 2013, 08:23:20 PM
T16 wont work;

I've made package with MINI-HOWTO, its 'generic miner' on my skydrive

http://sdrv.ms/18GG22y (http://sdrv.ms/18GG22y)


Title: Re: [Datacoin] External miner released!
Post by: nicklemarr on January 02, 2014, 12:26:47 PM
Has anyone gotten an AVX version to run with GPool? Non-AVX speeds are killing me.


Title: Re: [Datacoin] External miner released!
Post by: MarcusDe on January 13, 2014, 08:00:52 AM
Has anyone gotten an AVX version to run with GPool? Non-AVX speeds are killing me.


I will make it for you in free time.


Title: Re: [Datacoin] External miner released!
Post by: DatacoinMiner on February 20, 2018, 02:53:46 AM
Datacoin is alive and well!

New thread! :)

https://bitcointalk.org/index.php?topic=2188160.0