{"id":18821,"date":"2017-09-28T09:00:17","date_gmt":"2017-09-28T07:00:17","guid":{"rendered":"https:\/\/www.kaspersky.co.za\/blog\/?p=18821"},"modified":"2017-09-27T10:44:50","modified_gmt":"2017-09-27T08:44:50","slug":"good-good-blockchain","status":"publish","type":"post","link":"https:\/\/www.kaspersky.co.za\/blog\/good-good-blockchain\/18821\/","title":{"rendered":"Why blockchain is not such a bad technology"},"content":{"rendered":"<p>We recently published an article called <a href=\"https:\/\/www.kaspersky.com\/blog\/bitcoin-blockchain-issues\/18019\/\" target=\"_blank\" rel=\"noopener nofollow\">Six myths about blockchain and Bitcoin: Debunking the effectiveness of the technology<\/a>. Now, let\u2019s talk about solving those problems to make blockchain work better than it does now.<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/media.kasperskydaily.com\/wp-content\/uploads\/sites\/92\/2017\/09\/27043556\/good-good-blockchain-featured-2-1024x672.jpg\" alt=\"\" width=\"1024\" height=\"672\" class=\"aligncenter size-large wp-image-19576\"><\/p>\n<p>Before we start, it is important to remember that blockchain and Bitcoin are not the same thing. <a href=\"https:\/\/bitcoin.org\/bitcoin.pdf\" target=\"_blank\" rel=\"noopener nofollow\">Bitcoin technology<\/a> combines several technologies: money transfer principles, cryptographic principles, blockchain proper, the concept of consensus, the proof-of-work principle, peer-to-peer networking, participant motivation, Merkle trees for organizing transactions, transparency principles, hashing, and more.<\/p>\n<p>Therefore, on the one hand, blockchain problems arising from the form in which it is used by Bitcoin are not universal, and it can work differently for other currencies. On the other hand, right now the market is dominated by Bitcoin-like blockchains based on proof-of-work (POW).<\/p>\n<h2>Problem: Blockchain is slow and inefficient<\/h2>\n<p>Bitcoin\u2019s throughput is seven transactions per second, not for each participant, but for the whole network. And for Ethereum, the second-best in terms of capitalization, it is 15 simple money transfers and 3\u20135 smart contracts per second.<\/p>\n<p>The POW principle accepted for most currencies guarantees that electricity consumption and the amount of hardware will grow until <a href=\"https:\/\/blog.kaspersky.com\/mining-easy-explanation\/\" target=\"_blank\" rel=\"noopener nofollow\">mining becomes unprofitable<\/a>. However, growth of overhead costs never improves the quality of the services provided \u2014 it\u2019s always 7 transactions per second, no matter how many miners are there and how much electricity they burn.<\/p>\n<h3>The Lightning Network<\/h3>\n<p>Experts have long been concerned about the problem of insufficient transaction speed in the Bitcoin system, and to address it, they invented the Lightning Network.<\/p>\n<p>This is how it works \u2014 or, how it will work, once it is launched: First, certain network participants who need a faster transaction rate set up a separate channel \u2014 consider it a kind of private chat room \u2014 and, as a guarantee of integrity, make a deposit in the main Bitcoin network. Then they start exchanging payments separately from the rest of the network \u2014 at any speed. When the channel is no longer needed, the participants record the results of the interaction in a public blockchain and, assuming no one violated the rules, receive their deposit back.<\/p>\n<p>Optimistic predictions have the Lightning Network launching as early as this year, enabling millions of transactions per second. So much for \u201cslow.\u201d<\/p>\n<h2>Problem: Blockchain is bulky<\/h2>\n<p>Blockchain <em>is<\/em> bulky, but that stopped being a problem after some trust was built on the network. In fact, you don\u2019t have to download and check everything to believe the likelihood of deception is very low.<\/p>\n<h3>Web wallets<\/h3>\n<p>First of all, existing Web wallets and <a href=\"https:\/\/blockchain.info\/\" target=\"_blank\" rel=\"noopener nofollow\">Web services<\/a> store everything and do all of the work for you. If no one complains about a certain service, it can very well be considered reliable and somewhat trusted.<\/p>\n<p>It also comes with an important advantage compared with traditional payment systems. If one Web wallet closes, you can simply switch to another one, because they have the same transaction records \u2014 blockchain is the only one. Compare that with what would happen if your regular bank encountered a glitch or went bankrupt and you needed to switch banks.<\/p>\n<h3>Thin wallets<\/h3>\n<p>Satoshi himself described another, more advanced (and more reliable) method back in 2008. Instead of storing and processing the entire 100GB blockchain, you can download and check just the block headers, as well as proof of correct transactions that are directly connected to you.<\/p>\n<p>If many random network nodes that you are talking to report the block headers are exactly the same, you may rather confidently say that everything is correct.<\/p>\n<p>At the moment, the headers of <em>all<\/em> existing blocks take up only 40MB, which isn\u2019t much. But you can save even more: You don\u2019t have to store the headers of every transaction that ever happened; you could start with a specific moment.<\/p>\n<h2>Problem: Blockchain is not scalable<\/h2>\n<p>A system\u2019s <a href=\"https:\/\/en.wikipedia.org\/wiki\/Scalability\" target=\"_blank\" rel=\"noopener nofollow\">scalability<\/a> refers to its ability to improve with the addition of resources. The classic blockchain is indeed completely unscalable; adding resources does not affect the speed of transactions at all.<\/p>\n<p>It\u2019s interesting that the classic blockchain is scalable neither up nor down: If you built a small system for solving local problems based on the same principles, it would be vulnerable to a so-called <a href=\"https:\/\/www.kaspersky.com\/blog\/bitcoin-easy-explanation\/\" target=\"_blank\" rel=\"noopener nofollow\">51% Attack<\/a> \u2014 anyone with enough computing power could come in, immediately take over, and be able to rewrite history.<\/p>\n<h3>Plasma<\/h3>\n<p>Joseph Poon (the inventor of the Lightning Network) and Vitalik Buterin (a cofounder of Ethereum) recently <a href=\"http:\/\/plasma.io\/plasma.pdf\" target=\"_blank\" rel=\"noopener nofollow\">proposed<\/a> a new solution. They call it Plasma.<\/p>\n<p>Plasma is a framework for making a blockchain of blockchains. The concept is similar to that of the Lightning Network, but it was developed for Ethereum. Here is how it works: Someone makes a deposit in the main Ethereum network and starts talking to other clients independently and separately, supervising the execution of his or her smart contract and the general rules of Ethereum on their own. A smart contract is a mini-program for working with money and Web wallets. It is the key feature of Ethereum.<\/p>\n<p>From time to time, the results of these individual communications are recorded in the main network. Also, as with the Lightning Network, all participants oversee the execution of the smart contract and complain if something is not right.<\/p>\n<p>So far, the proposal is just a draft, but if the concept is successfully implemented, the problem of blockchain scalability will be a thing of the past.<\/p>\n<h2>Problem: Miners are burning up the planet\u2019s resources<\/h2>\n<p>Proof-of-work is the most popular method of reaching a consensus in the cryptocurrencies. A new block is created after lengthy calculations performed solely to prevent rewriting of the financial history. <a href=\"https:\/\/blog.kaspersky.com\/mining-easy-explanation\/\" target=\"_blank\" rel=\"noopener nofollow\">POW network miners burn a lot of electricity<\/a>, and the number of megawatts wasted is regulated not by safety concerns or common sense, but rather by economics: Capacities expand as long as current cryptocurrency exchange rate keeps mining profitable.<\/p>\n<h3>Proof-of-stake<\/h3>\n<p>An alternative approach to distributing the right to create blocks is called proof-of-stake (POS). Using this concept, the likelihood of creating a block and thus the right to receive an award (in the form of interest or newly emitted currency) depends not on how much computational work you done (how much electricity you burnt), but on how much currency you have in the system.<\/p>\n<p>If you own a third of all coinage, you have a one-third probability of creating a new block, thanks to a random algorithm. This principle is a good reason for participants to obey the rules, because the more of the currency you have, the more interested you are in a properly functioning network and a stable currency rate.<\/p>\n<h3>Proof-of-authority<\/h3>\n<p>A more radical method exists as well: letting only trusted participants create blocks. For example, 10 hospitals can use a blockchain to keep track of an epidemiological situation in a city. Each hospital has its own signature key as proof of authority. That makes such a blockchain private: Only hospitals can write to it. At the same time, it helps maintain openness, an important quality of the blockchain.<\/p>\n<p>However, proof-of-authority is detrimental to the original blockchain concept: The network effectively becomes centralized.<\/p>\n<h3>Resources can be used for good<\/h3>\n<p>Some networks do useful work within the proof-of-work concept. They look for prime numbers of a certain type (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Primecoin\" target=\"_blank\" rel=\"noopener nofollow\">Primecoin<\/a>), calculate protein structures (<a href=\"http:\/\/foldingcoin.net\/\" target=\"_blank\" rel=\"noopener nofollow\">FoldingCoin<\/a>), or perform other scientific tasks that require a lot of calculations (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Gridcoin\" target=\"_blank\" rel=\"noopener nofollow\">GridCoin<\/a>). The reward for \u201cmining\u201d promotes investing more resources in science.<\/p>\n<h2>Problem: Blockchain is decentralized and therefore is not developing<\/h2>\n<p>It is not very easy to introduce changes into a decentralized network protocol. The developer can either run mandatory updates for all clients \u2014 although that kind of network cannot be considered truly decentralized \u2014 or persuade all participants to accept the changes. If a significant proportion of them vote against the changes, the community may split: The blockchain will split into two alternative blockchains, and there will be two currencies. That split is called a fork.<\/p>\n<p>Part of the problem is that different participants have different interests. Miners are interested in growing rewards and interest; users want to pay less for transfers; fans want the cryptocurrency to become more popular; and geeks want useful innovations to be added to the technologies.<\/p>\n<p>Two of the largest cryptocurrencies have already split. It happened with Bitcoin not too long ago, when participants were unable to agree on a strategy for expanding block size. A little earlier, something similar happened with Ethereum, the result of a disagreement about if it was fair to <a href=\"http:\/\/fortune.com\/2016\/09\/04\/ethereum-fall-out\/\" target=\"_blank\" rel=\"noopener nofollow\">cancel a crack<\/a> on an investment fund and return the money to investors.<\/p>\n<p>How can such situations be avoided?<\/p>\n<h3>Tezos<\/h3>\n<p>It is possible to encode into a cryptocurrency the ability to vote on modifications. That\u2019s precisely what the cryptocurrency <a href=\"https:\/\/www.tezos.com\/static\/papers\/white_paper.pdf\" target=\"_blank\" rel=\"noopener nofollow\">Tezos<\/a>, which is about to go on the market, did. Primary voting characteristics are as follows:<\/p>\n<ol>\n<li>The more cryptocurrency you hold, the more voting power you have. Mining power is irrelevant.<\/li>\n<li>A vote may be delegated to someone who understands the subject of the current vote better than you do.<\/li>\n<li>Developers are entitled to a veto for one year after launch, and if necessary veto power can be extended.<\/li>\n<li>The initial quorum will be 80%, but that can be changed to conform to actual user activity.<\/li>\n<\/ol>\n<p>It\u2019s thought this approach will significantly reduce the emotional level and the necessity for hard forks.<\/p>\n<p>When voting on these principles, at some point the majority could well eliminate the minority\u2019s voting rights. In short, the rich may take over. However, Tezos\u2019s developers think that such a takeover would have a negative impact on the value of the currency and therefore is unlikely. We\u2019ll see.<\/p>\n<h2>Problem: Blockchain is too transparent<\/h2>\n<p>Imagine you\u2019re WikiLeaks and you get donations in bitcoins. Everyone knows your address and how much you have, and when you try to convert your money into dollars in the exchange, then law enforcement will know how much you have in dollars.<\/p>\n<p>You can\u2019t launder your money in Bitcoin. Dividing up the money into 10 wallets only means having 10 accounts associated with you. There are services called <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cryptocurrency_tumbler\" target=\"_blank\" rel=\"noopener nofollow\">mixers or tumblers<\/a> that move around large sums of money for a fee, to obscure the real owner, but they are inconvenient for a number of reasons.<\/p>\n<h3>CoinJoin in Dash<\/h3>\n<p>The creators of the cryptocurrency Dash (the former Darkcoin) were the first to try solving the anonymity problem, by using the PrivateSend function. Their approach was simple: They designed a tumbler right into the currency.<\/p>\n<p>There were a few problems. First, if someone (e.g., law enforcement) controls a significant number of the nodes that mix \u201cclean\u201d money with \u201cdirty,\u201d they can observe the transfer. Perhaps an unlikely scenario, but still quite possible.<\/p>\n<p>Second, mixing dirty money with clean makes all of that money look a bit dirty \u2014 or \u201cgray.\u201d But for gray money to appear clean, all participants have to use mixing all the time.<\/p>\n<h3>CryptoNote in Monero<\/h3>\n<p>A more reliable approach was invented: a truly anonymous currency called <a href=\"https:\/\/downloads.getmonero.org\/whitepaper_review.pdf\" target=\"_blank\" rel=\"noopener nofollow\">Monero<\/a>.<\/p>\n<p>First, Monero uses electronic signatures that permit a group participant (designated by the cell) to sign a message on behalf of the group and also prevents anyone from ascertaining who signed it. This ability permits the sender to hide their own traces. At the same time, the protocol prevents double spending.<\/p>\n<p>Second, Monero uses not only a private key for money transfers, but also an additional private key to see what has arrived in your wallet, making it impossible to see someone else\u2019s transaction history.<\/p>\n<p>Third, some senders may want to generate one-time wallets to keep money that is private and funds coming in from the markets separate. (This recommendation was made long ago over at Bitcoin.)<\/p>\n<h2>Conclusion<\/h2>\n<p>Our short overview of issues that some talented people have turned to their benefit has come to a close. We could\u2019ve written much more about smart contracts at <a href=\"http:\/\/gavwood.com\/Paper.pdf\" target=\"_blank\" rel=\"noopener nofollow\">Ethereum<\/a>, the bright future of <a href=\"https:\/\/ripple.com\/files\/ripple_consensus_whitepaper.pdf\" target=\"_blank\" rel=\"noopener nofollow\">Ripple<\/a>, or cryptocurrencies without blockchain such as <a href=\"https:\/\/iota.org\/IOTA_Whitepaper.pdf\" target=\"_blank\" rel=\"noopener nofollow\">IOTA<\/a>.<\/p>\n<p>Strictly speaking, the title of this article is inaccurate. We discussed blockchain\u2019s add-ons, not blockchain itself. But that\u2019s the beauty of blockchain: It inspires people to look for ways to improve it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let\u2019s talk about solving blockchain\u2019s six main problems to help it work better, faster, and more efficiently.<\/p>\n","protected":false},"author":669,"featured_media":18822,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1789],"tags":[374,1035,2646,880,321],"class_list":{"0":"post-18821","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-technology","8":"tag-bitcoin","9":"tag-blockchain","10":"tag-cryptocurrencies","11":"tag-future","12":"tag-technology"},"hreflang":[{"hreflang":"en-za","url":"https:\/\/www.kaspersky.co.za\/blog\/good-good-blockchain\/18821\/"},{"hreflang":"en-in","url":"https:\/\/www.kaspersky.co.in\/blog\/good-good-blockchain\/11490\/"},{"hreflang":"en-us","url":"https:\/\/usa.kaspersky.com\/blog\/good-good-blockchain\/12810\/"},{"hreflang":"en-gb","url":"https:\/\/www.kaspersky.co.uk\/blog\/good-good-blockchain\/11814\/"},{"hreflang":"es-mx","url":"https:\/\/latam.kaspersky.com\/blog\/good-good-blockchain\/11324\/"},{"hreflang":"es","url":"https:\/\/www.kaspersky.es\/blog\/good-good-blockchain\/14502\/"},{"hreflang":"it","url":"https:\/\/www.kaspersky.it\/blog\/good-good-blockchain\/14274\/"},{"hreflang":"ru","url":"https:\/\/www.kaspersky.ru\/blog\/good-good-blockchain\/18911\/"},{"hreflang":"x-default","url":"https:\/\/www.kaspersky.com\/blog\/good-good-blockchain\/19575\/"},{"hreflang":"pt-br","url":"https:\/\/www.kaspersky.com.br\/blog\/good-good-blockchain\/9830\/"},{"hreflang":"pl","url":"https:\/\/plblog.kaspersky.com\/good-good-blockchain\/8255\/"},{"hreflang":"de","url":"https:\/\/www.kaspersky.de\/blog\/good-good-blockchain\/14870\/"},{"hreflang":"zh","url":"https:\/\/www.kaspersky.com.cn\/blog\/good-good-blockchain\/8650\/"},{"hreflang":"ja","url":"https:\/\/blog.kaspersky.co.jp\/good-good-blockchain\/18000\/"},{"hreflang":"en-au","url":"https:\/\/www.kaspersky.com.au\/blog\/good-good-blockchain\/18827\/"}],"acf":[],"banners":"","maintag":{"url":"https:\/\/www.kaspersky.co.za\/blog\/tag\/bitcoin\/","name":"bitcoin"},"_links":{"self":[{"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/posts\/18821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/users\/669"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/comments?post=18821"}],"version-history":[{"count":1,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/posts\/18821\/revisions"}],"predecessor-version":[{"id":18823,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/posts\/18821\/revisions\/18823"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/media\/18822"}],"wp:attachment":[{"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/media?parent=18821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/categories?post=18821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/tags?post=18821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}