paulthetafy
|
|
July 12, 2013, 01:20:03 PM |
|
This code isn't working "as-is". We are still trying to figure out how to get it working.
GBT, on the other hand, works fine without primecoind modification.
If you're implying that you have it working, please can you confirm this and share how you have managed it?
|
|
|
|
kendog77
|
|
July 12, 2013, 02:05:14 PM |
|
BFGMiner prime is definitely using getwork when talking to primecoind.
I'm still poking around the source code to see if there is anyway to force it to use GBT.
|
|
|
|
swordfish6975
|
|
July 12, 2013, 02:27:22 PM |
|
BFGMiner prime is definitely using getwork when talking to primecoind.
I'm still poking around the source code to see if there is anyway to force it to use GBT.
--no-getwork or is that to obvious?
|
|
|
|
paulthetafy
|
|
July 12, 2013, 02:28:19 PM |
|
BFGMiner prime is definitely using getwork when talking to primecoind.
I'm still poking around the source code to see if there is anyway to force it to use GBT.
--no-getwork or is that to obvious? Tried that early on - causes a segmentation fault for me on startup
|
|
|
|
|
kendog77
|
|
July 12, 2013, 02:34:33 PM |
|
BFGMiner prime is definitely using getwork when talking to primecoind.
I'm still poking around the source code to see if there is anyway to force it to use GBT.
--no-getwork or is that to obvious? I tried that as well, and while bfgminer does not fail for me, it will not connect to primecoind with the --no-getwork option.
|
|
|
|
AgentME
Member
Offline
Activity: 84
Merit: 10
|
|
July 12, 2013, 03:16:12 PM |
|
BFGMiner prime is definitely using getwork when talking to primecoind.
I'm still poking around the source code to see if there is anyway to force it to use GBT.
Is it using getwork successfully to talk to primecoind?
|
|
|
|
paulthetafy
|
|
July 12, 2013, 03:24:56 PM |
|
BFGMiner prime is definitely using getwork when talking to primecoind.
I'm still poking around the source code to see if there is anyway to force it to use GBT.
Is it using getwork successfully to talk to primecoind? well it appears to getwork but fails submissions, so no. I also think Luke-jr confirmed that getwork wasn't working
|
|
|
|
liteuser
|
|
July 12, 2013, 03:27:01 PM |
|
BFGMiner prime is definitely using getwork when talking to primecoind.
I'm still poking around the source code to see if there is anyway to force it to use GBT.
--no-getwork or is that to obvious? I tried that as well, and while bfgminer does not fail for me, it will not connect to primecoind with the --no-getwork option. I think there is a problem with blkmk_address_to_script function in libblkmaker/base58.c I added case 23 and 83 (primecoin PUBKEY_ADDRESS and SCRIPT_ADDRESS), but after 4 hours I have got no blocks ...
|
|
|
|
paulthetafy
|
|
July 12, 2013, 03:30:37 PM |
|
BFGMiner prime is definitely using getwork when talking to primecoind.
I'm still poking around the source code to see if there is anyway to force it to use GBT.
--no-getwork or is that to obvious? I tried that as well, and while bfgminer does not fail for me, it will not connect to primecoind with the --no-getwork option. I think there is a problem with blkmk_address_to_script function in libblkmaker/base58.c I added case 23 and 83 (primecoin PUBKEY_ADDRESS and SCRIPT_ADDRESS), but after 4 hours I have got no blocks ... I guess one of the issues we have is that it takes so damn long to find a block that testing changes is painfully slow. I have a 32-core ec2 instance running but even that is taking several hours to find a block
|
|
|
|
AgentME
Member
Offline
Activity: 84
Merit: 10
|
|
July 12, 2013, 03:34:41 PM |
|
BFGMiner prime is definitely using getwork when talking to primecoind.
I'm still poking around the source code to see if there is anyway to force it to use GBT.
--no-getwork or is that to obvious? I tried that as well, and while bfgminer does not fail for me, it will not connect to primecoind with the --no-getwork option. I think there is a problem with blkmk_address_to_script function in libblkmaker/base58.c I added case 23 and 83 (primecoin PUBKEY_ADDRESS and SCRIPT_ADDRESS), but after 4 hours I have got no blocks ... I guess one of the issues we have is that it takes so damn long to find a block that testing changes is painfully slow. I have a 32-core ec2 instance running but even that is taking several hours to find a block I tried testing code on primecoin testnet, but I couldn't connect to any testnet nodes.
|
|
|
|
xyzzy099
Legendary
Offline
Activity: 1066
Merit: 1098
|
|
July 12, 2013, 03:42:07 PM |
|
Client node has no API support yet. Feel free to propose an API format for e.g. getwork.
Based on the above quote from Sunny King, it seems that the client simply has no API support for miners at all at the moment. I think that needs to be done first before any miner program, BFGMiner or otherwise, can mine Primecoins... Or am I missing something here?
|
Libertarians: Diligently plotting to take over the world and leave you alone.
|
|
|
dreamwatcher
Legendary
Offline
Activity: 1064
Merit: 1000
|
|
July 12, 2013, 03:59:26 PM |
|
Client node has no API support yet. Feel free to propose an API format for e.g. getwork.
Based on the above quote from Sunny King, it seems that the client simply has no API support for miners at all at the moment. I think that needs to be done first before any miner program, BFGMiner or otherwise, can mine Primecoins... Or am I missing something here? Not quite sure. I know getwork gives no valuable information: { "midstate" : "7601d3f08f8dd8ac7a67141fa7f24493c6839606ecaf82c6a62a00ad3636923a", "data" : "000000029ff9bbfa7b85551842ecb1e786bea0b096f92916652235784277e741ee56291e05e3040e4aa68f7c4a2d3f2a91252ad22b25c4799dc88e67f29884a3aee5927751e026a307e7ea1e00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000", "hash1" : "00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000", "target" : "000000001eea6700000000000000000000000000000000000000000000000000" } Blocktemplate also appears to be missing some key information: { "version" : 2, "previousblockhash" : "f104ee5b36efa6e6d1127306a14c7fe76253a3baaacba3504100533ae016d237", "transactions" : [ ], "coinbaseaux" : { "flags" : "062f503253482f" }, "coinbasevalue" : 1588000000, "target" : "000000000000000000000000000000000000000000000000006e439100000000", "mintime" : 1373627219, "mutable" : [ "time", "transactions", "prevblock" ], "noncerange" : "00000000ffffffff", "sigoplimit" : 20000, "sizelimit" : 1000000, "curtime" : 1373644465, "bits" : "07ee4391", "height" : 20203 }
So it appears that either of the interfaces is missing the prime information.
|
|
|
|
achillez
|
|
July 12, 2013, 04:24:50 PM |
|
well whoever figures this out gets a 2.5BTC bounty + I'm going to throw in some BTC as well if the improvement is indeed 10x
|
|
|
|
kendog77
|
|
July 12, 2013, 04:43:19 PM |
|
We maybe going at this from the wrong angle.
Luke Jr claims that BfgMiner has a 10-20x mining performance improvement over primecoind. If that is really true, it seems like most of the performance improvement should be in the prime implementation since both programs use CPU mining.
It should be feasible to take the prime implementation from BfgMiner and incorporate that into primecoind to get a similar performance improvement out of primecoind and avoid the getwork/gbt issue altogether...
|
|
|
|
oroqen
|
|
July 12, 2013, 06:17:01 PM |
|
We maybe going at this from the wrong angle.
Luke Jr claims that BfgMiner has a 10-20x mining performance improvement over primecoind. If that is really true, it seems like most of the performance improvement should be in the prime implementation since both programs use CPU mining.
It should be feasible to take the prime implementation from BfgMiner and incorporate that into primecoind to get a similar performance improvement out of primecoind and avoid the getwork/gbt issue altogether...
Trouble with that is pools are going tobe needed sooner or later
|
|
|
|
achillez
|
|
July 13, 2013, 02:53:12 AM |
|
any news on the bfgminer?
|
|
|
|
Luke-Jr
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
July 13, 2013, 02:56:50 AM |
|
any news on the bfgminer?
I ported Chemisist's optimizations, and fixed a nasty bug making it do the same work over and over. Working very well on unmodified primecoind testnet-in-a-box now.
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
|
July 13, 2013, 03:07:22 AM |
|
any news on the bfgminer?
I ported Chemisist's optimizations, and fixed a nasty bug making it do the same work over and over. Working very well on unmodified primecoind testnet-in-a-box now. check here: https://bitcointalk.org/index.php?topic=255358.0also i found several blocks on testnet so it works
|
[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
|
|
|
achillez
|
|
July 13, 2013, 03:50:29 AM |
|
very awesome - I have this running on my systems now - will let folks know asap if this works
|
|
|
|
|