Bitcoin Forum

Bitcoin => Mining speculation => Topic started by: memz13155n on September 19, 2021, 02:33:10 PM



Title: How Difficult is Finding a Nonce with Input starting with 56 Zeros...
Post by: memz13155n on September 19, 2021, 02:33:10 PM
A bitcoin hash for example 00000000000000000000000000000000000000000000000000000000f999be0f (illustration purpose) found my an anonymous miner. Does that means a quantum computer did it?
I know the more leading zeros are there the more exponentially difficult it gets.


Title: Re: How Difficult is Finding a Nonce with Input starting with 56 Zeros...
Post by: kano on September 20, 2021, 12:30:59 AM
N = number of zeros

2^(N*4) chance per hash.

A CPU can do it, a 100TH/s miner can do it.

The chance of doing it is purely dependent upon the number of times you try.
If you try once, you have a 1 in 2^(N*4) chance of getting that many zeros.


Title: Re: How Difficult is Finding a Nonce with Input starting with 56 Zeros...
Post by: elsabz on October 21, 2021, 09:16:01 AM
Hello,

This string of numbers is 64 characters long then 32 bytes, the number of zeros is 56 but as a couple of bytes makes a zero, therefore the number of zeros N is equal to 28, not 56.


Title: Re: How Difficult is Finding a Nonce with Input starting with 56 Zeros...
Post by: kano on October 21, 2021, 12:51:48 PM
He said zeros with a text string shown, not bytes.


Title: Re: How Difficult is Finding a Nonce with Input starting with 56 Zeros...
Post by: elsabz on October 21, 2021, 01:09:38 PM
He said zeros with a text string shown, not bytes.

Ok but 56 zeros are terrible  ;D


Title: Re: How Difficult is Finding a Nonce with Input starting with 56 Zeros...
Post by: highswingingtombolo on November 03, 2021, 12:54:39 PM
can you explain this formula?

2^(N*4) chance per hash.





Title: Re: How Difficult is Finding a Nonce with Input starting with 56 Zeros...
Post by: bettercrypto on January 21, 2023, 03:48:46 AM
A bitcoin hash for example 00000000000000000000000000000000000000000000000000000000f999be0f (illustration purpose) found my an anonymous miner. Does that means a quantum computer did it?
I know the more leading zeros are there the more exponentially difficult it gets.

A has like this is too hard hash to find due to is highly unlikely that it was found on a regular computer.
And about the leading zero in the hash might indicate a significant amount of computational power that is being
used to find it.

And quantum computers as far as I know are still in development it is not available and are being used for mining,
therefore, it is not impossible.



Title: Re: How Difficult is Finding a Nonce with Input starting with 56 Zeros...
Post by: kano on January 21, 2023, 01:32:29 PM
Quantum computers have nothing to do with hashing sha256 blocks quickly.
Block solving is a brute force attempt to get leading zeros, it's not complex, it's a simple hash.


Title: Re: How Difficult is Finding a Nonce with Input starting with 56 Zeros...
Post by: kelonmusk on April 29, 2023, 01:45:48 AM
In my opinion, it's important to first understand how Bitcoin mining works and what role the hash plays in that process. You can see, miners trying to solve complex mathematical problems, and the first one to do so successfully gets to add a new block to the blockchain, earning themselves a reward in the form of new Bitcoins.

Hash you've mentioned with all those leading zeros, it's essentially a representation of the solution the miner has found. For now, as for whether a quantum computer was responsible for finding that hash, I would say it's not necessarily the case.

While it's true that quantum computers are expected to be much more powerful than traditional computers, and they could potentially solve these problems much faster, they're still in the early stages of development, and their practical use in mining is yet to be seen. So, as more miners join the network and the combined computational power increases, the difficulty is adjusted accordingly.


Title: Re: How Difficult is Finding a Nonce with Input starting with 56 Zeros...
Post by: NotFuzzyWarm on April 29, 2023, 02:24:21 AM
In my opinion, it's important to first understand how Bitcoin mining works and what role the hash plays in that process. You can see, miners trying to solve complex mathematical problems, and the first one to do so successfully gets to add a new block to the blockchain, earning themselves a reward in the form of new Bitcoins.
<snip>
I suggest you take your own advice and learn how Bitcoin mining works. A good place to start is here. (https://kano.is/index.php?k=mining)

Folks, just how many times must it be said that BTC mining is NOT "solving complex mathematical problems". Decrypting sha256 is NOT a complex problem - it is a simple and very straightforward brute-forcing of a solution by substituting values applied to the fixed mathematical process: apply a number to the process, see if works and report yes or no. If no, increment the value and try again. Repeat billions/trillions of times per second until new work is received (most often the case) or 1 core in 1 chip in your miner gets lucky and finds the correct hash.