Bitcoin Forum
May 22, 2024, 05:35:52 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)
maxsolnc (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


DTC unofficial team


View Profile WWW
December 09, 2013, 09:41:00 AM
Last edit: December 09, 2013, 09:52:24 AM by maxsolnc
 #1

Hi community,

I'm glad to say that mumus 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 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

DTC: DMcKNp47fNtgM7sritK9GfJEQ1DzME5nwk
BTC: 1FgUGra685ZwkrX5VnRvfaYp4bHJhC7x4H
Palmdetroit
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


PHS 50% PoS - Stop mining start minting


View Profile
December 09, 2013, 09:45:24 AM
 #2


 Wink

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

Activity: 350
Merit: 250


DTC unofficial team


View Profile WWW
December 09, 2013, 10:50:08 AM
 #3


 Wink

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

DTC: DMcKNp47fNtgM7sritK9GfJEQ1DzME5nwk
BTC: 1FgUGra685ZwkrX5VnRvfaYp4bHJhC7x4H
maxsolnc (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


DTC unofficial team


View Profile WWW
December 09, 2013, 12:34:41 PM
 #4

Unified instruction about building this miner both under Linux\Windows will be released soon.

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

Activity: 577
Merit: 500


View Profile
December 09, 2013, 12:40:05 PM
 #5

Any info about pools?? Waiting for them while solomining at 500 primes per sec hihi Smiley
maxsolnc (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


DTC unofficial team


View Profile WWW
December 09, 2013, 12:42:09 PM
 #6

Any info about pools?? Waiting for them while solomining at 500 primes per sec hihi Smiley
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.

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

Activity: 577
Merit: 500


View Profile
December 09, 2013, 01:28:59 PM
 #7

Any info about pools?? Waiting for them while solomining at 500 primes per sec hihi Smiley
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!
Snard
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
December 09, 2013, 01:40:02 PM
 #8

So what does this allow? Multiple computers to mine a single block via getwork?
maxsolnc (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


DTC unofficial team


View Profile WWW
December 09, 2013, 01:46:54 PM
 #9

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.

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

Activity: 966
Merit: 250


View Profile
December 09, 2013, 01:48:39 PM
 #10

do you know how to compile it under linux ubuntu?
maxsolnc (OP)
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


DTC unofficial team


View Profile WWW
December 09, 2013, 02:18:06 PM
 #11

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.

DTC: DMcKNp47fNtgM7sritK9GfJEQ1DzME5nwk
BTC: 1FgUGra685ZwkrX5VnRvfaYp4bHJhC7x4H
sugarkey
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
December 09, 2013, 05:05:23 PM
 #12

I don't know how to compile it. Can somebody post a version for windows x64? THX a lot!!!
MrMagic
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
December 09, 2013, 07:39:56 PM
 #13

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
Snard
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
December 09, 2013, 07:44:43 PM
 #14

I personally would love to see the source. What is the dll for?

Also can you give information on how to compile?
ig0tik3d
Legendary
*
Offline Offline

Activity: 1246
Merit: 1000



View Profile
December 09, 2013, 07:50:14 PM
 #15

what is command line for solo mining?
sugarkey
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
December 09, 2013, 08:17:27 PM
 #16

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



thx! Did I need to write something in the datacoin.conf?
Tenchi
Full Member
***
Offline Offline

Activity: 322
Merit: 100



View Profile WWW
December 09, 2013, 08:22:40 PM
 #17

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


thanks a lot kind sir

   ⚡⚡ PRiVCY ⚡⚡   ▂▃▅▆█ PRiVCY (PRIV) is a new PoW/PoS revolutionary privacy project  ☞ Best privacy crypto-market! █▆▅▃▂
    Own Your Privacy! ───────────────── WebsiteGithub  |  Bitcointalk  |  Twitter  |  Discord  |  Explorer ─────────────────
   ✯✯✯✯✯                 ✈✈✈[Free Airdrop - Starts 9th June][Tor]✈✈✈ ║───────────║ Wallet ➢ Windows  |  macOS  |  Linux
Jaayzz
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 09, 2013, 08:44:49 PM
 #18

Is it just me or is the forum broken?
MrMagic
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
December 09, 2013, 08:47:05 PM
 #19

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
Cool 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!
ig0tik3d
Legendary
*
Offline Offline

Activity: 1246
Merit: 1000



View Profile
December 09, 2013, 08:51:52 PM
 #20

after about 5-7 min crashing wallet when solo mining with this miner.. (( has the same problem somebody?
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!