Bitcoin Forum
May 03, 2024, 09:03:54 AM *
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 Prime Branch  (Read 16070 times)
shinkicker
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
July 13, 2013, 07:55:53 AM
 #21

Great news, but surey we need SK to first expose the Getblocktemplate API?
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714727034
Hero Member
*
Offline Offline

Posts: 1714727034

View Profile Personal Message (Offline)

Ignore
1714727034
Reply with quote  #2

1714727034
Report to moderator
1714727034
Hero Member
*
Offline Offline

Posts: 1714727034

View Profile Personal Message (Offline)

Ignore
1714727034
Reply with quote  #2

1714727034
Report to moderator
96redformula
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
July 13, 2013, 09:14:10 AM
 #22

So, I got BFG miner built successfully.

I am on windows 8 BTW.  Any help as to get bfg miner up and running.

I tried to setup primecoin.conf file with

Quote
rpcuser=username
rpcpassword=password
rpcallowip=*
daemon=1
server=1

Running Primecoin using

Quote
primecoin-qt -server

Then I tried running bfgminer with the switches in cmd prompt, but it will not run with the switches.

Quote
bfgminer -o http://localhost:8332 -u username -p password --expiry 1 --scantime 3

Running bfgminer by itself it will ask for pool address (http://localhost:8332), username and password, but it will not start up, Pool setup failed.

Any help or ideas?
swordfish6975
Hero Member
*****
Offline Offline

Activity: 721
Merit: 523



View Profile WWW
July 13, 2013, 09:41:28 AM
 #23

did you build with ./confgure  --enable-cpumining ?


the command to run it on windows would be this but it just crashes for me on win 8 here

bfgminer.exe -a prime -S noauto -S cpu:auto -o localhost:9912 -u username -p password --coinbase-addr {primecoin wallet addr} --debuglog 2>prime.log

>>>>  Physical Bitcoin And Altcoin Price Ticker Screen - http://afkdata.com <<<<

                    http://cryptofolio.info  - google finance of cryptos
96redformula
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
July 13, 2013, 09:42:28 AM
 #24

did you build with ./confgure  --enable-cpumining ?


the command to run it on windows would be this but it just crashes for me on win 8 here

bfgminer.exe -a prime -S noauto -S cpu:auto -o localhost:9912 -u username -p password --coinbase-addr {primecoin wallet addr} --debuglog 2>prime.log

Yes, I built it with ./configure --enable-cpumining.
Made some progress with your command line though, I was trying port 8332.

Now I am getting invalid coinbase address though, it doesn't seem to like mine Sad.  The wallet address is the receiving address, right?
swordfish6975
Hero Member
*****
Offline Offline

Activity: 721
Merit: 523



View Profile WWW
July 13, 2013, 09:48:33 AM
 #25

did you make the edit linked to pastebin in the first post?

make this change >> http://pastebin.com/XSTTRNF9 << src/libblkmaker/base58.c around line 120

This allows you to use your primecoin wallet address instead of having to convert that to a btc wallet address.


need to run autogen.sh before that file will show up

>>>>  Physical Bitcoin And Altcoin Price Ticker Screen - http://afkdata.com <<<<

                    http://cryptofolio.info  - google finance of cryptos
96redformula
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
July 13, 2013, 10:11:17 AM
 #26

Quote
need to run autogen.sh before that file will show up

Hm...

Making progress but still crashed, here is the log.  Error said no suitable long poll found though.

Quote
[2013-07-13 04:10:14] setrlimit: Not supported by platform
 [2013-07-13 04:10:14] Started bfgminer 3.1.2
 [2013-07-13 04:10:14] GeneratePrimeTable() : prime table [1, 1000000] generated with 78498 primes
 [2013-07-13 04:10:14] CPU 0 : Set temperature config: target=89 cutoff=95
 [2013-07-13 04:10:14] CPU 1 : Set temperature config: target=89 cutoff=95
 [2013-07-13 04:10:14] CPU 2 : Set temperature config: target=89 cutoff=95
 [2013-07-13 04:10:14] CPU 3 : Set temperature config: target=89 cutoff=95
 [2013-07-13 04:10:14] Probing for an alive pool
 [2013-07-13 04:10:14] Popping work to stage thread
 [2013-07-13 04:10:14] Testing pool http://localhost:9912
 [2013-07-13 04:10:14] Calculating midstate locally
 [2013-07-13 04:10:14] Learned that block id 9de445a1 is height 27819
 [2013-07-13 04:10:14] Successfully retrieved and deciphered work from pool 0 http://localhost:9912
 [2013-07-13 04:10:14] Pushing pooltest work to base pool
 [2013-07-13 04:10:14] Selected getblocktemplate protocol for pool 0
 [2013-07-13 04:10:14] Network difficulty changed to 0 (  inf?h/s)
 [2013-07-13 04:10:14] Pool 0 http://localhost:9912 alive
 [2013-07-13 04:10:14] New block: ...9de445a1 # 27819 diff 0 (  inf?h/s)
 [2013-07-13 04:10:14] No suitable long-poll found for http://localhost:9912
 [2013-07-13 04:10:14] Pushing work to getwork queue (queued=N)
 [2013-07-13 04:10:14] Popping work to stage thread
 [2013-07-13 04:10:15] Waking up thread 0
 [2013-07-13 04:10:15] Waking up thread 1
 [2013-07-13 04:10:15] Waking up thread 2
 [2013-07-13 04:10:15] Waking up thread 3
 [2013-07-13 04:10:15] Popping ping in miner thread
 [2013-07-13 04:10:15] 0 gpu miner threads started
 [2013-07-13 04:10:15] Popping ping in miner thread
 [2013-07-13 04:10:15]  [2013-CPU 007-13 04:10:15]: Popping work Po fropping ping in miner thread
 [2m get queu01e3-07-1 to get work [20133-07-13 04 04:1:10:150:
 [215] 01Popping]  piCPU 2: Po3-07-13 0pping work from get q4:10:15] ngCPU 1: P in  [miner thread
2opping wor013-07-13 04:10:15] ueue k from get queue to get work
Sto geuccessfully rolled t work
 [2013-07-1 [2013-03ext 04:10:15] 7-4 1ranonce to 3 04:10:15]cpu  dataminer threads starteCPU 3: Popping d, using SHA256 'prwork frid 1ime' algorithm.
om get queue to get work

 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 2
 [2013-07-13 04:10:15] Pushing cloned available work to stage thread
 [2013-07-13 04:10:15] Pushing work from pool 0 to hash queue
 [2013-07-13 04:10:15] CPU 0: Got work from get queue to get work for thread 0
 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 3
 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 4
 [2013-07-13 04:10:15] Pushing cloned available work to stage thread
 [2013-07-13 04:10:15] Pushing work from pool 0 to hash queue
 [2013-07-13 04:10:15] CPU 1: Got work from get queue to get work for thread 1
 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 5
 [2013-07-13 04:10:15] Generated work from latest GBT job in get_work_thread with 32766 seconds left
 [2013-07-13 04:10:15] Pushing work from pool 0 to hash queue
 [2013-07-13 04:10:15] Creating extra submit work thread
 [2013-07-13 04:10:15] CPU 3: Got work from get queue to get work for thread 3
 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 6
 [2013-07-13 04:10:15] Generated work from latest GBT job in get_work_thread with 32766 seconds left
 [2013-07-13 04:10:15] Pushing work from pool 0 to hash queue
 [2013-07-13 04:10:15] CPU 2: Got work from get queue to get work for thread 2
 [2013-07-13 04:10:15] Successfully rolled extranonce to dataid 7
 [2013-07-13 04:10:15] Generated work from latest GBT job in get_work_thread with 32766 seconds left
 [2013-07-13 04:10:15] Pushing work from pool 0 to hash queue
eule
Hero Member
*****
Offline Offline

Activity: 756
Merit: 501


View Profile
July 13, 2013, 10:14:50 AM
 #27

Let it run overnight on an old i7 on linux, got one rejected block.

96redformula
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
July 13, 2013, 10:15:32 AM
 #28

Oh and for those of you struggling with the error gmp.h not found on windows minGW, install it with this line of code:

mingw-get install mingw32-gmp
swordfish6975
Hero Member
*****
Offline Offline

Activity: 721
Merit: 523



View Profile WWW
July 13, 2013, 10:21:27 AM
 #29

yep looks like my windows 8 log ->>http://pastebin.com/8X17SkFD

garbled bit looks a bit strange

>>>>  Physical Bitcoin And Altcoin Price Ticker Screen - http://afkdata.com <<<<

                    http://cryptofolio.info  - google finance of cryptos
eCoinomist
Member
**
Offline Offline

Activity: 112
Merit: 10


Independent Analyst


View Profile WWW
July 13, 2013, 10:25:45 AM
 #30

bookmarking

n4ru
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
July 13, 2013, 11:32:35 AM
 #31

Any confirmations of mined blocks yet?

Working sources/compiles?

Going to keep looking out for this.
svirus
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile WWW
July 13, 2013, 11:57:41 AM
 #32

I now trying ... 8x300 pps (Intel Xeon E3 1245v2 3.8GHz)
one hour and nothing :/

oroqen
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250



View Profile
July 13, 2013, 12:07:19 PM
 #33

Any confirmations of mined blocks yet?

Working sources/compiles?

Going to keep looking out for this.
It did return blocks on testnet when I tried it, but out of the 20 odd accepted and 50 odd rejected only 8 blocks showed up as immature and 3 orphans.
super3
Legendary
*
Offline Offline

Activity: 1094
Merit: 1006


View Profile WWW
July 13, 2013, 02:29:15 PM
 #34

Any confirmations of mined blocks yet?

Working sources/compiles?

Going to keep looking out for this.
It did return blocks on testnet when I tried it, but out of the 20 odd accepted and 50 odd rejected only 8 blocks showed up as immature and 3 orphans.
Well that is promising at least.

Bitcoin Dev / Storj - Decentralized Cloud Storage. Winner of Texas Bitcoin Conference Hackathon 2014. / Peercoin Web Lead / Primecoin Web Lead / Armory Guide Author / "Am I the only one that trusts Dogecoin more than the Federal Reserve?"
Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2965


Terminated.


View Profile WWW
July 13, 2013, 04:41:11 PM
 #35

Hopefully you can get this to work, I'd help but too busy at the time.
Keep up the great work  Cool

"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
😼 Bitcoin Core (onion)
blastbob
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
July 13, 2013, 05:09:04 PM
 #36

Can --coinbase-addr be any address you own (like in a main wallet) or does it have to be from the local primecoind accounts?

It can be any address. You don't have to own it either. Feel free to use AWoLFSojTZoPwqbCwwNqryQdmedD14NGYy

I am pretty sure you have to use an address that is in the daemon wallet your are solo mining to.. Atleast on current available code.

Else it will not show up in transaction logs.

Bitrated user: blastbob.
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
July 13, 2013, 10:35:24 PM
 #37

Any confirmations of mined blocks yet?

Working sources/compiles?

Going to keep looking out for this.
It did return blocks on testnet when I tried it, but out of the 20 odd accepted and 50 odd rejected only 8 blocks showed up as immature and 3 orphans.
set --expiry 1 should fix this problem!

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
swordfish6975
Hero Member
*****
Offline Offline

Activity: 721
Merit: 523



View Profile WWW
July 13, 2013, 10:38:34 PM
 #38

would love to hear from anyone who has it working on win 8 x64

>>>>  Physical Bitcoin And Altcoin Price Ticker Screen - http://afkdata.com <<<<

                    http://cryptofolio.info  - google finance of cryptos
torbank
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile
July 13, 2013, 10:50:32 PM
 #39

Is anyone else finding that the block number in bfgminer is consistently lagging behind the current primecoind block?
Mirenaut
Newbie
*
Offline Offline

Activity: 7
Merit: 0



View Profile
July 13, 2013, 10:57:44 PM
 #40

Is anyone else finding that the block number in bfgminer is consistently lagging behind the current primecoind block?

Maybe it updates less often. I see it halted at some point, then it updates and it's in sync again. Just now it actually jumped one block "in front" of the daemon so it seems as if primecoind lagged 1 block.
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!