Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: minerd based cpu miner  (Read 3307 times)

0 Members and 1 Guest are viewing this topic.

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
minerd based cpu miner
« on: December 24, 2013, 04:12:48 AM »

Hi all!

I'm releasing sources for minerd based cpuminer. Its not fully optimized but it at least suitable for solo mine. Also it will work with any getwork based pools.

Sources available cpuminer
64bit linux here
« Last Edit: December 24, 2013, 04:25:25 AM by alexxy »
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline agran

  • Full Member
  • ***
  • Posts: 93
    • View Profile
Re: minerd based cpu miner
« Reply #1 on: December 24, 2013, 04:18:37 AM »
Hi all!

I'm releasing sources for minerd based cpuminer. Its not fully optimized but it at least suitable for solo mine. Also it will work with any getwork based pools.

Sources available https://github.com/alexxy/cpuminer
Upload binary please.
MMC: MEKdGj95hNjuYn8xiw4iz1iQUQGA47UBMB | BTC: 1agran1xQ4Nwiqv1qegBDF6kqZdfESMUG

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Re: minerd based cpu miner
« Reply #2 on: December 24, 2013, 04:20:29 AM »
I can upload binary for 64bit linux only
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline FaSan

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Re: minerd based cpu miner
« Reply #3 on: December 24, 2013, 04:27:28 AM »
I've work with Minerd too for my Pool.

Congratulations for your code  :)



FaSan

Offline Delinquency

  • Sr. Member
  • ****
  • Posts: 370
    • View Profile
Re: minerd based cpu miner
« Reply #4 on: December 24, 2013, 05:26:46 AM »
Sorry, I have a missing dependency.. ?

Running Debian
Code: [Select]
uname -r
3.2.0-4-amd64
./minerd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./minerd)

Offline reorder

  • Sr. Member
  • ****
  • Posts: 400
    • View Profile
Re: minerd based cpu miner
« Reply #5 on: December 24, 2013, 09:41:10 AM »
Nice one, but doing one hash per thread instead of splitting the job between threads is asking for orphans..

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Re: minerd based cpu miner
« Reply #6 on: December 24, 2013, 01:06:57 PM »
Nice one, but doing one hash per thread instead of splitting the job between threads is asking for orphans..

It will increase probability to find block btw.
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Re: minerd based cpu miner
« Reply #7 on: December 24, 2013, 01:07:59 PM »
Sorry, I have a missing dependency.. ?

Running Debian
Code: [Select]
uname -r
3.2.0-4-amd64
./minerd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./minerd)

If you're on linux then its better to build it from source. I have more recent glibc on my laptop
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Re: minerd based cpu miner
« Reply #8 on: December 24, 2013, 01:29:23 PM »
Nice one, but doing one hash per thread instead of splitting the job between threads is asking for orphans..

I think there is probably a happy medium between all the threads working on one hash (stock) and one thread per hash.

Working two hashes at a time, with half the threads in each would probably maximise the hash rate with a low orphan rate. Maybe 4 hashes for very powerful comps.
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
Re: minerd based cpu miner
« Reply #9 on: December 24, 2013, 01:35:00 PM »
Hi all!

I'm releasing sources for minerd based cpuminer. Its not fully optimized but it at least suitable for solo mine. Also it will work with any getwork based pools.

Sources available cpuminer
64bit linux here


Thanks for this. Will try a windows compile later.
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline pvp1982

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
Re: minerd based cpu miner
« Reply #10 on: December 24, 2013, 01:39:12 PM »
How to use it for solo mining?

Offline Grekk

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
Re: minerd based cpu miner
« Reply #11 on: December 24, 2013, 04:36:38 PM »
I can`t compile from source.
Code: [Select]
mv -f .deps/minerd-momentum.Tpo .deps/minerd-momentum.Po
g++  -g -O2 -pthread  -o minerd minerd-cpu-miner.o minerd-util.o minerd-momentum.o -L/usr/lib/x86_64-linux-gnu -lcurl -ljansson -lpthread
/usr/bin/ld: minerd-momentum.o: undefined reference to symbol '[email protected]@OPENSSL_1.0.0'
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [minerd] Error 1
make[2]: Leaving directory `/home/ubuntu/mmcminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/mmcminer'
make: *** [all] Error 2

Offline luckye

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: minerd based cpu miner
« Reply #12 on: December 27, 2013, 04:23:22 PM »

How to use it for solo mining?

This is a really good question ! Does anybody knows how to do it ?

Offline ig0tik3d

  • Full Member
  • ***
  • Posts: 50
    • View Profile
Re: minerd based cpu miner
« Reply #13 on: December 27, 2013, 05:03:09 PM »
to compile miner you need ssl library
in makefile.am change
Code: [Select]
minerd_LDADD        = @[email protected] @[email protected] @[email protected]to
Code: [Select]
minerd_LDADD        = @[email protected] @[email protected] @[email protected] -lssl -lcrypto
« Last Edit: December 27, 2013, 05:09:04 PM by ig0tik3d »

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
Re: minerd based cpu miner
« Reply #14 on: December 27, 2013, 05:32:50 PM »
to compile miner you need ssl library
in makefile.am change
Code: [Select]
minerd_LDADD        = @[email protected] @[email protected] @[email protected]to
Code: [Select]
minerd_LDADD        = @[email protected] @[email protected] @[email protected] -lssl -lcrypto

hey, i wonder, does it help anything to increase memory usage?
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

 

Google+