Skip to main content

What are bitcoin miners really solving? (collected from web)

What are bitcoin miners really solving?
Here is an extremely simplified sketch of the problem, but it should give a pretty good idea of what the problem is. The data: This is the hash of the lastest block (shortened to 30 characters):  
00000000000001adf44c7d69767585

These are the hashes of a few valid transactions waiting for inclusion (shortened). 
5572eca4dd4

db7d0c0b845

And this the hash of one special transaction that you just crafted, which gives 25BTC (the current reward) to yourself: 
916d849af76

Building the next block: Now, let's use a gross approximation of what a new block might look  like (the real one uses binary format). It contains the hash of the  previous block and the hashes of those 3 transactions: 
00000000000001adf44c7d69767585--5572eca4dd4-db7d0c0b845-916d849af76--

Now let's do mining by hand! Our goal is to complete this block with a  nonce (a piece of garbage) such that the hash of the new block starts  with 13 zeros (considering the previous hash, it seems that 13 zeroes is  the current difficulty!). Mining (trying to finalize this block): Let's try with nonce=1, and compute the hash of the block (I'm using the md5 hash algorithm, but Bitcoin uses double sha256): 
> echo "00000000000001adf44c7d69767585--5572eca4dd4-db7d0c0b845-916d849af76--1" | md5sum 

8b9b994dcf57f8f90194d82e234b72ac

No luck, the hash does not start with a 0… Let's try with nonce=2 
> echo "00000000000001adf44c7d69767585--5572eca4dd4-db7d0c0b845-916d849af76--2" | md5sum 

5b7ce5bcc07a2822f227fcae7792fd90

No luck… … If we pursue until nonce=16, we get our first leading zero. 
> echo "00000000000001adf44c7d69767585--5572eca4dd4-db7d0c0b845-916d849af76--16" | md5sum 

03b80c7a34b060b33dd8fbbece79cee3

For nonce=208, we get two leading zeroes! 
> echo "00000000000001adf44c7d69767585--5572eca4dd4-db7d0c0b845-916d849af76--208" | md5sum 

0055e55df5758517c9bed0981b52ce4a

Continue like this… If you finally find a hash that has 13 leading  zeroes… you're a winner! Other miners will now build upon your block,  you've just got 25BTC. But you'll have to be fast! Back to step 1… If someone manages to build a block before you do, you'll have to  start again from the beginning with the new block's hash (the one of the  winner).  

Tags : Bitcoin, Cryptocurrency, Money, Mathematics, Facts

This Post Was Published On My Steemit Blog
Earned : $00.00 SBD Converted to USD @0.7867$ Rate = $00.00 USD
First Time heard about Steemit ? Click Here To Know...


Comments

Popular Posts (Last 7 Days)

What I Learnt Today : 10 Unknown Amazing Facts About Animals - Part CXXXIII

  image credit (1) Japanese Macaques make snowballs for fun. (2) The chevrotain is an animal that looks like a tiny deer with fangs. (3) Turritopsis nutricula Immortal jellyfish is the only species known to live forever. (4) One million stray dogs and 500,000 stray cats live in New York City metropolitan area. Turritopsis nutricula Immortal jellyfish   image credit (5) Nine-banded armadillos always give birth to identical quadruplets. (6) The flying frog uses flaps of skin between its toes to glide. (7) It takes a sloth two weeks to digest its food.   Nine-banded armadillo   flying frogs   image credit (8) A narwhal tusk is actually an exaggerated front left tooth, and unlike most teeth, it's soft and sensitive on the outside with a tough interior. (9) Humpback whales create the loudest sound of any living creature. (10) The slowest mammal on earth is the tree sloth. It only moves at a speed of 6 feet (1.83 meters) per minute. sloth narwhal tusk   i

My Original Abstract Art -"Sunrise in the forest"

My Original Abstract Art   "Sunrise in the forest"  enjoy :)   This Post Was Published On My Steemit Blog . Please, navigate to steemit and cast a free upvote to help me if you like my post. First Time heard about Steemit ? Click Here To Know Everything About Steemit 

Here I share my original abstract art “lonely traveler”

Here I share my original abstract art “lonely traveler” enjoy :) Tags : Abstract, Art, Drawing, Painting,  This Post Was Published On My Steemit Blog . Please, navigate to steemit and cast a free upvote to help me if you like my post. First Time heard about Steemit ? Click Here To Know Everything About Steemit  $3 Donation [Fixed] Donate $Any Amount

What I Learnt Today : Tourists can buy live animals as keychains and lucky charms in China

image credit An amazing & also shocking information is just waiting for you. You must be astonished when you hear the truth about the components used to make some sort of keychains in China. In China some sort of keychains are made with live animals. These special keychains are made for tourists. image credit Which animals are used ? Generally small fishes or turtles are placed in a small sealed plastic keychain container. image credit How long these animals live ? The sellers claim that they keep some nutritious supplements inside the plastic containers. This nutritious supplements keep the animals alive for several weeks or months. This is 100% false. Only food makes no animal live for a long. Without fresh oxygen, water, air no animals can survive for a long. Actually, no access to air and limited space kills these animals quite quickly. image credit Unfortunately, buying or selling these poor creatures as keychains is not banned in China. These activit

Untitled 3

Tags : Life, Photography, Flood, This Post Was Published On My Steemit Blog . Please, navigate to steemit and cast a free upvote to help me if you like my post. First Time heard about Steemit ? Click Here To Know Everything About Steemit  $3 Donation [Fixed] Donate $Any Amount

destitution - [An Original Abstract Art] - #09

Here I share my latest work on Abstract Art “destitution” – [ Series #09 ] destitution Tags : Abstract, Art, Drawing, Painting,  This Post Was Published On My Steemit Blog . Please, navigate to steemit and cast a free upvote to help me if you like my post. First Time heard about Steemit ? Click Here To Know Everything About Steemit  $3 Donation [Fixed] Donate $Any Amount

Well Protected 'Great Barrier Reef Corals' Are Now Destroyed

The clearing reefs becoming off 200 hot miles of remote Australian coastline — from Cairns to Cape Melville, home to sugar ranches and jump resorts — contained a portion of the minimum harmed corals developing in one of the world's best marine parks. Up to this point.  In dazzling new discoveries that have uncovered the restrictions of marine parks as protections against quick ecological change, more than half of the corals reviewed in extensive lumps of this immaculate stretch of the Great Barrier Reef are required to soon be dead.  "Reefs that are fit as a fiddle ought to admission better under environmental change," said John Pandolfi, a University of Queensland educator who added to prominent coral reviews, the aftereffects of which were discharged for this present week. "Be that as it may, for this situation, we discovered colossal occasions of coral mortality."  The coral passings took after extreme coral blanching, which was created by a

I shoot it from flower garden

What you say ? I took these photos from my sweet small garden .............. > first one : second one : third : and last one : enjoy :D thanks! Tags :   Flowers, Flowers & Plants photography, India, Landscape photography, Nature, Photography, Marigold This Post Was Published On My Steemit Blog .  Earned : $33.56 SBD Converted to USD @1.46$ Rate = $48.9976 USD .  First Time heard about Steemit ? Click Here To Know...

Alien 3D - My 3D modeling with poser [Download free this 3D model Here]

Today here I share one of my 3D model "Alien". I create this 3D object with the help of Poser Pro 2010. You may also download free this 3D model in 6 different formats - poser, 3D studio, lightwave, wavefront object etc. If this 3D model will be popular here then I'll make another posts for sharing my 3D models free. Here is also a preview video Now Download this 3D model :  Download Now   I hope you enjoy this :) Tags : 3D Models, Art, Graphics, Poser,  This Post Was Published On My Steemit Blog . Please, navigate to steemit and cast a free upvote to help me if you like my post. First Time heard about Steemit ? Click Here To Know Everything About Steemit  $3 Donation [Fixed] Donate $Any Amount

"The Old Man"- My Original Abstract Art

My Original Abstract Art "The Old Man"  enjoy :)  Tags : Abstract, Art, Drawing, Painting,  This Post Was Published On My Steemit Blog . Please, navigate to steemit and cast a free upvote to help me if you like my post. First Time heard about Steemit ? Click Here To Know Everything About Steemit  $3 Donation [Fixed] Donate $Any Amount
Back to Top