Ever wondered how bitcoins are actually made?
Over the past several years, cryptocurrencies like Bitcoin have been quietly growing in popularity, with an ever-larger number of people buying and selling them. Now that Bitcoin has hit the mainstream and become a worldwide phenomenon, more people than ever are looking to get into the cryptocurrency game.
However, the production of cryptocurrencies isn’t anything like that of regular money. There’s no central authority that issues new notes; instead, bitcoins (or litecoins, or any of the other so-called ‘alt-coins’) are generated through a process known as ‘mining’. So what is cryptocurrency mining, and how does it work?
Cryptocurrency mining and the blockchain
Before getting to grips with the process of cryptocurrency mining, we need to explain what blockchain is and how that works. Blockchain is a technology that supports almost every cryptocurrency. It is a public ledger (decentralised register) of every transaction that has been carried out in that cryptocurrency.
These transactions are assembled into what are called “blocks”. These are the verified to ensure they are legitimate by cryptocurrency miners. This checks if the same coin hasn’t been expended again before the transaction has cleared, and that the input and output expenses tally. Then the next sequential transaction block is connected to it. This is how cryptocurrencies are created and how new cryptocoins are made.
Mining new blocks
As there is no central authority or central bank, there has to be a way of gathering every transaction carried out with a cryptocurrency in order to create a new block. Network nodes that carry out this task called dubbed ‘miners’. Every time a slew of transactions is amassed into a block, this is appended to the blockchain. Whoever appends the block gets rewarded with some of that cryptocurrency.
To prevent the devaluation of the currency by miners building lots of blocks, the task is made harder to conduct. This is achieved by making miners solve complicated mathematical problems called proof of work’.
In order to successfully create a block, it must be accompanied by a cryptographic hash that fulfills certain requirements. The only feasible way to arrive at a hash matching the correct criteria is to simply calculate as many as possible and wait until you get a matching hash. When the right hash is found, a new block is formed and the miner that found it is awarded with units of cryptocurrency.
Think of it like one of those competitions where you have to guess the weight of the cake – only you get unlimited guesses, and the first one to submit a correct answer wins. Whoever can make guesses at the fastest rate has a higher chance of winning.
Cryptocurrency mining limits
In practice, this means that miners are competing against each other to calculate as many hashes as possible, in the hopes of getting to be the first one to hit the correct one, form a block and get their cryptocurrency payout.
However, the difficulty of calculating the hashes also scales – every new block of bitcoins becomes harder to mine. In theory, this ensures that the rate at which new blocks are created remains steady. Many cryptocurrencies also have a finite limit on the amount of units that can ever be generated. For example, there will only ever be 21 million Bitcoins in the world. After that, mining a new block will not generate any bitcoins at all.
Cryptocurrency mining requirements
Although you were once able to mine your own cryptocurrencies using a standard PC, this isn’t viable any longer; the quality and quantity of hardware you need to mine effectively increases in line with the volume of people mining. That’s seen requirements leap – from a reasonably-powerful processor, to a high-end GPU, to several GPUs working in conjunction, to -now – specialised chips specifically configured for cryptomining.
Nowadays you will have to spend upwards of £1,000 on the appropriate hardware to mine most modern cryptocurrencies with any success. The energy consumption, meanwhile, is substantial – and you’ll need to keep an eye on these rising costs while running your machine 24/7. Most miners will spend the overwhelming majority of their income from mining on paying to maintain and run the equipment.
As the Bitcoin hype is more or less fully nestled in the wider public consciousness, organisations have invested increasingly considerable sums into it, effectively industrialising cryptocurrency mining. Large warehouses packed to the brim with floor-to-ceiling racks of expensive graphics cards, working towards the sole aim of mining new units of Bitcoin, Ether, Litecoin, and so on, have become the new normal.
The Bitcoin network – to add some context – processes 5.5 quintillion hashes per second, which means that unless you have the equipment capable of processing a massive quantity of calculations in a very short space of time, the chances of you being able to compete with the more industrial operations are miniscule. For this reason, miners often band together and pool resources to maximise their chances of profiting from the cryptocurrency mining game – creating ‘mining pools’ – sharing their power, as well as any returns their efforts may generate between them