Bitcoin Forum
June 08, 2024, 06:01:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 7 »  All
  Print  
Author Topic: [Datacoin] External miner released!  (Read 10524 times)
mumus
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
December 12, 2013, 08:31:14 AM
 #61

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
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
Palmdetroit
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


PHS 50% PoS - Stop mining start minting


View Profile
December 12, 2013, 09:09:12 AM
 #62

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
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!

Gontxi
Sr. Member
****
Offline Offline

Activity: 966
Merit: 250


View Profile
December 12, 2013, 09:16:38 AM
 #63

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  Roll Eyes
maxsolnc (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


DTC unofficial team


View Profile WWW
December 12, 2013, 09:23:33 AM
 #64

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  Roll Eyes
As I understand, it will be possible very soon Wink

DTC: DMcKNp47fNtgM7sritK9GfJEQ1DzME5nwk
BTC: 1FgUGra685ZwkrX5VnRvfaYp4bHJhC7x4H
Gontxi
Sr. Member
****
Offline Offline

Activity: 966
Merit: 250


View Profile
December 12, 2013, 09:28:02 AM
 #65

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  Roll Eyes
As I understand, it will be possible very soon Wink
Like this weekend? Smiley
mumus
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
December 12, 2013, 09:34:22 AM
 #66


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. 
TheMightyX
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

Vires in Numeris


View Profile
December 12, 2013, 10:20:44 AM
 #67

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...
mumus
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
December 12, 2013, 10:39:19 AM
 #68

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")
cryptrol
Hero Member
*****
Offline Offline

Activity: 637
Merit: 500


View Profile
December 12, 2013, 10:51:58 AM
 #69

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.
MarcusDe
Hero Member
*****
Offline Offline

Activity: 796
Merit: 505



View Profile WWW
December 12, 2013, 11:04:16 AM
 #70

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.


maxsolnc (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


DTC unofficial team


View Profile WWW
December 12, 2013, 12:42:25 PM
 #71

checked - it works for me. Waiting for linux Smiley

DTC: DMcKNp47fNtgM7sritK9GfJEQ1DzME5nwk
BTC: 1FgUGra685ZwkrX5VnRvfaYp4bHJhC7x4H
MarcusDe
Hero Member
*****
Offline Offline

Activity: 796
Merit: 505



View Profile WWW
December 12, 2013, 12:49:14 PM
 #72

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.



mumus
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
December 12, 2013, 12:51:41 PM
 #73

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.
MarcusDe
Hero Member
*****
Offline Offline

Activity: 796
Merit: 505



View Profile WWW
December 12, 2013, 01:13:18 PM
 #74

@mumus:

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

mumus
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
December 12, 2013, 01:27:33 PM
 #75

@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.
MarcusDe
Hero Member
*****
Offline Offline

Activity: 796
Merit: 505



View Profile WWW
December 12, 2013, 01:54:49 PM
 #76

@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.



mumus
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
December 12, 2013, 01:57:51 PM
 #77

@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.
MarcusDe
Hero Member
*****
Offline Offline

Activity: 796
Merit: 505



View Profile WWW
December 12, 2013, 02:44:01 PM
 #78

@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

TheMightyX
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250

Vires in Numeris


View Profile
December 12, 2013, 04:47:29 PM
 #79

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.
LTCBOY
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 12, 2013, 06:51:30 PM
 #80

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
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 Smiley.
Pages: « 1 2 3 [4] 5 6 7 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!