Bitcoin Forum
November 12, 2024, 05:45:01 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What kind of puzzles are bitcoin mining software trying to solve?  (Read 13267 times)
kevinpaladin (OP)
Member
**
Offline Offline

Activity: 88
Merit: 10


View Profile
November 02, 2012, 08:11:44 AM
 #1

Hey there!

I am a noob in this field and so forgive me if my questions are stupid.
I can't understand this: Why is it needed to solve a puzzle inorder to generate a bitcoin? It makes no sense to me (just to me! no offence Grin).. Can anyone explain it in detail?
firefop
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


View Profile
November 02, 2012, 08:42:49 AM
 #2

So it's not a puzzle (this is a simple way to explain it to an idiot).

It's an SHA256 Hash that is being generated. If you're interested in what the process is you can find refs. here http://en.wikipedia.org/wiki/SHA-2

This idea is called 'proof of work' and it's how the bitcoin network prevents doublespending and builds the blockchain. http://en.wikipedia.org/wiki/Proof_of_work






CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1086


Ian Knowles - CIYAM Lead Developer


View Profile WWW
November 02, 2012, 09:00:34 AM
 #3

Basically an SHA256 value for any given input is unpredictable so trying to find a result like this one (note the zeros at the start)

Code:
00000000916dd8861312f2cd94ac01310e15541e58df57d988f058eb3adcbf15

is not something that you can guess how to find quickly (it all depends upon the input string and how SHA256 mangles that data into a hash).

In Bitcoin's case the # of leading zeros is what is termed the "difficulty" and each miner creates a block header and then hashes this with a random number in order to find a hash with enough leading zeros (according to the current difficulty level).

Because there is no way to cheat to determine which random number will work you have to keep trying different numbers until you find one that does (thus the "proof of work").

HTH

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
kevinpaladin (OP)
Member
**
Offline Offline

Activity: 88
Merit: 10


View Profile
November 02, 2012, 09:05:51 AM
 #4

So it's not a puzzle (this is a simple way to explain it to an idiot).

It's an SHA256 Hash that is being generated. If you're interested in what the process is you can find refs. here http://en.wikipedia.org/wiki/SHA-2

This idea is called 'proof of work' and it's how the bitcoin network prevents doublespending and builds the blockchain. http://en.wikipedia.org/wiki/Proof_of_work


Thanks for making me feel that I am not an idiot anymore Smiley And thanks CIYAM for you explanation with example. Interested in knowing more about it!

Regards,
Kevin.
firefop
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


View Profile
November 02, 2012, 03:41:16 PM
 #5

Thanks for making me feel that I am not an idiot anymore Smiley And thanks CIYAM for you explanation with example. Interested in knowing more about it!

Regards,
Kevin.

Ack. Sorry. I didn't mean to imply that you were and idiot... But some of us have been explaining this thing for so long that we settle on answers 'a 10 year old can understand' because when we're accurate and specific most peoples eyes just glaze-over.

I tend to use 'a complicated calculus problem' or very often I don't even mention proof of work anymore and just tell them 'basically its verifying transactions to collect the transaction fees'


kevinpaladin (OP)
Member
**
Offline Offline

Activity: 88
Merit: 10


View Profile
November 02, 2012, 06:06:08 PM
 #6

Thanks for making me feel that I am not an idiot anymore Smiley And thanks CIYAM for you explanation with example. Interested in knowing more about it!

Regards,
Kevin.

Ack. Sorry. I didn't mean to imply that you were and idiot... But some of us have been explaining this thing for so long that we settle on answers 'a 10 year old can understand' because when we're accurate and specific most peoples eyes just glaze-over.

I tend to use 'a complicated calculus problem' or very often I don't even mention proof of work anymore and just tell them 'basically its verifying transactions to collect the transaction fees'



No issues friend! Smiley

Soduku.

Misspelled! Its sudokuRoll Eyes
Pope Awesome
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 03, 2012, 04:01:17 AM
 #7

Maybe fixing the spelling was a puzzle.  Roll Eyes
kevinpaladin (OP)
Member
**
Offline Offline

Activity: 88
Merit: 10


View Profile
November 03, 2012, 04:53:00 AM
 #8

Maybe fixing the spelling was a puzzle.  Roll Eyes

LOL
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!