Bitcoin Forum
May 14, 2024, 04:11:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mining programming-related questions  (Read 2044 times)
Brainslug (OP)
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
June 15, 2011, 10:25:48 AM
 #1

(I hope this is the right forum, if not sorry and please move it to the correct one  Lips sealed)

First of all: Regarding my programming "skills", I guess I can be called a novice with a little bit of advanced knowledge in writing programs. I am/have been working with Java, ANSI C and C++ for several years, and though I'm still far away from being a really good programmer I think I can say I learn very quickly once I've set myself a target on what I want to achieve. With that being said...

I'm trying to get a basic understanding on how the miners (especially the GPU miners) are working, how they're structured and what you need to build one. I've heard the term kernel a few times, so I guess there are a few trusty kernels that are specially built for the hash-calculating operations on GPUs (using OpenCL if I'm not mistaken) and if I've understood the principle correctly one just builds a miner on top of these kernels (please correct me if I got this wrong, as said before, I'm not very well-read on that topic).
To come to the point, I have a little project in mind which involves maybe building a mining-program and I was hoping you guys can maybe point me to some tutorials/examples or give me a few tips or so. If this little project succeeds I'll of course share it with you if you like Cheesy Though I can't tell you exactly what it'll be simply because I myself first have to see it through.

Thanks in advance!
MoonBuggy
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 15, 2011, 04:40:40 PM
 #2

I've actually been looking for the same thing; unfortunately I didn't find any useful "Anatomy of a Miner" document (I might write one myself once I get my head around it fully), but taking a look at the code for pyminer is probably a good bet - it seems to be the simplest and most readable one out there. Satoshi's original paper is also definitely worth the time, if you haven't taken a look at it already, to get the broad picture of what all this hashing actually achieves.
Brainslug (OP)
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
June 15, 2011, 04:52:20 PM
 #3

Thanks, I guess that's a start. I'd appreciate it if you'd share what you can find if you have the time for it Smiley
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!