gateway (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 12:47:55 AM |
|
So some of us on #eligius-prime with the help of Luke were able to get what we think is bfgminer prime working, how ever the people testing it so far none of us have found a block so a word of caution. I thought in the spirit of sharing I would let you guys know how I was able to get up and runnning, NOTE you do need to know how to compile BFGMiner, I cannot help you with any compile issues .. Requirements: primecoind running Then Get the latest code from git.. git clone -b prime https://github.com/luke-jr/bfgminer.gitmake 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. Once compiled and primecoind is set up and running.. use this command line in bfgminer.. ./bfgminer -a prime -S noauto -S cpu:auto -o localhost:9912 -u primecoinrpc -p {rpcpassword} --coinbase-addr {primecoin wallet addr} --debuglog 2>prime.log you dont need the debug at the end but gives you an idea of data coming though.. THIS is WIP, I would ask anyone to help optmized, fix, or make adjustments.. cheers.. here is my miner running.. no block found yet tho.. we did test it on testnet and it did fine blocks fyi.. ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fnew.tinygrab.com%2Fb5f5d645206c253a526da5f022dd0171e6ac0a64e3.png&t=665&c=4E7quHh8R_gkmA)
|
|
|
|
Zalfrin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 01:08:52 AM |
|
Thanks, I'll give it a try here in a little bit.
|
|
|
|
Sunny King
Legendary
Offline
Activity: 1205
Merit: 1010
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 01:15:06 AM |
|
Good job! I will look into API support tomorrow.
|
|
|
|
gateway (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 01:28:53 AM |
|
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](https://bitcointalk.org/Smileys/default/tongue.gif) no credit here outside of sharing ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 02:09:31 AM |
|
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: ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fwww.darkgamex.ch%2Fupload%2FqA5Bvj798f4EcErbpi0W%2Fbfgminer-prime.png&t=665&c=AY6L7wtWYvzmSw)
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
lishbtc
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 02:38:32 AM |
|
Compiled but getting ./bfgminer: -a: unrecognized option - is -a prime the correct syntax as per the OP?
|
|
|
|
kendog77
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 02:44:17 AM |
|
You have to enable CPU mining in the configure step.
|
|
|
|
kendog77
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 02:51:11 AM |
|
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: ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fwww.darkgamex.ch%2Fupload%2FqA5Bvj798f4EcErbpi0W%2Fbfgminer-prime.png&t=665&c=AY6L7wtWYvzmSw) 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.
|
|
|
|
lishbtc
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 02:52:24 AM |
|
thank you sir, will try that
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 03:32:38 AM |
|
more info for sunny, invalidates the GBT things somewhat: <Luke-Jr> K1773R: Gateway69: GBT needs *zero* modification on primecoind <Luke-Jr> although he *could* send a coinbase with it, then --coinbase-addr wouldn't be required <Luke-Jr> (but that's not as simple as it seems) <Luke-Jr> if --scan-time and --expiry don't work for solo mining, I'd appreciate if someone could fix it <Luke-Jr> since that would affect Bitcoin too, I'd need to get it into main bfgminer asap <K1773R> Luke-Jr: ACK
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
swordfish6975
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 03:43:30 AM Last edit: July 13, 2013, 04:58:58 AM by swordfish6975 |
|
i compiled it for winblows with that change but no love.... just crashes with "bfgminer.exe has stopped working" log -> http://pastebin.com/8X17SkFDedit: win8 x64 amd fx-6100 (6 core)
|
|
|
|
Joe_Bauers
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 04:16:34 AM Last edit: July 18, 2013, 02:05:41 PM by Joe_Bauers |
|
Pretty sweet so far. I'm getting about 400 pps per core on shit old HW. No blocks yet though... ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) Thanks to Luke and others for their work ![Cool](https://bitcointalk.org/Smileys/default/cool.gif)
|
|
|
|
tinnvec
Newbie
Offline
Activity: 54
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 05:05:41 AM |
|
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
|
|
|
|
gateway (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 05:08:30 AM |
|
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 ?
|
|
|
|
swordfish6975
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 05:10:47 AM |
|
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
|
|
|
|
tinnvec
Newbie
Offline
Activity: 54
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 05:13:53 AM |
|
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
|
|
|
|
torbank
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 05:14:24 AM |
|
Anyone know why bfgminer is almost always working on blocks that are older than the local primecoind block?
|
|
|
|
torbank
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 05:18:54 AM |
|
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?
|
|
|
|
paulthetafy
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 05:32:47 AM |
|
Can --coinbase-addr be any address you own (like in a main wallet) or does it have to be from the local primecoind accounts?
|
|
|
|
paulthetafy
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2013, 06:53:21 AM |
|
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
|
|
|
|
|