Bitcoin Forum
November 17, 2024, 08:04:56 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [XPM] Miner Development thread  (Read 1879 times)
shinkicker (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
July 12, 2013, 09:09:29 AM
Last edit: July 12, 2013, 09:23:46 AM by shinkicker
 #1

To keep things consolidated and tidy I have started this thread as a focal point on what needs to be done to get other miners (namely bfgminer and cgminer) supporting primecoin.

So far it has been established that there is no API active in primecoind and consensus is saying the best one to use is GetBlockTemplate (which replaced the former GetWork). Sunny King has kindly asked which API we want, so that shows he is willing to work with us on this!

Tasks we need to address / work on (with only bfgminer played with so far)


* Difficulty reporting.
* PPS stats (per core perhaps).
* Difficulty reporting.
* GetBlockTemplate API.

Here is the repo:

https://github.com/luke-jr/bfgminer/tree/prime

I will keep updating this post as new info is found.

Please lets try to keep in on topic, so as to benefit all by having a thread that is easy to follow and keep track of.
Tgspring
Newbie
*
Offline Offline

Activity: 48
Merit: 0



View Profile
July 12, 2013, 12:56:11 PM
 #2

any new progress? Smiley
shinkicker (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
July 12, 2013, 12:57:15 PM
 #3

any new progress? Smiley

Not back from work yet, but going to look in a few hours. Also when Sunny gets online shortly, we can see what he says / can do.
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1010



View Profile WWW
July 12, 2013, 01:48:22 PM
 #4

Sure, getblocktemplate API needs to be proposed, mainly how to submit block with the additional proof-of-work certificate (bnPrimeChainMultiplier) when block is found.
super3
Legendary
*
Offline Offline

Activity: 1094
Merit: 1006


View Profile WWW
July 12, 2013, 02:24:23 PM
 #5

Looks very promising.

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

Activity: 812
Merit: 1000



View Profile
July 12, 2013, 02:27:04 PM
 #6

I'll keep an eye on this...once this is out, BOOM. There goes litecoin :p
Schleicher
Hero Member
*****
Offline Offline

Activity: 675
Merit: 514



View Profile
July 12, 2013, 02:42:38 PM
 #7

What does a Primecoin block look like?
A Bitcoin block header looks like this:
Code:
 4 bytes version
32 bytes previous block hash
32 bytes merkle root hash
 4 bytes time
 4 bytes target
 4 bytes nonce
I assume we have the certificate instead of the nonce, right?

Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1010



View Profile WWW
July 12, 2013, 03:15:10 PM
 #8

No. nonce is still there. The certificate is a serialized CBigNum type (bnPrimeChainMultiplier) following nonce.
gateway
Hero Member
*****
Offline Offline

Activity: 552
Merit: 500


View Profile
July 12, 2013, 03:15:33 PM
 #9

Ya so it looks like first we need to get the primecoin API working before any minging software can use it efficiently ..
TheSwede75
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
July 12, 2013, 03:29:26 PM
 #10

Would love to see good old Guiminer dev. Take a stab at this as well. Mainstream adoption comes with simplicity.
gateway
Hero Member
*****
Offline Offline

Activity: 552
Merit: 500


View Profile
July 12, 2013, 06:27:24 PM
 #11

btw some of us are hanging out on #eligius-prime to work though some bfg stuff if you want to join, trolls need not apply
Pages: [1]
  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!