Bitcoin Forum
May 17, 2024, 09:57:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5  All
  Print  
Author Topic: [XPM] BFGMiner Branch.. on github  (Read 8994 times)
gateway (OP)
Hero Member
*****
Offline Offline

Activity: 552
Merit: 500


View Profile
July 11, 2013, 06:27:56 PM
Last edit: July 11, 2013, 07:27:24 PM by gateway
 #1

https://github.com/luke-jr/bfgminer/tree/prime

WIP, but deff would like any patches or updates! cheers!
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 06:38:04 PM
 #2

Is this the first thread on this? Just wondering if there's any status on where this is at - functional but still being optimized? Or not functional yet?
gateway (OP)
Hero Member
*****
Offline Offline

Activity: 552
Merit: 500


View Profile
July 11, 2013, 06:41:30 PM
 #3

well its a start luke started on it last night and is pulling in some decent pps, join us on irc freenode #eligius if you want to help, add patches etc.. but yea first
anonppcoin
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
July 11, 2013, 07:01:02 PM
 #4

XMP?
gateway (OP)
Hero Member
*****
Offline Offline

Activity: 552
Merit: 500


View Profile
July 11, 2013, 07:27:05 PM
 #5

XMP?

sorry i have dyslexia
Eli0t
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
July 11, 2013, 07:27:13 PM
 #6

XPM (should be PRC imo, less confusion with XRP)

LTC:  LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7  DGC:  DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d  XPM:  AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
shinkicker
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
July 11, 2013, 07:33:11 PM
 #7

https://github.com/luke-jr/bfgminer/tree/prime

WIP, but deff would like any patches or updates! cheers!

Building on Linux now.

Can you give some example arguments to pass to ./bfgminer to be suitable for mining XPM?

Have you tried to make a windose client?
8bitPunk
Member
**
Offline Offline

Activity: 70
Merit: 10



View Profile
July 11, 2013, 08:01:33 PM
 #8

Trying with ./bfgminer -algo prime

BTC 18bPunkuginRBm1Xz9mcgj8mWJnHDAW5Th | Ł LTCgXEdyBdoQ9WdF6JHi7Pa2EWtzbDjG76 | Ψ ATEBiTLkLpAYeW5hQknUfSvnb7Abbgegku
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 08:11:41 PM
 #9

Have you tried to make a windose client?

I'm trying on windows, running in to missing gmp library at the moment.

OK, the windows install instructions are pretty good. I was able to get a compiled .exe (haven't tested it yet) with two small updates.

Need to do "mingw-get install mingw32-gmp" before you build bfgminer. (this is new for XPM)

Need to add "mingw-get install mingw32-libtool" if you are doing the "Optional - Install libusb" (this is from before XPM fork, and not something we really care about for XPM)
8bitPunk
Member
**
Offline Offline

Activity: 70
Merit: 10



View Profile
July 11, 2013, 08:18:54 PM
 #10

Have you tried to make a windose client?

I'm trying on windows, running in to missing gmp library at the moment.

Edit your OpenSSL makefile & remove the no-gmp option

edit: nm you've got it from mingw now Smiley

BTC 18bPunkuginRBm1Xz9mcgj8mWJnHDAW5Th | Ł LTCgXEdyBdoQ9WdF6JHi7Pa2EWtzbDjG76 | Ψ ATEBiTLkLpAYeW5hQknUfSvnb7Abbgegku
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 08:33:41 PM
 #11

Any special options this needs to be configured with and/or run with?

For ./configure, I'm assuming we'll need --enable-cpumining

Any switches for launching in prime mode instead of sha?
Eli0t
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
July 11, 2013, 08:38:18 PM
 #12

--algo prime or -a prime apparently

LTC:  LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7  DGC:  DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d  XPM:  AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 08:45:15 PM
 #13

With my first compile, --algo wasn't a supported switch at runtime.

I recompiled with:
CFLAGS="-O2 -msse2" ./configure --enable-cpumining --enable-prime
make

I don't know if --enable-prime did anything or not, but it didn't hurt.

Now I can launch with --algo prime and it asks for pool address. I will see if I can point to my local primecoind RPC port.
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
July 11, 2013, 08:45:29 PM
 #14

I did not publish this for people to use, but rather for developers to play with.
It is not production-quality code, and without understanding the code you probably will not be able to get it working.

Since it is also only used by a probable-scamcoin at this point, I'd also like to express my preference that others not encourage/help non-developers use it for now, outside of improving the code/documentation in git.
(However, to be clear, I will also not hold any grudge or hard feelings against those who do.)

If any developers wish to work with or improve the code, perhaps even clean it up sufficient for merging into mainline BFGMiner, that is another matter entirely: I am more than willing to help/collaborate on this (but do expect me to ignore you if your questions suggest to me that you don't know the first thing about development!).

Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 09:02:05 PM
 #15

Sadly, I'm able to point to my primecoin rpc port, but then bfgminer crashes.
blastbob
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
July 11, 2013, 09:21:37 PM
 #16

With my first compile, --algo wasn't a supported switch at runtime.

I recompiled with:
CFLAGS="-O2 -msse2" ./configure --enable-cpumining --enable-prime
make

I don't know if --enable-prime did anything or not, but it didn't hurt.

Now I can launch with --algo prime and it asks for pool address. I will see if I can point to my local primecoind RPC port.

./bfgminer --algo=prime -o localhost:8000 -u rpcuser -p rpcpass


Bitrated user: blastbob.
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 09:27:49 PM
 #17

With my first compile, --algo wasn't a supported switch at runtime.

I recompiled with:
CFLAGS="-O2 -msse2" ./configure --enable-cpumining --enable-prime
make

I don't know if --enable-prime did anything or not, but it didn't hurt.

Now I can launch with --algo prime and it asks for pool address. I will see if I can point to my local primecoind RPC port.

./bfgminer --algo=prime -o localhost:8000 -u rpcuser -p rpcpass



8000? default port is 9912, did you change it?
blastbob
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
July 11, 2013, 09:28:10 PM
 #18

With my first compile, --algo wasn't a supported switch at runtime.

I recompiled with:
CFLAGS="-O2 -msse2" ./configure --enable-cpumining --enable-prime
make

I don't know if --enable-prime did anything or not, but it didn't hurt.

Now I can launch with --algo prime and it asks for pool address. I will see if I can point to my local primecoind RPC port.

./bfgminer --algo=prime -o localhost:8000 -u rpcuser -p rpcpass



8000? default port is 9912, did you change it?

Whatever the daemons is running Smiley

Bitrated user: blastbob.
shinkicker
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
July 11, 2013, 09:32:25 PM
 #19

With my first compile, --algo wasn't a supported switch at runtime.

I recompiled with:
CFLAGS="-O2 -msse2" ./configure --enable-cpumining --enable-prime
make

I don't know if --enable-prime did anything or not, but it didn't hurt.

Now I can launch with --algo prime and it asks for pool address. I will see if I can point to my local primecoind RPC port.

./bfgminer --algo=prime -o localhost:8000 -u rpcuser -p rpcpass


Don't you also need to specify a --coinbase-addr or does primecoind look after passing it to your address?
fabrizziop
Hero Member
*****
Offline Offline

Activity: 506
Merit: 500



View Profile
July 11, 2013, 09:38:18 PM
 #20

What's the difference between primecoind mining and this miner in terms of perfomance?.
Pages: [1] 2 3 4 5  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!