Introduction to Blockchain Technology. Tiana Laurence

Читать онлайн.
Название Introduction to Blockchain Technology
Автор произведения Tiana Laurence
Жанр Учебная литература
Серия
Издательство Учебная литература
Год выпуска 0
isbn 9789401805049



Скачать книгу

the third party holding the funds was good for the promise and that the note represented a way for the holder to get the gold or silver that it represented if they wished.

      Money took another big leap when the United States in 1973 officially ended the gold standard. Many other industrialized nations did as well. Instead of banks holding a tangible asset like gold or silver, they facilitated an intangible asset.

      The intangible asset that modern money represents is the future work of people. Each currency is tied to the forthcoming production of a nation or coalition of countries like the EU. This means that currencies no longer have a fixed rate of exchange for gold. Our modern system of banking has floating rates that reflect public sentiment, war and trade agreements.

      The idea of money has taken another exciting twist. Some countries like Switzerland and Australia recognize cryptocurrency as a currency. When you distill down why cryptocurrencies have value, it is because they can be provably be exchanged from one individual to another. The blockchain secures the proof of exchange, and the blockchain’s consensus algorithm enforces the transfer rules. Cryptocurrencies are not backed by gold or the future output of a country like other currencies. Owning cryptocurrency means that you are in possession of a private key that allows you to send it to another public address.

      Another old human concept blockchain technology utilizes is the “public witness”. This is possibly the oldest “technology” humans created. A public witness is a person that is attesting to a fact or event. Their testimony allows others to believe that something took place. A witness is spreading their personal knowledge, so more people know and believe it.

      The first public witness may have occurred around an ancient campfire as a hunter retold an epic battle to their friends and family. You can see the evidence of these stories painted on the walls of caves across the world. Telling stories and sharing information is deeply human.

      A public witness serves two main functions. It spreads knowledge to more than one individual and allows history to become persistent. The more people who know a story, the more persistent it becomes.

      The second purpose that a public witness provides is that it allows the individual to make a choice about the information they have been given. Each individual’s social norms influence that choice, for example, do they remember the history, do they pass on the information to more people, or do they take action?

      In the rest of this section, you will discover how blockchain structures mirror the public witness format. You will learn about the incentive system and the economics that drive the spread of information and the persistence of that information over time.

      Since their creation computers have been developed to do the work that once was only possible by the human mind. They have allowed us to replace countless numbers of once highly paid and skilled workers, such as the code breakers from World War II. Now networks of computers are doing what was only possible through groups of humans working cooperatively. Blockchain technology is an extension of the public witness concept in that it spreads knowledge, encourages persistence of information, and allows each individual node to make a choice with the information that they are given.

      Each node on a blockchain network is witnessing information. It is attesting to its accuracy and truthfulness at a later date, much like how court houses, libraries and archives are places where people store information to reference at another point in time. Blockchains are in essence a digital archive.

      Each node holds an independent archive of all the transactions that have occurred on its blockchain network. A node hears a “history” and then “chooses” what to do based on the rules of that blockchain.

      Every blockchain creates standard rules for how to treat new information. The majority of nodes agree to these rules and operate under them, but each node has a choice and sometimes nodes break the rules or disagree. When only a few nodes disagree on the history of a blockchain, they are ignored.

      However, when a large enough group of nodes no longer agree to the same rules, they will break off and start an independent blockchain. This is called a “hardfork”. Hardforking means there has been a radical modification to the protocol. The protocol is the set of rules that the majority of nodes agree to follow. Hardforks can make previously invalid blocks or transactions valid. This means that hardforks can, in effect, reverse transactions by changing the rules and rewriting the history of that blockchain.

      All nodes and users have to upgrade to the latest version of the protocol software in order to process new transactions and to know what was agreed on the state of the blockchain history. This is important because the history lets you know who has what cryptocurrency.

      Much of the fighting in the blockchain community came about because of differences of opinion between what rules should govern the network. These disputes have spawned countless new blockchains, and most are hardforks of Bitcoin.

       Mining

      Traditional currencies that are controlled by governments such as the US dollar, the Euro and the Yuan are created and distributed by central banks. Each country has a central bank that has the right to issue new money. Often it is done to improve or stimulate their economy. The central bank’s job is to keep a country’s money supply in balance, so the economy for that country is strong and competitive.

      Cryptocurrency is very different. The algorithm, or rather the rules that govern the blockchain, are in charge of the creation of new cryptocurrency. The algorithm facilitates the role of a central bank by either rewarding miners with new cryptocurrency or restricting the issuance of new coins when the competition is high.

      Mining does three main things:

      ■ Creating new cryptocurrency;

      ■ Confirming transactions;

      ■ Securing the blockchain history.

       Creating new cryptocurrency

      The rate at which new cryptocurrency is created and rewarded to miners is set in the rules that govern that blockchain. Each blockchain has unique rules around how often and who can be rewarded.

      It is challenging and almost impossible for miners to cheat the system or create a cryptocurrency out of thin air as fake coins are easily recognized. Fake coins will not have a history that matches the blockchain. Miners have to use their computing power and electricity to generate new cryptocurrency like bitcoins.

      The creation of new coins is regulated by an algorithm which adjusts the difficulty of the problem that the mining nodes are attempting to solve. The issuance of new coins is dependent on how quickly blocks are solved within a specific timeframe by miners. The difficulty rises and falls because the blockchain’s algorithm is making sure it is not too easy or too difficult for miners to gain new bitcoins.

       Confirm transactions

      Miners play a very important role in the processing and confirmation of transactions. A transaction is when you send a cryptocurrency from one address to another and confirmation occurs for your transaction when a miner includes your transaction in the block they are making. Your transaction is only secure and complete once it has been included in a block.

       Securing the blockchain

      Miners secure their blockchain network by making it difficult for corrupt individuals to attack, modify or stop the network from functioning. The more miners who operate the system, the more secure the blockchain is considered. This is because the more independent nodes that are physically distant from each other, the more challenging it is to compromise them. An attacker would need to gain control of over 51% of the network before they could do any real damage. Distribution and independence keep blockchains secure and safe.

      A 51% attack allows a bad actor to spend the same coins multiple