Pages:
Author

Topic: [XPM] BFGMiner Prime Branch - page 4. (Read 16118 times)

full member
Activity: 224
Merit: 100
July 13, 2013, 04: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?
full member
Activity: 140
Merit: 100
July 13, 2013, 02:55:53 AM
#21
Great news, but surey we need SK to first expose the Getblocktemplate API?
hero member
Activity: 820
Merit: 1000
July 13, 2013, 01:53:21 AM
#20
Any update on the staged work underrun issue?  I get it continually, even with a queue of 512-1024 (haven't tested higher).  No found blocks yet on live network
member
Activity: 81
Merit: 1002
It was only the wind.
July 13, 2013, 01:06:26 AM
#20
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
hero member
Activity: 820
Merit: 1000
July 13, 2013, 12:32:47 AM
#19
Can --coinbase-addr be any address you own (like in a main wallet) or does it have to be from the local primecoind accounts?
full member
Activity: 217
Merit: 100
July 13, 2013, 12:18:54 AM
#18
By my estimates, both of my miners are working on the current block only about 10% of the time.

Why the delay before bfgminer catches up to primecoind?
full member
Activity: 217
Merit: 100
July 13, 2013, 12:14:24 AM
#17
Anyone know why bfgminer is almost always working on blocks that are older than the local primecoind block?
newbie
Activity: 54
Merit: 0
July 13, 2013, 12:13:53 AM
#16
Perhaps something has changed, but I just cloned the repo and can't find "src/libblkmaker/base58.c"

There is a libblkmaker folder, but it contains nothing

git clone -b prime

?

I thought the same thing but it appears in there after running ./autogen.sh

Thanks! I'm pretty used to using git so I wasn't sure how I'd messed that up. Makes perfect sense now
hero member
Activity: 721
Merit: 523
July 13, 2013, 12:10:47 AM
#15
Perhaps something has changed, but I just cloned the repo and can't find "src/libblkmaker/base58.c"

There is a libblkmaker folder, but it contains nothing

git clone -b prime

?

I thought the same thing but it appears in there after running ./autogen.sh
hero member
Activity: 552
Merit: 500
July 13, 2013, 12:08:30 AM
#14
Perhaps something has changed, but I just cloned the repo and can't find "src/libblkmaker/base58.c"

There is a libblkmaker folder, but it contains nothing

git clone -b prime

?
newbie
Activity: 54
Merit: 0
July 13, 2013, 12:05:41 AM
#13
Perhaps something has changed, but I just cloned the repo and can't find "src/libblkmaker/base58.c"

There is a libblkmaker folder, but it contains nothing
hero member
Activity: 802
Merit: 1003
GCVMMWH
July 12, 2013, 11:16:34 PM
#12
Pretty sweet so far. I'm getting about 400 pps per core on shit old HW.  No blocks yet though...   Undecided
Thanks to Luke and others for their work   Cool
hero member
Activity: 721
Merit: 523
July 12, 2013, 10:43:30 PM
#11
i compiled it for winblows with that change but no love....

just crashes with "bfgminer.exe has stopped working"

log -> http://pastebin.com/8X17SkFD

edit: win8 x64 amd fx-6100 (6 core)
legendary
Activity: 1792
Merit: 1008
/dev/null
July 12, 2013, 10:32:38 PM
#10
more info for sunny, invalidates the GBT things somewhat:
Code:
K1773R: Gateway69: GBT needs *zero* modification on primecoind
although he *could* send a coinbase with it, then --coinbase-addr wouldn't be required
(but that's not as simple as it seems)
if --scan-time and --expiry don't work for solo mining, I'd appreciate if someone could fix it
since that would affect Bitcoin too, I'd need to get it into main bfgminer asap
Luke-Jr: ACK
full member
Activity: 184
Merit: 100
July 12, 2013, 09:52:24 PM
#9
thank you sir, will try that
hero member
Activity: 742
Merit: 500
July 12, 2013, 09:51:11 PM
#8
we got currently 2 main problems:
worksize is too small, atm my i7-2700K requests 23k work/s, setting a queue of 512 helps a little but thats it...
GBT bugged (dunno if primecoind or bfgminer), it dosnt know when a new block is found on the network, so it will calculate for exactly 120 seconds and then the 120 seconds --expiry kick in and bfgminer knows about the new blocks therefore missing 15-25 blocks. setting --expiry to 1-5 works tough.

current stage:


I'm experiencing the same problems. There are constant staged work underruns, and new network blocks don't show up in bfgminer until they expire.
hero member
Activity: 742
Merit: 500
July 12, 2013, 09:44:17 PM
#7
You have to enable CPU mining in the configure step.
full member
Activity: 184
Merit: 100
July 12, 2013, 09:38:32 PM
#6
Compiled but getting ./bfgminer: -a: unrecognized option - is -a prime the correct syntax as per the OP?
legendary
Activity: 1792
Merit: 1008
/dev/null
July 12, 2013, 09:09:31 PM
#5
we got currently 2 main problems:
worksize is too small, atm my i7-2700K requests 23k work/s, setting a queue of 512 helps a little but thats it...
GBT bugged (dunno if primecoind or bfgminer), it dosnt know when a new block is found on the network, so it will calculate for exactly 120 seconds and then the 120 seconds --expiry kick in and bfgminer knows about the new blocks therefore missing 15-25 blocks. setting --expiry to 1-5 works tough.

current stage:
hero member
Activity: 552
Merit: 500
July 12, 2013, 08:28:53 PM
#4
Good job! I will look into API support tomorrow.

That would be great.

Btw I just relaying the info from most of the people who worked on it Tongue no credit here outside of sharing Smiley
Pages:
Jump to: