Friday, August 21, 2020

Ultimate Guide to Blockchain Technology

Ultimate Guide to Blockchain Technology There are many confusing definitions and allusions floating around of what “blockchain” and blockchain technology is. In the succeeding discussion, we will attempt to shed some light on the concept of blockchain, as a whole. © Shutterstock.com | Olga DonskayaIn this article, we will start with 1) an introduction to blockchains, then discuss 2) the role of blockchain technology, 3) how blockchain technology works, and lastly 4) the advantages of blockchain.AN INTRODUCTION TO BLOCKCHAINSTake a look at how the internet has evolved, taking our lifestyle and the way we do things along with it. Aside from completely revolutionizing how we communicate and connect with each other, it has also completely changed even the way we conduct transactions, even those of a financial nature. In the past, the idea of making payments online seemed farfetched, but that has been overturned with the introduction of various technologies that made it possible, such as online bank transfers and PayPal.Bitcoin technology was one of these, introducing the digital currency that came to be known as “Bitcoin”. This virtual currency, instead of physical coins, were simply balances maintained on a public ledger containing all Bitco in transactions, using private and public keys that are verified through the technology’s computing power. What made it prefered to other forms of traditional online payment methods is its lower transaction fees. Its operations were decentralized to “miners”, or the individuals or entities that own the governing computing power in the Bitcoin network.Where does the blockchain come in?You can say that the blockchain technology is a spinoff of Bitcoin, and it has been noted as the latter’s main innovation.All executed Bitcoin transactions are permanently recorded and kept in public ledgers, and each public ledger is a “blockchain”. Files, or “blocks” containing data that pertains to the Bitcoin network are added as they are completed in a linear and chronological order, thus forming a chain of blocks, or the blockchain.The exact details about the developer of blocks and blockchains are unclear. All that is known is that the first block was created in 2009 by a Japanese named Satoshi Nakamoto, and that is not even his real name but his pseudonym. He started it, and others followed suit. Even when Nakamoto reportedly ‘disappeared’ in December of 2010, many others took blocks and blockchain technology forward.Here is short description of blockchain technology: THE ROLE OF BLOCKCHAIN TECHNOLOGYThe Bitcoin network has tons and tons of transactions, which means there is a need to monitor and keep close track of them. In February 2015 alone, it was estimated that there are, on average, 10,000 Bitcoin transactions per day. The block or blockchain is the record of these transactions, so they serve as the proof of all these transactions having taken place, since the blocks record the transactions as they happen. Once these transactions have been completed, they are then moved into the permanent database, or the blockchain.At the moment, blockchain technology is still in its early stages, but it is expected to revolutionize how the industry works. It is continuously growing and evolving, with the most recent version having more or better functionality. The growing interest in Bitcoin will certainly make it more mainstream in the future. Information and electronics giants Microsoft, Intel, IBM and HP are already looking into it. Even Wall Street is showing interest, with names such as Barclays, Citi and UBS dipping their hands into blockchain startups and technology.An analogy has been made between traditional banking and blockchain. Banks have a record containing the full history of all its banking transactions. The bank transactions are recorded into the bank’s system chronologically, as the transactions happen.Now you can look at the bank’s records as the blockchain, and the blocks are the individual bank statements, showing the transactions per month. They are similar in how the Bitcoin transactions work.HOW BLOCKCHAIN TECHNOLOGY WORKSA Block is composed of a group of transactions over a specific time frame; multiple blocks linked together make up a Blockchain. Another thing that you should never forget about the blockchain is that it is a ledger record of the transfer of Bitcoins between or among people or entities.Before we can dive into the details of blockchains, let us first get some key terminologies out of the way. As mentioned earlier, the block or blockchain is the record of transactions. A “transaction” refers to the transfer of value or ‘coins’ from one address to another, or from the sender to the recipient. Meanwhile, the “address” is the account number of the person or entity that you are sending the coins to. The creation of the blocks is through a process called mining, and it is done periodically.There is a need to manage the address, in case one person is using multiple addresses or has a single address that is used multiple times. There is also a need to monitor the running balances of the coins and keep track of the transactions entered into. For that, you will need a s oftware to do this; that software is called the “wallet”.Recording of TransactionsTransactions are time-dependent, meaning they happen in a specific order. Once a coin has been spent, there is no way to go back in time to spend it again.Thus, it follows that the recording of blockchains of transactions is also chronological, or as the transactions happen. As the transactions take place, a record will be created, and that data will be written into a blockchain.Data recorded on a blockchain becomes a historical record: it cannot be changed, and the fact that it happened cannot be hidden, either. The block, when already stored, becomes read-only, so it cannot be edited.How to Get StartedThe problem of most people when trying to understand blockchain technology is that it can get very technical. After all, we are talking about stuff related to nodes, cryptography, keys, hash metadata, etc. We will try our best to keep things simple.Choose the blockchain. There are a lot of blockchai ns that you can choose from, depending on your preferences and who you want to work with.Download the client software from the website of the blockchain you have selected. You can choose from the two types of reference clients:Full or Core Client: This allows you to download the blockchain in its entirety, and will be run as a full node on the Bitcoin network.Lightweight Client: Once downloaded, it will connect to other nodes in the network but does not download the whole blockchain. It is also selective in the information that it downloads, targeting only the transactions to its own addresses.Obtain coins. You can either purchase the coins or earn them, depending on what options are made available to you.Start transacting.In order to transact, the sender must know the address of the recipient, or the person that he or she is sending payment to. There is a small transaction fee involved, and it is up to the sender to calculate it or not, although it is recommended that it be calcula ted.Control in BlockchainsControl of coins in transactions is transferred from inputs to outputs. Cryptography is adopted for this type of control, and this is primarily due to the programmable nature of transactions. This basically means that, in every transaction, certain conditions must first be met before coins can be spent or transferred. The increased security provided by cryptography is also preferred for blockchains, considering that blockchain transactions are essentially anonymous, thus the need for better control.Senders and recipients each have their respective addresses (or account numbers). Senders will send coins by placing them publicly under the control of the recipient’s public key, which is the recipient’s address. Do not worry that the public key is truly public, or accessible by just anyone. The public key will remain hidden, thanks to hashing.At this point, it is the network that is in control of the coins. In order for the network to transfer control of th e coins to the recipient, the latter must prove that he has the matching private key to the hashed public key. Once the control is in the recipient, he or she may now spend the coins received.This means that there are two keys that will be used: a public key and a matching private key, with one key performing encryption and the other in charge of decryption, and vice versa.MiningMining is the process of collecting transactions and subsequently creating blocks, and the ones who create the blocks are called “miners”. Another way to look at mining is as a way of securing the blockchain, considering how solving or creating a block can be very complicated and even “mathematical”.Bitcoin performs mining around every 10 minutes. Let us say, for example, that there are 50 transactions in one ten-minute period. All 50 transactions are grouped together into a single block. On the next 10 minutes, there were 30 transactions; they will make up another block. The third ten-minute period showed 40 transactions, and they are in the third block. These three blocks, when linked together, form a Chain.The records are linear and chronological, so the numbers (or the ‘height’) of the blocks are also in ascending order, with 0 being the first block. When a new block is added, it can only directly link to the one before it. The newer blocks link TO the immediately previous block, and not the other way around. See illustration below: Each block is assigned with a corresponding Block ID, which is the hash of the data within the block, and serves as its digital fingerprint. The ID, or the hash of the metadata, is what identifies the block. The metadata is what contains the Merkle Root of the data related to the transaction.The Merkle Root hash will be added to the other metadata in the header, and the whole thing is hashed to come up with a resulting hash. If the resulting hash begins with a “0”, then the block is considered to be “solved” or completed. If it does not begin with a “0”, the whole process is repeated, using different increments. This is repeated until the resulting hash starts with a zero. This is where the “hard math” on the transactions comes in.Once blocks have been “solved”, the transactions â€" contained in the blocks â€" are then broadcasted to the network. The miners will then compete to create the next blocks that will be added to the chain. Miners are in competition with each other, racing as to who will first publish or broadcast a block.ADVANTAGES OF BLOCKCHAINSNow, many people are wondering why there is a need for blockchains when they can just stick to using databases in order to record transactions. There is nothing wrong with traditional databases, but blockchains have proved to be the better option.Blockchains are fully distributed. This makes the fault-tolerance of this distributed ledger technology very high. Everyone who is part of the Bitcoin network, and is running the Bitcoin client, will have a copy of the blockchain, so they can easily access it at anytime. Miners are also distributed. One benefit from this feature is that no single computer, or even a group of computers, will be able to dominate the network.Blockchains make use of decentralized verification. There is no central authority that it answers to, which is something that has been found to be very limiting in databases, as they have to constantly answer to a central authorit y figure. There is also no need for a central bank to intervene or for a clearinghouse to be involved.Blockchains offer enhanced security. Many users highly value anonymity, and blockchains support that by making use of software algorithms to record transactions in a reliable manner, without divulging any personal information about identities. All that is needed is the address to make payments and receive them. This pretty much makes it immune to fraud and tampering.Blockchains enhances trust among parties, even 3rd party trust. Security is high when it comes to blockchains. There is no physical exchange of value and, in transactions, the records remain on the blockchains even if the control of the Bitcoin is transferred from the sender to the recipient.There is a low barrier to entry. Anyone can enter the network and make use of Bitcoin and blockchains, because all it takes is a computer, internet connectivity, and downloading the client software.Blockchains advocate real-time tran sactional capability. Consumers are more demanding in the sense that they want immediate, almost-instant, results. When they place an order, they want feedback right away. They also want to be able to make payments RIGHT NOW so the products they purchased will be shipped at this same moment or a few hours from now, within the same day. Certainly, they would want to get rid of dealing with more waiting time for transactions to clear through some other regulatory hurdle.Blockchains enhance global operations. Businesses are taking their operations global or worldwide, and blockchains certainly help in facilitating this.Blockchains prevent double spending. The cryptographic controls that are in place in blockchain technology prevent duplication, so there is no risk of double spending on the part of the one making the payment. Each transaction is processed only once, and then it enters the block. The transaction cannot be processed again, so there is no fear of data redundancy, which is something that cannot be said with some bank’s recording systems. Tracking of the transactions is also made easier, because the blocks are arranged in a linear and chronological manner.Blockchains come with very low transaction costs. This is one of the main draws of Bitcoin and its innovation, blockchains. As much as possible, consumers want to save money, and they would want to spend less on transaction costs so they could get more value from their money on items that they really want or need to purchase.Advocates and supporters of blockchain technology are positive that it will soon go beyond Bitcoin and be applicable in bank transactions and even several non-financial transactions. Like vote-counting in government elections, for example. Sure, it may take a while, but at the rate things are going, we have no doubt that there is a great possibility of that happening.There are a few concerns about how blockchains will be able to accommodate the ever-increasing number of transact ions. It has been said that a new block is created every 10 minutes, so we are looking at 6 new blocks per hour and 144 new blocks per day. Many fear that there will come a point where the blockchain will be plagued with problems with storage and speed, leading to issues on synchronization and updating. Naturally, these will have implications on the security of the data or transactions being recorded. This is certainly a challenge that will have to be addressed by the proponents of this technology.

No comments:

Post a Comment