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)

One Black & White Photograph Daily for 30 days - Day #25

green yard - behind of my village home Camera : Xiaomi Model : 2014818 Location : Bongaon, West Bengal, India Snap Taken : 14 March 2016 Tags : Black & White Photography, Flowers & Plants photography, Landscape photography, Nature, Photography,  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

beauty beholds in the eye of the beholder #02

beauty beholds in the eye of the beholder PART #02 an unknown bird singing on my window . green yard - behind of my village home Tags : India, Nature, Photography,  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

Buds of Mangifera Indica

I took this photo last spring when I visited rural area in India. Do you recognise it ? It's buds of  Mangifera Indica .  ha ha ........  Mangifera Indica  is the scientific name of  Mango . After growing from the seed a mango tree takes around 6-8 years to bear the first fruit. In the spring all trees are showing up their new leaves with young buds. This young buds will become mango in the Summer season. mango-buds with new leaves enjoy :D Tags : Nature, Photography, Flowers & Plants photography, Landscape photography, India,  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

Blossom

White Lightning petals .... Camera : samsung Model : SM-A310N0 Location : West Bengal, India Snap Taken : 14 March 2018 Tags : Photography, Nature, Flowers, Flowers & Plants photography, Macro Photography,  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

From my Kolkata Book Fair Photo Album - Series #07

A photography exhibition held in the Book fair Camera : SONY Model : DSC-W710 Location : Kolkata Book Fair, Kolkata City, West Bengal, India Snap Taken : 04 Feb 2018 To Be Continued.. Previous Episodes :  Episode #01 ,  Episode #02 ,  Episode #03 ,  Episode #04 ,  Episode #05 ,  Episode #06 Tags : Festival, India, Photography, Travel,  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

Eggplant Plant - So Green

I captured this photo in my village home vegetable garden. It' a sweet little eggplant plant, so green, so cute... Tags : Photography, Flowers & Plants photography, Nature,  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 Real Face Of India - Episode 133

The Real Face Of India - Episode#133 I believe that India is the most beautiful country in the world. In this series I show the real face of beautiful India. Half Dozen Photos of Natural Beauties Snap taken : 21 Mar 2018   Camera : SAMSUNG, Model : SM-A310N0 Other Episodes :  Episode#01 ,  Episode#02 ,  Episode#03 ,  Episode#04 ,  Episode#05 ,  Episode#06 ,  Episode#07 ,  Episode#08 ,  Episode#09 ,  Episode#10 ,  Episode#11 ,  Episode#12 ,  Episode#13 ,  Episode#14 ,  Episode#15 ,  Episode#16 ,  Episode#17 ,  Episode#18 ,  Episode#19 ,  Episode#20 ,  Episode#21 ,  Episode#22 ,  Episode#23 ,  Episode#24 ,  Episode#25 ,  Episode#26 ,  Episode#27 ,  Episode#28 ,  Episode#29 ,  Episode#30 ,  Episode#31 ,  Episode#32 ,  Episode#33 ,  Episode#34 ,  Episode#35 ,  Episode#36 ,  Episode#37 ,  Episode#38 ,  Episode#39 ,  Episode#40 ,  Episode#41 ,  Episode#42 ,  Episode#43 ,  Episode#44 ,  Episode#45 ,  Episode#46 ,  Episode#47 ,  Episode#48 ,  Episode#49 ,  Episode#50 , 

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

image credit (1) There is an average of 50,000 spiders per acre in green areas.  (2) Male dogs will raise their legs while urinating to aim higher on a tree or lamppost because they want to leave a message that they are tall and intimidating. Some wild dogs in Africa try to run up tree trunks while they are urinating to appear to be very large.  (3) Dumbledore isn’t only the Headmaster of Hogwarts; in fact a dumbledore is an old English term for a type of bee.  (4) Goats and octopus’ pupils of their eyes are rectangular. image credit (5) Frogs cannot swallow without blinking.  (6) Ailurophobia is the fear of cats.  (7) Butterflies have their skeletons on the outside of their bodies, this is known as the exoskeleton. image credit (8) Hippos attract mates by urinating and defecating.  (9) Crocodiles have brains no larger than a cigar.  (10) The Big Five is a group of animals of Africa: cape buffalo, elephant, leopard, lion and rhino.   image credit Previous Episodes

Deadliest Ancient Indian Weapons

Today here I introduce some ancient destructive weapons which were used in India during 100 to 700 A.D.   My visit : Collections of ancient Indian weapons, Chennai Museum     10. Bhuj, Or Kirpan (Dagger)   image credit     image credit     image credit This kind of dagger were mostly used in India during duels. These daggers are small in shape & size, 6-10 inches long and 2-4 inches wide. Weight is up to 500 grams. This dagger is made of steel, jade, gold, diamond, emerald, ruby, agate etc. These daggers were not popular in the wars, only popular for hand-to-hand fighting.  09. Valla Or, Shul (Spear)   image credit     image credit     image credit Valla were very popular in the wars, because, attackers could use it in keeping themselves from safe distances. It has a long sharp steel bladed head. Length is up to 40 inches & weight is up to 5 kilograms.  08. Trishul (Triple bladed spear)   image credit     image credit    

Dragon Pattern [An Original Design]

I design this virtual carpet - Dragon Pattern Dragon Pattern Tags : Abstract, Art, Design, 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