{"id":5272,"date":"2024-12-28T09:07:34","date_gmt":"2024-12-28T09:07:34","guid":{"rendered":"http:\/\/localhost\/dpetkovski\/?p=5272"},"modified":"2024-12-28T09:07:34","modified_gmt":"2024-12-28T09:07:34","slug":"bitcoin-mining-isnt-solving-difficult-math-problems","status":"publish","type":"post","link":"http:\/\/localhost\/dpetkovski\/bitcoin-mining-isnt-solving-difficult-math-problems\/","title":{"rendered":"Bitcoin Mining Isn’t “Solving Difficult Math Problems”"},"content":{"rendered":"
The common way content creators explain Bitcoin mining<\/strong> to their audience is:<\/p>\n
“… Miners are solving difficult math problems…”<\/em><\/p><\/blockquote>\n
This is false and misleading.<\/p>\n
Nobody is “solving difficult<\/strong> math problems”<\/em> or the even cringier version “difficult<\/strong> mathematical equations<\/strong>“<\/em>.<\/p>\n
Please share this post with anyone claiming to be an educator and using such terminology.<\/p>\n
What is Bitcoin Mining?<\/h2>\n
Under the hood, the Bitcoin mining process can be summarized as follows:<\/p>\n
A Bitcoin miner is trying to guess\u00a0<\/strong>a number (called a nonce<\/strong>) that when appended to a block header<\/strong> and the whole sequence is hashed<\/strong>, the hash starts with a certain number of zeros<\/strong>.<\/em><\/p>\n
I know that the last sentence might be too information-dense for beginners, but at least it’s 100% correct.<\/p>\n
If you want to DYOR, here are some of the concepts you should understand better:<\/p>\n
\n
Hashing\u00a0<\/strong>– transforming an input to a fixed size output using a cryptographic function that is irreversible<\/em> (computationally easy to get the output given an input, but computationally infeasible to get the input given an output) and deterministic<\/em> (the same input will always produce the same output)<\/li>\n
Block header\u00a0<\/strong>– understand its content, why they’re hashed over and over (contributing to the immutability of the blockchain), and the role of the nonce\u00a0<\/strong>in it<\/li>\n
Proof of work\u00a0<\/strong>– a consensus mechanism<\/em> where miners are racing with each other to add the next block, thereby proving that a computational effort has been done, and are incentivized by Bitcoin block rewards<\/a><\/li>\n