<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Praveen Kumar on Medium]]></title>
        <description><![CDATA[Stories by Praveen Kumar on Medium]]></description>
        <link>https://medium.com/@praveenkumar_86018?source=rss-40e674e15311------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rJEAxxQQNCIyW4kUsEagEA.jpeg</url>
            <title>Stories by Praveen Kumar on Medium</title>
            <link>https://medium.com/@praveenkumar_86018?source=rss-40e674e15311------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:32:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@praveenkumar_86018/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bitcoin architecture and its future]]></title>
            <link>https://medium.com/@praveenkumar_86018/bitcoin-architecture-and-its-future-9d77955fbdf8?source=rss-40e674e15311------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d77955fbdf8</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Praveen Kumar]]></dc:creator>
            <pubDate>Wed, 21 Mar 2018 00:29:09 GMT</pubDate>
            <atom:updated>2018-03-26T04:26:46.649Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Motivation:</strong></p><p>The following is an attempt to explain bitcoin, its architecture, security concerns and why it’s been heralded as the next big thing. The motivation behind writing this article is to demystify the technology behind bitcoin and consequently, this post is meant to be technical and the target audience of this post are developers and folks interested in distributed systems, security and financial transactions.</p><p><strong>What is Bitcoin?</strong></p><p>Bitcoin is basically an Internet-wide distributed ledger where anyone in the world can pay anyone else by simply transferring ownership of the corresponding slot in the ledger. Bitcoin is the first practical solution to a longstanding problem in computer science called the Byzantine Generals Problem which is an algorithm to ensure that loyal generals in an army reach agreement on a common battle plan communicating only by messenger given the presence of spies in the army.</p><p>More generally, the B.G.P. poses the question of how to establish trust between otherwise unrelated parties over an untrusted network like the Internet. The practical consequence of solving this problem is that Bitcoin gives us, for the first time, a way for one Internet user to safely transfer a unique piece of digital property to another Internet user without transaction fees and interference from 3rd parties like banks and other financial institutions.</p><p><strong>Bitcoin architecture principles</strong></p><p>There are five basic principles underlying the Bitcoin (Blockchain)technology (from <a href="https://hbr.org/2017/03/how-blockchain-applications-will-move-beyond-finance">https://hbr.org/2017/03/how-blockchain-applications-will-move-beyond-finance</a> ).</p><ol><li><strong>Distributed Database</strong></li></ol><p>Each party on a blockchain has access to the entire database and its complete history. No single party controls the data or the information. Every party can verify the records of its transaction partners directly, without an intermediary.</p><ol><li><strong>Peer-to-Peer Transmission</strong></li></ol><p>Communication occurs directly between peers instead of through a central node. Each node stores and forwards information to all other nodes.</p><ol><li><strong>Transparency with Pseudonymity</strong></li></ol><p>Every transaction and its associated value are visible to anyone with access to the system. Each node, or user, on a blockchain has a unique 30-plus-character alphanumeric address that identifies it. Users can choose to remain anonymous or provide proof of their identity to others. Transactions occur between blockchain addresses.</p><ol><li><strong>Irreversibility of Records</strong></li></ol><p>Once a transaction is entered in the database and the accounts are updated, the records cannot be altered, because they’re linked to every transaction record that came before them (hence the term “chain”). Various computational algorithms and approaches are deployed to ensure that the recording on the database is permanent, chronologically ordered, and available to all others on the network.</p><ol><li><strong>Computational Logic</strong></li></ol><p>The digital nature of the ledger means that blockchain transactions can be tied to computational logic and in essence programmed. So, users can set up algorithms and rules that automatically trigger transactions between nodes.</p><p><strong>Bitcoin architecture explained:</strong></p><ol><li>A ledger is a digital file. A copy of this file is maintained on every computer in the Bitcoin network.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*eAcB6QvicolcaGPbMlOoVg.png" /></figure><p>2. The Bitcoin system is designed so that no trust is needed between the sender and receiver. For Alice to send money to Bob, she broadcasts a message with the accounts and the amount: “Send 5.0 BTC from Alice to Bob”. Every node that receives it will update their copy of the ledger, and then pass along the transaction message to other nodes.</p><p>3. Bitcoin rules require a “Digital Signature” to unlock and spend funds and a completely different Digital Signature is required for every transaction. A Digital Signature works by utilizing two different (but connected) keys, a “private key” to create a signature, and a “public key” that others can use to check it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*vZw73BlowPxvVyHu9_X2bw.png" /></figure><p>4. To spend money, the sender proves that they are the true owner of a public key address by generating a Digital Signature from a transaction message and your private key.</p><p><strong>signature = f(message, private key)</strong></p><ol><li>Other nodes in the network can use that signature in a different function to verify that it corresponds with your public key.</li></ol><p><strong>verify_function =f(message, public key, signature)</strong></p><p>(Note that the signature is unique per transaction and cannot be reused. For deeper understanding of the math behind this, please read: <a href="http://kakaroto.homelinux.net/2012/01/how-the-ecdsa-algorithm-works/">http://kakaroto.homelinux.net/2012/01/how-the-ecdsa-algorithm-works/</a>)</p><ol><li>Instead of balances, ownership of funds is verified through links to previous transactions. To send 5.0 BTC to Bob, Alice must reference other transactions where she received 5 or more Bitcoins. Other nodes verifying this transaction will check those inputs to make sure Alice was in fact the recipient, and also that the inputs add up to 5 or more Bitcoins.</li><li>Through these referenced input linkages, ownership of Bitcoins is passed along in a kind of chain, where the validity of each transaction is dependent on previous transactions so the bitcoin software has to perform validations all the way back to the first transaction ever made.</li></ol><p><strong>Future of Bitcoin: Private blockchains</strong></p><p>The decentralization and relative freedom of access of bitcoins has led to some unexpected consequences:</p><ol><li>Bitcoins can be accessed through a TOR network which hides the IP address making it possible for a transaction to be anonymous. Since anyone can read and write transactions, bitcoin transactions have fueled black market trading.</li><li>Since the consensus protocol is energy consuming, the majority of users operate in countries with cheap electricity, leading to network centralization and the possibility of collusion, and making the network vulnerable to changes in policy on electricity subsidies.</li><li>Any “user-error” mistakes can result in the permanent loss of Bitcoins, not just from the sender’s account, but from the Bitcoin economy overall. If the private key is lost, any funds associated with the corresponding public key will be gone forever.</li></ol><p>Points 1 and 2 have led to an increased interest in private blockchains, which could ultimately give businesses a greater degree of control over who can read the ledger of verified transactions, who can submit transactions, and who can verify them. The significant advantages compared to public bitcoins are are:</p><ol><li>Private blockchain operators can control operation of a node, as well as how those nodes are connected, i.e. a node with more connections will receive information faster. Nodes may be required to maintain a certain number of connections to be considered active.</li><li>A node that restricts the transmission of information, or transmits incorrect information, can be identified to maintain the integrity of the system.</li><li>Operators can choose to restrict only certain nodes to perform the verification process, and these trusted parties would be responsible for communicating newly verified transactions to the rest of the network.</li><li>The operators of a private blockchain may choose to unilaterally deploy changes with which some users disagree.</li></ol><p>Industries however would need to be cautious while using private blockchains:</p><ol><li>Various researchers are working on how to resolve the problem of lost identification credentials. Bitcoin currently provides no recourse for those who have lost their private keys; similarly, stolen bitcoins are nearly impossible to recover.</li><li>Private blockchain owners will have to make decisions about whether, and under what circumstances, to reverse a verified transaction, particularly if that transaction can be shown to be a theft. Transaction reversal can undermine confidence in the fairness and impartiality of the system.</li></ol><p>While the risks of building a financial market or other infrastructure on a public blockchain may give a new entrant pause, private blockchains offer a degree of control over both participant behavior and the transaction verification process. The use of a blockchain-based system is a signal of the transparency and usability of that system. In the future, while businesses will use a combination of both public and private blockchains, the possibility of transaction reversal and central control over transaction verification will be better suited for private blockchains.</p><p><strong>Conclusion:</strong></p><p>In summary, Bitcoin is a digital currency that is maintained by a network of peers. Digital Signatures authorize individual transactions, ownership is passed via transaction chains, and the ordering of those transactions protected in the Block Chain. By requiring difficult math problems to be solved with each block, would-be attackers are pitted against the entire rest of network in a computational race they are unlikely to win. This architecture can be potentially leveraged in areas not specific to finance.</p><p>Bitcoin promises many interesting ideas, such as insulation from fraud and potentially lower transaction fees. It also has many challenges, as it is currently difficult to exchange Bitcoins for other currencies, and it has been cited as a haven for illegal activity and tax evasion. There is exciting potential for industries to use private blockchains in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d77955fbdf8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>