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

Back to Top

Popular Posts (Last 7 Days)

“The Holi - festival of color, festival of love” My Original Abstract Art

My Original Abstract Art “The Holi - festival of color, festival of love”






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


"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


dragon painting - My Original Abstract Art

My Original Abstract Art "dragon painting"



enjoy :)
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


BREAKING NEWS : Millions of Google Accounts Compromised by Gooligan Malware Attack

BREAKING NEWS : Millions of Google Accounts Compromised by Gooligan Malware Attack
image credit Gooligan Malware Attack is compromising Google accounts on android devices including Gmail, Google Play, Google Drive, Google Docs, Google Photos and some other services of Google. This malware is now attacking near 13K Google accounts on android devices per day. Google is aware & release an update recently : “Gooligan has breached over a million Google accounts. We believe that it is the largest Google account breach to date,” Researchers of an IT security firm CheckPoint, have discovered this malware campaign that has been targeting Android users. This malware has already breached more than 1 million Google accounts of users around the world. IT Security firm Checkpoint stated that : “These exploits still plague many devices today because security patches that fix them may not be available for some versions of Android, or the patches were never installed by the user. If rooting is suc…

mathematics behind chess

Is there any relationship between supposing numerically and supposing in the round of Chess? At the end of the day, should a man having a dynamic personality in Mathematics turned out to be essentially a decent Chess player have aptitudes in Mathematics? 


It is important to call attention to that because of the subject intricacy, our endeavors will be to clarify essential attributes of both  Science and Chess which have been postured by surely understood Mathematicians and Chess players. In like manner, we are not keen on uncovering truths, for instance, from the Theory of Knowledge, Psychology, Epistemology or going further into the specialized and complex parts of Chess.  In the first place, let us analyze a few characteristics of Mathernatics. 

Individuals having poor involvement in Mathematics trust that knowing how to include, subtract, increase or separation empowers them to say that they could ace Mathematics. Others having some aptitude in performing fast estimations think the…

My Original Abstract Art "At the Dusk"

Here I share my original abstract art  "At the Dusk" 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


My Original 3D Art “Absent-minded”

My Original 3D Drawing “Absent-minded”







*All 3D models used in my 3D arts are created with the help of Poser Pro by myself Tags : Art, Drawing, Painting, Sketch,  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


“Tears on Cheek of Africa” My Original Abstract Art

My Original Abstract Art “Tears on Cheek of Africa”

The love with lands surrounded by
the Mediterranean sea to north,
Sinai Peninsula keeps a house with whom?
Suez and red having room. Forest and her ancient folk
always in our feelings and talk,
All the mankind having so curious
You,more I think mysterious. Beauty of her smile peeking, a truth
I know the truth, the truth.
The photographer committing suicide
never conceding the painful sight. A monster throwing away foods
In the water, children of you
Crying crying for a grain.
The moribund acting his last sequence
Why? a vulture waiting, a question. I love you, consider mother of lions
Smile revealing a secret, oh Africa!
enjoy :) Tags : Abstract, Art, Drawing, Painting, Poems, Poetry,  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


Newslink : Bitcoin Price Technical Analysis for 12/13/2016 – Here Come the Bulls!

Bitcoin price broke out of its triangle consolidation pattern, indicating that bulls are ready to take control once more. image credit  A rate hike has already been fully priced-in so this shouldn't come as a surprise to dollar traders and bitcoin price, but the dot plot forecast of interest rates and the economic projections should garner more attention. Upgraded growth and inflation ... Read the full Technical Analysis On newsbtc.com Tags : Bitcoin, Cryptocurrency, Economics, Money, Crypto Markets,  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 : Most Malware Infected Top 20 Cities in the USA

What I Learnt Today : Most Malware Infected Top 20 Cities in the USA
image credit An anti-virus development firm Enigma Software Inc has recently published a list of most malware affected cities in the United States of America. Be careful while travelling these cities and using the public wifi, cyber cafe, public computer or using your flash drives or memory chips on such computer. There is a higher possibility to be get infected in these following cities, so, be extra careful - Tampa : The infection rate is 506% higher than the national average.Saint Louis : The infection rate is 392% higher than the national average.Orlando : The infection rate is 375% higher than the national average.Denver : The infection rate is 333% higher than the national average.Atlanta : The infection rate is 327% higher than the national average.Newark : The infection rate is 241% higher than the national average.Salt Lake City : The infection rate is 223% higher than the national average.Madison : The infec…