Just got clearer on how Hashing Difficulty works.

It is not simply the number of zeros at the beginning of the hash.

Difficulty might be set to a number, 0001200000000....

The hash needs to be "less than" that number.

So needs to start with 00011xxxxxxxx....

(I am probably misrepresenting this so please correct me)

#bitcoin

Reply to this note

Please Login to reply.

Discussion

Onion addresses can be hashed to discover vanity addresses

i.e.

bitcoin6hfhjhgghhgg5677jhh7556.onion

Depending how much work (hash power)you are prepared to put in defines how many vanity characters your onion address starts with.

The more characters, the exponentially difficult discovering the hash is.

What you described is called target. Difficulty is the largest possible target (0x00000000FFFF0000000000000000000000000000000000000000000000000000) divided by the current target (as of right now, 0x00000000000002816E0000000000000000000000000000000000000000000000).

See https://bitcoin.stackexchange.com/a/8811

Sorry, the target in my message is not the current target, it is an example of target. I copy-pasted it from stack overflow:)

It is simplified more 0 at the start of the hash.

In binary you code 2^x. 1 means you count it, 0 means you don't

10011

Would be

1*2^4+1*2^1+1*2^0=16+2+1=19

00011 is only 3

The hash found in mining is HEX. So you just take 16 as base (hexadecimal) and multiply with 0-9 and letters a-f for 10-15

2F0=2*16^2+15*16^1=512+255=767

00F=15

Hope this helps to understand 😅

There are 10 kinds of people that understand binary. Those who do, and those who don't

Difficulty adjusting every 2 weeks to maintain a block mined every 10 min