<?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 Surabhi Deshpande on Medium]]></title>
        <description><![CDATA[Stories by Surabhi Deshpande on Medium]]></description>
        <link>https://medium.com/@surabhi.deshpande20?source=rss-1dc3faf69df------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vFHUmLaKcJcH1t4i</url>
            <title>Stories by Surabhi Deshpande on Medium</title>
            <link>https://medium.com/@surabhi.deshpande20?source=rss-1dc3faf69df------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 22:59:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@surabhi.deshpande20/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[XML and HTML Parsers]]></title>
            <link>https://medium.com/@surabhi.deshpande20/xml-and-html-parsers-17a763cf0b21?source=rss-1dc3faf69df------2</link>
            <guid isPermaLink="false">https://medium.com/p/17a763cf0b21</guid>
            <category><![CDATA[parsing]]></category>
            <category><![CDATA[xml-parser]]></category>
            <category><![CDATA[html-parser]]></category>
            <dc:creator><![CDATA[Surabhi Deshpande]]></dc:creator>
            <pubDate>Wed, 03 May 2023 14:43:21 GMT</pubDate>
            <atom:updated>2023-05-03T14:50:11.134Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Authors</strong>: Anuja Deshpande, Surabhi Deshpande, Aditya Patil, Dev Bohra</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*UiP8MYDoZEt8cMuuS5jtaA.jpeg" /><figcaption><strong>Fig.1 Parsing XML File Using SAX Parser </strong>(<a href="https://www.edureka.co/blog/parsing-xml-file-using-sax-parser/">Reference</a>)</figcaption></figure><p>So if you’re anything like us, you have probably dabbled in some web-development and know what HTML is, or heard of XML. Even if not, no worries, we would be briefly introducing you to the world of Markup Languages.</p><p>However, have you ever wondered how it is parsed and rendered? This is where parsers come into picture ✨ and we would be now embarking on this journey to know more about HTML and XML parsers. So, let’s dive right in!</p><p><strong>Introduction to XML:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*YkxA1b8MXe49m1X5IaHiKA.jpeg" /><figcaption><strong>Fig.2 XML Structure</strong></figcaption></figure><p>XML, or Extensible Markup Language, is a standard format used for organizing and sharing structured data. It uses a set of rules to encode data in a format that can be read by both humans and machines. XML is a flexible and customizable language that allows users to define their own tags and structures.</p><p><strong>Introduction to HTML:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/269/1*tklvcQDYmHKTcfIiB5eTLg.jpeg" /><figcaption><strong>Fig.3 HTML Page Structure</strong></figcaption></figure><p>HTML (Hypertext Markup Language) is a standardized markup language used for creating web pages and applications. It provides a set of tags and attributes used to define the structure and layout of web content, including text, images, and multimedia.</p><p><strong>Differences between HTML and XML:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yJWCq8CDbPfRMUwvPZBA-A.jpeg" /><figcaption><strong>Fig.4 Differences between HTML and XML</strong></figcaption></figure><p><strong><em>XML Example:</em></strong></p><pre>&lt;?xml version = &quot;1.0&quot;?&gt;<br>&lt;contactinfo&gt;<br> &lt;address category = &quot;college&quot;&gt;<br>  &lt;name&gt;ABC XYZ&lt;/name&gt;<br>  &lt;College&gt;VIT&lt;/College&gt;<br>  &lt;mobile&gt;2345456767&lt;/mobile&gt;<br> &lt;/address&gt;<br>&lt;/contactinfo&gt;</pre><p><strong>Output:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*OWvvNVSjaRi9Xc6voanNhA.jpeg" /><figcaption><strong>Fig.5 XML Tree</strong></figcaption></figure><p><strong>HTML Example:</strong></p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br> &lt;title&gt;HTML&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br> &lt;h1&gt;Sample HTML&lt;/h1&gt;<br>&lt;p&gt;Compiler Design Seminar&lt;/p&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p><strong>Output:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/287/1*e9b-VaoIEdC8wY4SdlQ1aw.jpeg" /><figcaption><strong>Fig.6 HTML Output</strong></figcaption></figure><p><strong>Introduction to HTML and XML Parsers:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*7awUE4SlR1vYLPGw-AzcUA.jpeg" /><figcaption><a href="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT5L0rEg6KiW8HOZyDOeUxIBlW74QYkiVmoyw&amp;usqp=CAU">Reference</a></figcaption></figure><p>Just kidding! Parsing it is -</p><p>XML and HTML parsers are software tools that are used to read and interpret XML and HTML documents respectively. XML parsers are required to parse and extract data from XML documents, which are commonly used for data exchange and storage. On the other hand, HTML parsers are used to extract and analyze data from web pages, which are written in HTML format.</p><p><strong>Internal Working:</strong></p><p><strong>1. XML Parsers</strong></p><ul><li>Receives XML document as input</li><li>Checks for syntax errors and validates against the DTD or Schema</li><li>Creates a tree-like data structure (DOM) representing the XML document</li><li>Provides access to the nodes and their attributes through the tree structure</li><li>Can use various parsing techniques such as DOM, SAX, StAX, and JAXB</li></ul><p><strong>2. HTML Parsers</strong></p><ul><li>Receives HTML document as input</li><li>Checks for syntax errors and attempts to correct them</li><li>Creates a tree-like data structure (DOM) representing the HTML document</li><li>Provides access to the nodes and their attributes through the tree structure</li><li>Can also use various parsing techniques such as SAX and specialized HTML parsing libraries.</li></ul><blockquote>One interesting fact about HTML and XML parsers is that they are often used by search engines to index web pages. When a search engine crawls a website, it uses a parser to extract relevant information from the HTML or XML code, such as page titles, headings, and metadata. This information is then used to create the search engine’s index, which allows users to search for specific terms and find relevant pages.</blockquote><p><strong>Types of XML Parsers:</strong></p><p><em>1. DOM Parser:</em></p><ul><li><strong>Features</strong>: Parses the entire XML document and creates a tree structure in memory.</li><li><strong>Advantages</strong>: Can easily access and manipulate any node in the document.</li><li><strong>Disadvantages</strong>: Requires a lot of memory, may be slow for large documents.</li></ul><p><em>2. SAX Parser:</em></p><ul><li><strong>Features</strong>: Parses the XML document in a streaming manner, processing one element at a time.</li><li><strong>Advantages</strong>: Requires much less memory than a DOM parser, and can handle very large XML documents.</li><li><strong>Disadvantages</strong>: Difficult to navigate between elements and access specific nodes.</li></ul><p><em>3. StAX Parser:</em></p><ul><li><strong>Features</strong>: Parses the XML document in a streaming manner, but allows for both reading and writing of elements.</li><li><strong>Advantages</strong>: More efficient memory usage than DOM parser and more flexible than SAX parser.</li><li><strong>Disadvantages</strong>: More complex to use than SAX parser.</li></ul><p><em>4. JAXB:</em></p><ul><li><strong>Features</strong>: Binds XML schema to Java objects, allowing for easy conversion of XML documents to Java objects and vice versa.</li><li><strong>Advantages</strong>: Easy to use and can handle large and complex XML documents.</li><li><strong>Disadvantages</strong>: Requires additional time and effort to create the Java objects and to generate the binding code.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*RNhCxPi0PniaKSXkwnv-VQ.jpeg" /><figcaption><a href="https://www.meme-arsenal.com/en/create/meme/2636395">Reference</a></figcaption></figure><p>Wanna know some more types of XML Parsers? Let’s go…</p><p><strong>Some Additional Types of XML Parsers:</strong></p><ul><li><strong>XSLT parsers</strong>: These are used to transform XML documents into other formats, such as HTML or plain text.</li><li><strong>XPath parsers</strong>: These are used to navigate through an XML document using XPath expressions, which allow you to select specific elements or attributes.</li><li><strong>XQuery parsers</strong>: These are used to query XML documents using XQuery, a powerful query language for XML.</li><li><strong>Pull parsers</strong>: These are similar to StAX parsers, but they provide a simpler API that allows you to pull events from the parser one at a time, rather than using callbacks.</li><li><strong>Push parsers</strong>: These are similar to SAX parsers, but they provide a simpler API that allows you to push events to the parser one at a time, rather than using callbacks.</li></ul><p>Still reading? Keep going ⚡</p><p><strong>Types of HTML parsers:</strong></p><p><em>1. DOM Parsing:</em></p><ul><li><strong>Features</strong>: Parses the entire HTML document as a tree structure, which can be easily navigated and manipulated.</li><li><strong>Advantages</strong>: Provides easy navigation, manipulation, and modification of the document tree. Suitable for small to medium-sized documents.</li><li><strong>Disadvantages</strong>: May consume large amounts of memory and can be slow for large documents.</li></ul><p><em>2. SAX Parsing:</em></p><ul><li><strong>Features</strong>: Parses the HTML document in a linear fashion, generating events as it encounters each element or attribute.</li><li><strong>Advantages</strong>: Uses less memory and is faster than DOM parsing, especially for large documents.</li><li><strong>Disadvantages</strong>: More difficult to navigate and modify the document structure than DOM parsing.</li></ul><p><em>3. Regular Expressions:</em></p><ul><li><strong>Features</strong>: Uses regular expressions to match and extract specific patterns from HTML documents.</li><li><strong>Advantages</strong>: Can be fast and efficient for simple pattern matching and extraction tasks.</li><li><strong>Disadvantages</strong>: Limited ability to handle complex document structures and may be prone to errors if regular expressions are not carefully crafted.</li></ul><p><em>4. Specialized HTML parsing libraries:</em></p><ul><li><strong>Features</strong>: Utilizes specialized libraries designed for parsing HTML documents, such as Beautiful Soup or Jsoup.</li><li><strong>Advantages</strong>: Provides advanced parsing capabilities and tools for navigating, manipulating, and extracting data from HTML documents.</li><li><strong>Disadvantages</strong>: May require additional learning curve to use the library effectively and may be slower than SAX parsing for large documents.</li></ul><p><strong>Applications of HTML and XML Parsers:</strong></p><ul><li><strong>Web development</strong>: XML and HTML parsers are used to extract data from web pages, parse and validate XML documents, and build HTML documents.</li><li><strong>Data management</strong>: XML parsers are used to extract and manipulate data from large XML datasets, while HTML parsers are used to extract data from web pages and convert it to structured formats.</li><li><strong>Scientific research</strong>: XML parsers are used to process and analyze data in scientific research fields such as bioinformatics, physics, and chemistry.</li><li><strong>Mobile and desktop applications</strong>: XML and HTML parsers are used to extract data from files and streams in mobile and desktop applications.</li><li><strong>E-commerce and marketing</strong>: HTML parsers are used to extract product data from e-commerce websites and analyze marketing campaigns.</li></ul><p><strong>Conclusion:</strong></p><p>HTML and XML parsers play a crucial role in enabling web-based applications to work seamlessly across different platforms and devices by parsing and transforming the underlying markup languages into usable data formats. This has revolutionized the way we interact with information on the internet, making it more accessible and easier to use.</p><p>Phew, that was quite a lot of information to take in. We hope you enjoyed learning more about this topic, and do let us know your thoughts on this in the comments 😃! Thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17a763cf0b21" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Distributed Ledger Technology and Bitcoin]]></title>
            <link>https://medium.com/@surabhi.deshpande20/distributed-ledger-technology-and-bitcoin-3f3c26610b18?source=rss-1dc3faf69df------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f3c26610b18</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[distributed-ledgers]]></category>
            <dc:creator><![CDATA[Surabhi Deshpande]]></dc:creator>
            <pubDate>Fri, 28 Apr 2023 17:49:44 GMT</pubDate>
            <atom:updated>2023-05-03T05:06:23.650Z</atom:updated>
            <content:encoded><![CDATA[<p>Authors : Surabhi Deshpande, Aditya Patil, Anuja Deshpande, Dev Bohra</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*N6npmnVFszrD0uaMz3KY0A.png" /><figcaption><strong>Fig.1. Distributed Ledger Technology</strong></figcaption></figure><p><strong>A.</strong> <strong>Introduction to Distributed Ledger Technology (DLT):</strong></p><p><strong>a.</strong> <strong>Centralized System:</strong></p><p>The exchange of goods and services has evolved from bartering to the use of physical coins, which were difficult to carry around. Third parties were introduced to take coins and provide written proof that they were safe. This led to the use of bank notes, which replaced coins as a means of exchange.</p><p>With the advancement in technology, money exchange takes place over the network and there is no physical transfer of anything but just the update of database entries. This system is controlled by central authorities, mainly banks operated by the government. To ensure proper settlement of transactions between two unknown parties, a trusted third party is required. This third party resolves any issues or conflicts that may arise between the two parties.</p><p>However, there are several problems with the centralized system. Issues with this include the <strong>cost, time delay, control over transactions, monitoring of transactions</strong>, and the risk of the <strong>central authority </strong>being <strong>compromised</strong>.</p><p><strong>b.</strong> <strong>Distributed Ledger Technology</strong></p><p><strong>Distributed ledger technology (DLT)</strong> is a digital system for recording, verifying, and sharing transactions. It is a type of database that is spread across multiple computers or nodes, rather than being stored in a centralized location. This makes DLT more <strong>secure</strong>, <strong>transparent</strong>, and reliable than traditional databases. Each node in the network has a copy of the ledger, and any updates or changes made to the ledger are verified by consensus among the nodes. This consensus mechanism ensures that the ledger is accurate and tamper-proof, as any attempt to modify the ledger would require a majority of nodes to agree to the change.</p><p>There are several types <strong>of DLT, including blockchain, directed acyclic graphs (DAG), and hash graph</strong>.</p><p><strong>c.</strong> <strong>Distributed Ledger Technology in Blockchain:</strong></p><p>Distributed ledger technology is a fundamental concept behind the design of blockchain. A blockchain is a type of distributed ledger that is composed of a series of blocks, where each block contains a list of transactions. The term “blockchain” refers to a digital ledger consisting of a series of blocks, with each block being connected to the previous one through a cryptographic hash function</p><p>The key characteristic of blockchain is its <strong>decentralized</strong> and <strong>distributed</strong> nature. The ledger is maintained by a network of nodes or computers, rather than a central authority. This means that the data is validated and verified by the network, rather than a single entity. Each node in the network maintains a copy of the blockchain, and any changes or updates to the ledger are propagated to all the nodes in the network, ensuring a consistent and tamper-proof view of the data.</p><p>The <strong>consensus algorithm</strong> used in blockchain allows the network to agree on the state of the ledger, ensuring that transactions are valid and consistent across all the nodes in the network.</p><p><strong>d. Example of Supply Chain Management system that uses blockchain as a distributed ledger technology:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fjmYXoom9u3hH3wW_p7FxQ.png" /><figcaption><strong>Fig.2 DLT in Supply Chain Management</strong></figcaption></figure><p>In a traditional supply chain, goods are typically passed through multiple parties before reaching the end customer. The entities involved in this process may comprise various stakeholders, such <strong>as suppliers, producers, intermediaries, and sellers</strong>, who work together to bring goods or services to the end-consumer. The transfer of goods and information between these parties can be complex and can involve multiple paper-based records and manual processes, which can lead to errors, delays, and inefficiencies.</p><p>With a blockchain-based supply chain management system, each transaction related to the transfer of goods, such as orders, shipments, and deliveries, is recorded on the blockchain. The nodes in the network validate the transactions, ensuring that the data is accurate and consistent across the network.</p><p>This allows all parties in the supply chain to have real-time visibility into the movement of goods, from the raw materials to the final product. They can track and trace the goods at every step of the supply chain, ensuring that the product is of high quality and has been produced in a sustainable and ethical manner.</p><p>Blockchain can also be used to verify the authenticity and provenance of the goods, reducing the risk of counterfeit products entering the supply chain. This can help ensure that consumers receive authentic and high-quality products and can help build trust between the various parties in the supply chain.</p><p>By using blockchain as a distributed ledger technology in the supply chain, the process of transferring goods becomes more efficient, transparent, and secure. The technology provides a tamper-proof and auditable record of all transactions, making it easier to identify and resolve any issues that may arise.</p><p><strong>B. Bitcoin:</strong></p><p>Bitcoin is a <strong>decentralized digital currency</strong> that operates on a <strong>peer-to-peer</strong> network, allowing for secure and transparent transactions without the need for a central authority or middleman. It was created in <strong>2009</strong> by an anonymous person or group using the pseudonym <strong>Satoshi Nakamoto</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*hv5L8jELpqB7bkArPfHMjw.jpeg" /><figcaption><strong>Fig.3: Bitcoin</strong></figcaption></figure><p><strong>a. Genesis Block: The beginning of the Bitcoin blockchain:</strong></p><p>The initial block that was mined and marked the beginning of the chain is referred to as the Genesis Block. It is alternatively known as <strong>Block 0 or Block 1</strong>. It contains a message referencing a headline from The Times newspaper about a possible second bailout for banks during the financial crisis. The block contains the first verified bitcoin transaction, which was the transfer of 50 BTC to a specific address, and was mined by Satoshi Nakamoto, the inventor of bitcoin. The Genesis Block is a permanent and unalterable part of the Bitcoin blockchain, marking the beginning of a new technology that has the potential to transform how we store and transfer value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L39bdeKgc4rnnny4dBFzWQ.jpeg" /><figcaption><strong>Fig.4 Genesis Block</strong></figcaption></figure><p><strong>b. Buying Bitcoins: Methods and Platforms</strong></p><p><strong>Cryptocurrency Exchanges</strong>: Cryptocurrency exchanges are the most common platforms for buying bitcoins. These exchanges allow you to trade cryptocurrencies for other cryptocurrencies, fiat currencies, or even commodities. Some of the most popular cryptocurrency exchanges include <strong>Coinbase, Binance, Kraken, and Gemini</strong>.</p><p><strong>Bitcoin ATMs</strong>: Bitcoin ATMs allow you to buy bitcoins using cash. These machines are similar to traditional ATMs, but instead of dispensing cash, they dispense bitcoins. Bitcoin ATMs can be found in various locations, including shopping malls, airports, and convenience stores.</p><p><strong>Peer-to-Peer Marketplaces</strong>: Peer-to-peer marketplaces, such as <strong>Local Bitcoins </strong>and <strong>Paxful</strong>, allow you to buy bitcoins from other individuals. These platforms act as intermediaries, connecting buyers and sellers and facilitating the transaction.</p><p><strong>Bitcoin Brokers</strong>: Bitcoin brokers act as intermediaries between buyers and sellers. These brokers buy bitcoins from sellers and then sell them to buyers at a markup. Some popular bitcoin brokers include Coinmama and Bitit.</p><p><strong>OTC Markets:</strong> Over-the-counter (OTC) markets are used for buying large amounts of bitcoins, typically over $100,000. These markets allow buyers and sellers to negotiate directly with each other, without the need for a middleman. OTC markets are typically used by institutional investors and high net worth individuals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*F6vQHqhgBZk9P98O6vpHkw.png" /><figcaption><strong>Fig.5 Advantages of Bitcoin Buying Platforms</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*mQvIlCGZ0NZxhWsdhNnkpg.png" /><figcaption><strong>Fig.6. Advantages of Bitcoin Buying Platforms</strong></figcaption></figure><p><strong>c.</strong> <strong>Transactions in Bitcoins : How they work and how are they verified</strong></p><p>Bitcoin transactions involve the transfer of bitcoins from one user’s digital wallet to another user’s digital wallet. Transactions are verified by a network of nodes and miners using complex algorithms, and recorded on the blockchain, a public ledger that is tamper-proof and transparent. Once a transaction is confirmed, the recipient can access the bitcoins in their digital wallet and use them for future transactions</p><p>Example:</p><p><strong>1.</strong>Let’s say that Alice wants to send 1 bitcoin to Bob. Here’s how the transaction would work:</p><p><strong>2.</strong> Alice creates a digital message that includes Bob’s Bitcoin address (a string of letters and numbers), the amount of bitcoins to be sent (1 BTC), and a private key that proves ownership of the bitcoins.</p><p><strong>3.</strong>Alice broadcasts the transaction message to the Bitcoin network.</p><p><strong>4.</strong> Nodes on the network receive the transaction message and verify its validity by checking that Alice has enough bitcoins in her wallet to send 1 BTC to Bob, and that the private key used to sign the transaction message matches Alice’s public key.</p><p><strong>5. </strong>Once the nodes have confirmed that the transaction is valid, they add it to the blockchain.</p><p><strong>6.</strong>Miners on the network compete to validate the transaction by solving a cryptographic puzzle. The first miner to solve the puzzle adds the transaction to the blockchain and is rewarded with newly created bitcoins, as well as transaction fees.</p><p><strong>7. </strong>The transaction is now a permanent part of the public ledger and cannot be altered or deleted.</p><p><strong>8.</strong>Bob can now access the 1 bitcoin in his digital wallet and use it for future transactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*ChT2ozAwS8arRSa58bIRkg.png" /><figcaption><strong>Fig.7 Transaction in Bitcoin Network</strong></figcaption></figure><p><strong>d.</strong> <strong>Unspent Transactions Outputs(UTXOs): Definition and significance in Bitcoin Transactions</strong></p><p>Unspent Transaction Outputs (UTXOs) are the basic building blocks of a Bitcoin transaction.</p><ul><li>When someone sends bitcoins to another person, the transaction creates one or more UTXOs that are stored on the blockchain.</li><li>Each UTXO has a specific value (in bitcoins) and is associated with a specific Bitcoin address (a string of letters and numbers that represents the recipient’s digital wallet).</li><li>To spend bitcoins, the recipient must use a UTXO as an input in a new transaction. The recipient creates a new transaction that specifies the UTXO as an input, along with the amount of bitcoins to be sent and the recipient’s Bitcoin address.</li><li>The transaction is broadcast to the Bitcoin network, where it is verified by nodes and miners using complex algorithms.</li><li>Once the transaction is verified, the UTXO is “spent” and a new UTXO is created for the recipient, representing the remaining balance of bitcoins that they can spend in future transactions.</li></ul><p><strong>e.</strong> <strong>Bitcoin Mining</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/224/1*BB60zECkHcayUtyxylC5ug.jpeg" /><figcaption>Ref-<a href="https://steemit.com/meme/@shivrock/if-you-are-a-bitcoin-miner">https://steemit.com/meme/@shivrock/if-you-are-a-bitcoin-miner</a></figcaption></figure><p>Bitcoin mining is the process of adding new transactions to the blockchain and verifying their validity through complex mathematical calculations. Miners use powerful computers to compete with each other to solve a <strong>cryptographic puzzle</strong>, with the first miner to solve the puzzle adding a new block of transactions to the blockchain and receiving newly created bitcoins as a reward.</p><p>Mining is an essential part of the Bitcoin network, as it helps to ensure the security and integrity of transactions by preventing fraud and double-spending. However, mining also requires a significant amount of energy and resources, leading to concerns about its environmental impact.</p><p><strong>f.</strong> <strong>Advantages of Bitcoin</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*cJf6gzZVPC_-XFrCcD3DVQ.jpeg" /><figcaption>Ref-<a href="https://cryptonews.com/exclusives/market-looks-bad-these-20-crypto-jokes-will-cheer-you-up-may-1991.htm">https://cryptonews.com/exclusives/market-looks-bad-these-20-crypto-jokes-will-cheer-you-up-may-1991.htm</a></figcaption></figure><p><strong>1.</strong> Bitcoin uses the same algorithms as online banking, but shares transaction information without disclosing personal information.</p><p><strong>2.</strong> There is no possibility of inflation as the maximum number of coins is strictly limited to<strong> 21 million</strong>.</p><p><strong>3.</strong> Bitcoin operates as a peer-to-peer cryptocurrency network with no central server, and transactions are made between software clients.</p><p><strong>4.</strong> There are unlimited possibilities for transactions, and payments can be made to anyone, anywhere, and any amount.</p><p><strong>5.</strong> Transactions cannot be cancelled, and the system is secure, preventing fake or duplicate transactions.</p><p><strong>6.</strong> Bitcoin operates with low transaction costs, and the commission fee is lower than any other system, amounting to only<strong> 0.1%</strong> of the transaction amount.</p><p><strong>g.</strong> <strong>Disadvantages of Bitcoin</strong></p><p>1. <strong>Volatility</strong>: The value of Bitcoin is highly volatile and can fluctuate significantly in short periods of time, making it difficult to use as a stable store of value.</p><p>2. <strong>Irreversible transactions:</strong> Once a transaction is confirmed in the network, it cannot be reversed, which can be problematic in the case of fraud or errors.</p><p>3. <strong>Limited acceptance:</strong> Bitcoin is not widely accepted as a form of payment, making it difficult to use in daily transactions.</p><p>4. <strong>Security risks:</strong> The security of Bitcoin wallets can be compromised, and hackers can steal funds from users.</p><p>5. <strong>Energy consumption:</strong> The mining of Bitcoin requires significant amounts of energy, which can have a negative impact on the environment.</p><p><strong>h.</strong> <strong>The Future of Bitcoin</strong></p><p>Opinions on the future of cryptocurrencies, especially Bitcoin, are conflicting. Some proponents with libertarian views are optimistic about cryptocurrencies’ use as they make transferring funds easier and with minimal processing fees. Additionally, many countries have begun to accept Bitcoin as a valid currency. However, opponents argue that cryptocurrencies are volatile and can be used for illegal activities such as money laundering. Bitcoin is not a viable electronic currency due to its illiquidity, <strong>high price volatility, lack of a central issuer,</strong> and no financial or <strong>economic basis</strong> for its creation</p><p><strong>C. Conclusion:</strong></p><p>Distributed Ledger Technology (DLT) is a decentralized system that enables the sharing and recording of data across a network of computers. Blockchain, a type of DLT, powers Bitcoin, a digital currency that allows for direct transactions without intermediaries. The Genesis Block is the first block of the Bitcoin blockchain, and there are various ways to purchase bitcoins. Transactions are verified by nodes and miners, and UTXOs serve as the building blocks. Bitcoin mining involves complex calculations to add transactions to the blockchain. Bitcoin offers advantages like fast transactions and low fees but has drawbacks like volatility and potential for illegal activities. It has revolutionized our perception of money and value and has the potential to revolutionize multiple industries.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f3c26610b18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MANET ROUTING PROTOCOLS]]></title>
            <link>https://medium.com/@surabhi.deshpande20/manet-routing-protocols-2249dbf5444?source=rss-1dc3faf69df------2</link>
            <guid isPermaLink="false">https://medium.com/p/2249dbf5444</guid>
            <category><![CDATA[manet]]></category>
            <dc:creator><![CDATA[Surabhi Deshpande]]></dc:creator>
            <pubDate>Thu, 24 Nov 2022 12:59:58 GMT</pubDate>
            <atom:updated>2022-11-24T20:59:05.161Z</atom:updated>
            <content:encoded><![CDATA[<p>Authors : Aditya Patil, Anuja Deshpande, Surabhi Deshpande, Dev Bohra</p><p><strong>Introduction and Overview:</strong></p><p>In <strong>Internetworking</strong>, routing is the process of sending data from a source to a destination. Mobile Adhoc Network which is abbreviated as MANET, is also referred to as Adhoc Wireless Network. Mobile means moving and ad-hoc means temporary, without any fixed structure. MANETs are a kind of temporary networks in which nodes are moving with any fixed infrastructure or any centralized management. MANET routing protocols need to adapt to the changes in the network topology (due to mobile nature of nodes) and they need to maintain the routing information, so that they send the packets to their destination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*jRJNlU7JSBae_1MYvNpM0A.png" /><figcaption><strong>Fig.1: MANET Network</strong></figcaption></figure><h3><strong>Types of MANET Protocols:</strong></h3><p>They are broadly categorized as:</p><h4>· <strong>Proactive Protocols</strong></h4><h4>· <strong>Reactive Protocols</strong></h4><h4>· <strong>Hybrid Protocols</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*BpoCd5e2Hjxfo90oWKJM-g.png" /><figcaption><strong>Fig.2: Types of MANET</strong></figcaption></figure><p><strong>A)</strong> <strong>Proactive Protocols:</strong></p><p>They are also known as table-driven routing protocols. In this protocol every node maintains a routing table which contains every information regarding all the nodes present in the network. These routing tables are frequently updated after small intervals of time. Such protocols are not suited for large networks as they will have to store large amount of information which will lead to usage of more bandwidth.</p><p>Example: DSDV</p><p><strong>DSDV(Destination Sequenced Distance Vector):</strong></p><p>This is one of the most widely used proactive or table-driven protcols. DSDV uses the routing tables that are stored in every node, for transmitting the data within the nodes. Each table entry is packed with a sequence number, which is originated by the destination node.</p><p>If there is any significant change in the routing information, these changes are reflected immediately. In DSDV, each node has to advertise its routing information to its current neighbours by either broadcasting or multicasting.</p><p><strong>Advantage</strong>: It is stable for MANETs with small number of nodes.</p><p><strong>Disadvantage</strong>: DSDV requires frequent update of the routing table, which consumes a lot of power.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*9q1T9Xycp8JxMVyxL2IR0w.png" /><figcaption><strong>Fig.3: DSDV Routing Table</strong></figcaption></figure><p><strong>B)</strong> <strong>Reactive Protocols:</strong></p><p>These protocols are also known as on-demand routing protocols. These protocols will not maintain routing information about all the nodes present in the network.</p><p>When a node wants to send packets to another node, this protocol will search for the path in a on-demand manner and the connection will be established between the sender and receiver. These protocols use lesser bandwith and as a result they are more popular.</p><p>Example: AODV</p><p><strong>AODV(Ad-hoc On-Demand Distance Vector):</strong></p><p>AODV protcols will establish path between the nodes, only if the request is made by the source node. It operates in two phases i.e Route Discovery and Route Maintenance. In this protocol source node will not carry the address of the desitnation. Each node only knows its previous and next hop. A node will send Route Request(RREQ) which is multicast message for starting the route discovery. The neighbouring nodes will keep the track of these messages and pass on further nodes. After path discovery is done, the destination node will send a unicast message RREP(Route Reply) to the source and the data transmission will begin.</p><p><strong>Advantage:</strong> In AODV, as the route discovery process is on-demand, it is much efficient.</p><p><strong>Disadvantage:</strong> Due to the on-demand nature, there could be delays in data transmission</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*JWHfo1SOSNR_I7T3wj-Q3w.png" /><figcaption><strong>Fig.4: AODV Route Discovery</strong></figcaption></figure><p><strong>C)</strong> <strong>Hybrid Protocols:</strong></p><p>These protocols are a combination of proactive and reactive protocols. Proactive protocols have large overhead and less latency while reactive protocols have less overhead and more latency. To overcome this faults, Hybrid protocols divide the large networks into zones.</p><p>Further the nodes are classified as interior or peripheral nodes, depending upon the distance of the node from the source. Routing within zones are performed using the reactive approach.</p><p>Example: ZRP</p><p><strong>ZRP(Zone Routing Protocol):</strong></p><p>An efficient hybrid wireless system called Zone Routing Protocol (ZRP) is utilised to cut down on packet overhead and speed up delivery. ZRP separates the entire network into discrete regions known as Zones. ZRP defines a zone as a region in which a group of nodes are located. The radius of the routing zone is represented using ρ and the units of this radius are hops.</p><p><strong>Advantage</strong>: Routing suitable for large networks</p><p><strong>Disadvantage</strong>: There is significant amount of delay when data is to transferred to the node in the peripheral zone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*ZnN4lEhn80XevQuNTvRDyQ.png" /><figcaption><strong>Fig.5: ZRP Protocol</strong></figcaption></figure><h3>Characteristics of MANET:</h3><p><strong>a)</strong> <strong>Dynamic Topology:</strong></p><p>Nodes can randomly move with different speeds, therefore the network topology can change at any time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*IZXb3MTYdCJ69WrLLGqigg.png" /><figcaption><strong>Fig.6:Dynamic Topology</strong></figcaption></figure><p><strong>b)</strong> <strong>Energy Constrained Nodes:</strong></p><p>Since the nodes are continuously moving their energy may decrease after some fixed amount of time. Most of the nodes in the MANET depend on batteries or other means which are exhaustible.</p><p><strong>c)</strong> <strong>Limited Security:</strong></p><p>There is no assurance of security because the MANET is not centralised and does not have a permanent infrastructure. Any malicious user can enter the network and can go unidentified as all the nodes are autonomous.</p><p><strong>d) Limited Bandwidth:</strong></p><p>Wireless networks have much lower capacity than networks having infrastructures. The throughput of the wireless network after considering all possible interferences is quite low.</p><h3>Advantages of MANET:</h3><p><strong>a)</strong> <strong>Router Free:</strong></p><p>Using MANET, connection to the internet can be made without any wireless router. Due this characteristic of MANET, they are quite affordable and efficient than the traditional networks.</p><p><strong>b)</strong> <strong>Fault Tolerance:</strong></p><p>MANET protocols are designed in such a way that they support connection failures. These protocols are designed to efficiently manage such situations.</p><p><strong>c)</strong> <strong>Economical:</strong></p><p>MANET are more economical as they reduce the cost of setting up a fixed infrastructure. They require less power.</p><h3><strong>Conclusion:</strong></h3><p>A MANET is a collection of mobile nodes that connect with one another decentralized manner and without the use of a fixed network topology. Since MANET Network Protocols are more cost-effective than conventional networks, they are commonly employed. As indicated above, MANETs are divided into three types: proactive, reactive, and hybrid. The performance of these protocols varies from one another. A certain protocol is selected based on network nodes, delay, bandwidth, etc. By introducing quick and affordable networks, MANETs have thereby transformed the field of computer networks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2249dbf5444" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>