ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

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 

      11 months 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?

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)