Bitcoin Forum

Other => Beginners & Help => Topic started by: shoeshineBro on September 15, 2017, 02:18:31 AM



Title: What kind of "puzzles" do bitcoin mining programs solve?
Post by: shoeshineBro on September 15, 2017, 02:18:31 AM
Can you post an example?


Title: Re: What kind of "puzzles" do bitcoin mining programs solve?
Post by: BurtW on September 15, 2017, 03:02:17 AM
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.


Title: Re: What kind of "puzzles" do bitcoin mining programs solve?
Post by: odolvlobo on September 15, 2017, 04:56:11 AM
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.


Title: Re: What kind of "puzzles" do bitcoin mining programs solve?
Post by: CarlOrff on September 15, 2017, 09:01:46 AM
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.


Title: Re: What kind of "puzzles" do bitcoin mining programs solve?
Post by: Josepht on September 15, 2017, 09:05:33 AM
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.


Title: Re: What kind of "puzzles" do bitcoin mining programs solve?
Post by: BurtW on September 15, 2017, 12:52:09 PM
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.


Title: Re: What kind of "puzzles" do bitcoin mining programs solve?
Post by: binz on September 15, 2017, 01:58:37 PM
thank you so much ^^


Title: Re: What kind of "puzzles" do bitcoin mining programs solve?
Post by: timadok911 on February 18, 2018, 03:30:57 PM
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.