Bitcoin Forum
May 03, 2024, 08:06:14 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 Branch.. on github  (Read 8993 times)
paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
July 12, 2013, 01:20:03 PM
 #81

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?
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714723574
Hero Member
*
Offline Offline

Posts: 1714723574

View Profile Personal Message (Offline)

Ignore
1714723574
Reply with quote  #2

1714723574
Report to moderator
1714723574
Hero Member
*
Offline Offline

Posts: 1714723574

View Profile Personal Message (Offline)

Ignore
1714723574
Reply with quote  #2

1714723574
Report to moderator
1714723574
Hero Member
*
Offline Offline

Posts: 1714723574

View Profile Personal Message (Offline)

Ignore
1714723574
Reply with quote  #2

1714723574
Report to moderator
kendog77
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
July 12, 2013, 02:05:14 PM
 #82

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
Hero Member
*****
Offline Offline

Activity: 721
Merit: 523



View Profile WWW
July 12, 2013, 02:27:22 PM
 #83

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?

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

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

Activity: 820
Merit: 1000


View Profile
July 12, 2013, 02:28:19 PM
 #84

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
swordfish6975
Hero Member
*****
Offline Offline

Activity: 721
Merit: 523



View Profile WWW
July 12, 2013, 02:29:27 PM
 #85

ah true

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

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

Activity: 742
Merit: 500


View Profile
July 12, 2013, 02:34:33 PM
 #86

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 Offline

Activity: 84
Merit: 10


View Profile
July 12, 2013, 03:16:12 PM
 #87

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
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
July 12, 2013, 03:24:56 PM
 #88

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
Full Member
***
Offline Offline

Activity: 145
Merit: 100


View Profile
July 12, 2013, 03:27:01 PM
 #89

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 ...

BTC: 13GtfEPpEiq6jGCFJGCXAUVDehCFVvTaov
http://www.vultr.com/?ref=6838137
paulthetafy
Hero Member
*****
Offline Offline

Activity: 820
Merit: 1000


View Profile
July 12, 2013, 03:30:37 PM
 #90

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 Offline

Activity: 84
Merit: 10


View Profile
July 12, 2013, 03:34:41 PM
 #91

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 Offline

Activity: 1062
Merit: 1041



View Profile
July 12, 2013, 03:42:07 PM
 #92

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 Offline

Activity: 1064
Merit: 1000


View Profile WWW
July 12, 2013, 03:59:26 PM
 #93

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:


Code:
{
"midstate" : "7601d3f08f8dd8ac7a67141fa7f24493c6839606ecaf82c6a62a00ad3636923a",
"data" : "000000029ff9bbfa7b85551842ecb1e786bea0b096f92916652235784277e741ee56291e05e3040e4aa68f7c4a2d3f2a91252ad22b25c4799dc88e67f29884a3aee5927751e026a307e7ea1e00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000",
"hash1" : "00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000",
"target" : "000000001eea6700000000000000000000000000000000000000000000000000"
}

Blocktemplate also appears to be missing some key information:


Code:
{
"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
Hero Member
*****
Offline Offline

Activity: 874
Merit: 1000


View Profile
July 12, 2013, 04:24:50 PM
 #94

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
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
July 12, 2013, 04:43:19 PM
 #95

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
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250



View Profile
July 12, 2013, 06:17:01 PM
 #96

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
Hero Member
*****
Offline Offline

Activity: 874
Merit: 1000


View Profile
July 13, 2013, 02:53:12 AM
 #97

any news on the bfgminer?
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
July 13, 2013, 02:56:50 AM
 #98

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 Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
July 13, 2013, 03:07:22 AM
 #99

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.0
also i found several blocks on testnet so it works Wink

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

Activity: 874
Merit: 1000


View Profile
July 13, 2013, 03:50:29 AM
 #100

very awesome - I have this running on my systems now - will let folks know asap if this works Wink
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!