ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Computers & Software

The Basics of the Blockchain

Updated on July 19, 2017

Introduction to Cryptocurrency

Have you ever heard of Bitcoin or Ethereum? Well, those are technologies called cryptocurrencies. What a cryptocurrency is, is a decentralized way for people to send money around the world without going through any bank or centralized body of government of control.

How It works and why It works

So now that we know what it does, let's jump into how it does it. It all starts out with what's called a wallet. This wallet is just a string of ones and zeros. Binary for short. We'll use Bitcoin as an example. Let's say Bob wants to send 1 BTC (Bitcoin) to Alice. Bob registers a transaction on what's called the Blockchain. The Blockchain is a digital ledger of transactions. The concept is simple. Bob's wallet is subtracted 1 BTC, and Alice's wallet gains 1 BTC. Everyone who owns a Bitcoin wallet has a copy of the Blockchain somewhere on their machine. When they make a transaction, they update the Blockchain and simultaneously updating everyone else's. When there are different copies of the Blockchain, the system doesn't even fail then. What happens is, all the Blockchains are compared to each other. The mode of the Blockchains becomes the version that all of them update to.

This is an overview of the Blockchain.
This is an overview of the Blockchain. | Source

Technical know-how

There are some questions that we haven't answered about the Blockchain. The question "How do we know who's wallet is who's?" is about to be answered. Here's how a transaction works. We'll bring our two characters, Bob and Alice back for our example. Bob wants to send another Bitcoin to Alice. Bob needs to prove the Bitcoins are his. The way he does this is using public key and private key cryptography. His Bitcoin address (like an email for sending and receiving Bitcoins) is mathematically related to a public key. The wallet he owns also has a private key. For the transaction to go through, he needs to sign his public key with his private key. Then, the signed transaction is sent to a Bitcoin node that process transactions. The node passes this off to what are called miners. The transactions need to be confirmed using advanced mathematical algorithms. And the miners use machines to solve these. Some transactions sit unconfirmed forever sometimes for a simple reason, they were never hashed the right way. Another question is "How are Bitcoins generated?" Well, I spoke about how miners are solving these algorithms. But why? Clearly, they have to profit from it somehow. And they do. The transactions are stored in what are called blocks. The miners have to hash these blocks correctly. The system recognizes when they aren't hashed correctly. Even adding a simple letter or number would change the hash completely. When a block is properly hashed, it is sealed and a reward is distributed to the miners based on the workload.

What does the Blockchain solve?

The Blockchain is described as a breakthrough in I.T. technology. The example of which that was given was currency. It could have so many other uses. Another fascinating function of the Blockchain is that every transaction signature (the signed version of it) is derived and has parts from the one prior to it in its block. This can solve many problems like machines and software components breaking down. The issue would be clear because the blockchain integrity is held on the basis of a chain is only as strong as its weakest link.

Overall Conclusion

The Blockchain is a versatile piece of technology that can change the way we see the I.T. industry and currency. It has mathematical value, technological value, and scientific value. It will surely revolutionize the way we see software and databases.

Comments

    0 of 8192 characters used
    Post Comment

    • TessSchlesinger profile image

      Tessa Schlesinger 6 weeks ago from South Africa

      Best way I've seen it explained yet. Some comments to make the article better. You use the term 'hash,' but I don't know what it means, so it would be good if you could explain it.

      Also, I would like to know what happens if a bitcoin transaction sits there forever. Did the person who did the transactiion do it incorrectly and therefore have to do it over again? Or does it sit there forever because miners choose not to do it for some reason or other? Or does only one miner work on it, and if he gets it wrong, then so be it. The poor sucker who wanted to do the transaction just can't do it because the miner was incompetent. Doesn't sound like a good system to me.

      You mention that it's very slow. Wouldn't that be a bit of a problem if people were to use this as an everyday currency?

      Also, my understanding of bitcoin is that only so many will be distributed. So once that amount is reached, who 'mines' then? There won't be any reward.

      Also, my understanding was that miners get paid less and less as the years go on because there are fewer and fewer bitcoins left to distribute.

      Isn't this counter-productive? Won't people be less and less inclined to do the mining? If the efffectness of the system is depended on people doing the 'mining,' when the mining is no longer rewarded, what happens to the system?