Bitcoin Forum
November 16, 2024, 10:49:12 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What kind of "puzzles" do bitcoin mining programs solve?  (Read 701 times)
shoeshineBro (OP)
Jr. Member
*
Offline Offline

Activity: 44
Merit: 1


View Profile
September 15, 2017, 02:18:31 AM
 #1

Can you post an example?
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1138

All paid signature campaigns should be banned.


View Profile WWW
September 15, 2017, 03:02:17 AM
 #2

Can you post an example?
It is not a puzzle.  It is also not that hard to explain.  Mining involves hashing the current block plus a changing nonce as fast as you can.  First one to find the hash that meets the current difficulty wins.  Not a puzzle, more of a race.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
odolvlobo
Legendary
*
Offline Offline

Activity: 4508
Merit: 3417



View Profile
September 15, 2017, 04:56:11 AM
Last edit: September 15, 2017, 11:13:49 PM by odolvlobo
 #3

Here is a slightly simplified form of the puzzle:

Given a target value, T, and a block header, H, that includes the value N,

find a value for N such that:

SHA-256(SHA-256(H)) <= T

The only known way to solve the "puzzle" is brute-force guessing.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
CarlOrff
Sr. Member
****
Offline Offline

Activity: 826
Merit: 440



View Profile
September 15, 2017, 09:01:46 AM
 #4

Can you post an example?
It is not a puzzle : it is a lottery.
In simple words : Bitcoin mining protocol consist in a hash calculation of a block of transactions, and this hash (a hash of an other hash in act) has to be a number lower than the difficulty.
The difficulty number is very low and there very few chances to find a number lower than low.

Bitcoin + privacy respect = BitcoinZ (topic BitcoinZ)
The only decentralized crypto that complements Bitcoin on privacy.
You missed Bitcoin in 2009 ? Do not miss BitcoinZ in 2018 !
Josepht
Hero Member
*****
Offline Offline

Activity: 1008
Merit: 515


View Profile WWW
September 15, 2017, 09:05:33 AM
 #5

Can you post an example?
It is not a puzzle : it is a lottery.
In simple words : Bitcoin mining protocol consist in a hash calculation of a block of transactions, and this hash (a hash of an other hash in act) has to be a number lower than the difficulty.
The difficulty number is very low and there very few chances to find a number lower than low.

This makes zero sense. If your explenation is right, that would mean that an infinite difficulty would lead to instantly block finding, which is the opposite of what is the case.

It would also mean that a difficulty of 2 would mean that it is extremely hard to find a block, which is also not true.

You're wrong, and the users who posted above you already explained it the right way.
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1138

All paid signature campaigns should be banned.


View Profile WWW
September 15, 2017, 12:52:09 PM
 #6

Just read this:

https://en.bitcoin.it/wiki/Difficulty
https://en.bitcoin.it/wiki/Target

People sometimes use "target" and "difficulty" interchangeably but they are different.

Here is the key formula that should bring it all together for you:

Quote
difficulty = difficulty_1_target / current_target

Anyhoo, just read the pages and you will understand it.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
binz
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
September 15, 2017, 01:58:37 PM
 #7

thank you so much ^^
timadok911
Newbie
*
Offline Offline

Activity: 84
Merit: 0


View Profile
February 18, 2018, 03:30:57 PM
 #8

completely agree that this race))) and so it is faster, the more computing power of your equipment. the main thing you need to understand is that the earlier your equipment will make a profit, then you will not have questions, because you will know the answers to them.
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!