<?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 Rorie Hood on Medium]]></title>
        <description><![CDATA[Stories by Rorie Hood on Medium]]></description>
        <link>https://medium.com/@roriehood?source=rss-67d65505e3b8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*e4Wlx-o884X2GzRDd43QmA.jpeg</url>
            <title>Stories by Rorie Hood on Medium</title>
            <link>https://medium.com/@roriehood?source=rss-67d65505e3b8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 18:27:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@roriehood/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[Finding the perfect Celtic Wedding Jewellery]]></title>
            <link>https://medium.com/@roriehood/finding-the-perfect-celtic-wedding-jewellery-c3212d1e9c84?source=rss-67d65505e3b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3212d1e9c84</guid>
            <category><![CDATA[jewelry]]></category>
            <category><![CDATA[celtic-wedding-rings]]></category>
            <category><![CDATA[celtic-jewellery]]></category>
            <category><![CDATA[celtic-jewelry]]></category>
            <dc:creator><![CDATA[Rorie Hood]]></dc:creator>
            <pubDate>Wed, 11 Dec 2019 09:48:42 GMT</pubDate>
            <atom:updated>2019-12-11T09:48:42.516Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re from a Celtic nation like me, you might be thinking about opting for Celtic Wedding Jewellery for your big day. Knots, swirls and ancient tribal patterns are all the hallmarks of traditional looking Celtic Jewellery. There are a few great places to get started when looking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dcSUC-O4x6llgeISULBJ0A.png" /><figcaption><a href="https://dorothyhoodjewellery.com/"><em>Dorothy Hood Jewellery Logo</em></a></figcaption></figure><ol><li>Etsy</li></ol><blockquote>The first is <a href="https://www.etsy.com/uk/market/celtic_jewelry">Etsy</a>. <em>Etsy is filled with small and medium retailers — many of which without websites of their own. Here you can find a huge range of everything from rings to earrings.</em></blockquote><p>2. Big Retailers</p><p>Big retailers such as H Samuel or Tiffany’s stock lots of different options for Wedding Jewellery. There options range from everything to plain wedding bands to more complex designs. Celtic styled bands however are not something they stock much or, and you may struggle to find what you’re looking for.</p><p>3. Independent Goldsmiths</p><p>If you’re after something a little more authentic, consider discussing your wants and desires with an independent Celtic Goldsmith. <a href="https://dorothyhoodjewellery.com/">Dorothy Hood</a> is an independent Scottish Goldsmith that produces all her own Jewellery. As an independent, she doesn’t have the staffing costs that big retailers have and is often much cheaper. She’s also happy to modify her designs, or take on commissions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3212d1e9c84" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding arbitrage trading]]></title>
            <link>https://medium.com/@roriehood/understanding-arbitrage-trading-4049252199bd?source=rss-67d65505e3b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/4049252199bd</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[arbitor]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[arbitrage]]></category>
            <category><![CDATA[trading-algorithms]]></category>
            <dc:creator><![CDATA[Rorie Hood]]></dc:creator>
            <pubDate>Wed, 24 Oct 2018 19:25:41 GMT</pubDate>
            <atom:updated>2018-10-29T08:48:21.040Z</atom:updated>
            <content:encoded><![CDATA[<h4>What is arbitrage?</h4><p>Arbitrage is a market trading technique with a long history. It was used to trade on the first stock market in <a href="https://pure.uva.nl/ws/files/1427401/85966_05.pdf">Amsterdam</a>. Today, it’s commonly used by High Frequency Trading (HFT) software to exploit price discrepancies across multiple markets. Use of arbitrage algorithms has migrated from stock markets to cryptocurrency exchanges, where the price is more volatile. As such, arbitrage on cryptocurrency exchanges can be viewed as more profitable than against traditional stock markets. This article looks at arbitrage trading and how it can be employment against the cryptocurrency markets of today.</p><pre>Please note that no content in this article is intended as finance or trading advice.</pre><h4>Simple Arbitrage</h4><blockquote>Arbitrage trading is exploiting price discrepancies between two markets in order to make a profit.</blockquote><p>Let’s start with a simple example. Two cryptocurrency exchanges, Exchange 1 and Exchange 2, are selling Bitcoin at different prices. Exchange 1 is selling a Bitcoin for £5,000 and Exchange 2 is selling a Bitcoin for £5,500. We can see immediately that there’s a price discrepancy of £500. In summary, buying a Bitcoin on Exchange 1 and selling it on Exchange 2 would result in £500 profit. Easy money…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*srC5mB5kWzlNRI34msrDng.png" /><figcaption>A very simple example</figcaption></figure><p>We could express this as:</p><pre>Potential profit = Price on Exchange 2 - Price on Exchange 1</pre><p>If only it was so simple! Unfortunately, real world examples are a bit more complex. When calculating opportunities, there are additional costs that need to be factored into the algorithm. These include:</p><ul><li>Maker Fees</li><li>Taker Fees</li><li>Transactions Fees</li><li>Cost of Lost Opportunity</li><li>Small currency quantities</li></ul><h4>Maker &amp; Taker Fees</h4><p>When buying or selling cryptocurrencies most exchanges will leverage a fee on the order. <a href="http://www.marketswiki.com/wiki/Maker-taker">Maker-Taker</a> is a widely used fee structure, where different levels of fees are applied depending on whether an order is adding liquidity, or removing it, from the market. For those trading low volumes of cryptocurrencies, these fees generally range from 0.1–0.3% of the order amount. When calculating arbitrage opportunities across different exchanges, it’s important to know that the fee will be applied by each exchange, and that the fee structure for each exchange may vary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZuA7x_0OoakquCEgKHju_g.png" /><figcaption>Arbitrage Across Exchanges</figcaption></figure><p>As it stands, are algorithm evolves to become:</p><pre>Potential profit = Price on Exchange 2 - Price on Exchange 1 - Exchange 1 Fee - Exchange 2 Fee</pre><h4>Transaction fees</h4><p>The price of cryptocurrency transactions can vary dramatically. During 2017 the Bitcoin network was unable to cope adequately with high demand. This resulted in long waits for confirmations and high cost for transactions. Transaction fees today are significantly lower that the highs of around $36 dollars that were seen in 2017. High transactions fees quickly erode arbitrage opportunities across exchanges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*naZznT1rEp9Uu72IHND-Ow.png" /><figcaption>Historical View of Bitcoin Transaction Fees (<a href="https://bitcoinfees.info/">https://bitcoinfees.info</a>)</figcaption></figure><p>Joseph Poon and Tadge Dryja, two developers of the Lightning Protocol, suggested in a <a href="https://www.youtube.com/watch?v=wIhAmTqXhZQ">tech talk</a> that transaction fees on the lightning are going to be very low. Low cost, fast transaction fees are important for this method of arbitrage to remain profitable. This is true for any currencies transfers between exchanges as part of an arbitrage opportunity.</p><pre>Potential profit = Price on Exchange 2 - Price on Exchange 1 - Exchange 1 Fee - Exchange 2 Fee - Transaction Fees</pre><p>Cross exchange arbitrage incurs transfer fees. This has two distinct disadvantages:</p><ul><li>Continuous fees erode profit and;</li><li>The time it takes for cryptocurrency transactions to confirm removes our ability to execute new or alternative trading opportunities.</li></ul><p>As such, a simple Arbitrage strategy can be ineffective at maximising market opportunities, being too slow to result in any significant profit generation.</p><h4>Delayed Settlement</h4><p>Settling buy and sell orders for every arbitrage opportunity is both time consuming and expensive. The utility of a cryptocurrency is unavailable while the transaction is being confirmed .Additionally, excessive transfers will erode the profitability. A more effective strategy is to maintain a float balance in multiple exchanges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KuDdwKLd_m-rjrP82JJNQg.png" /><figcaption>A visual example of maintain a float across exchanges</figcaption></figure><p>This allows us to place buy and sell orders near simultaneous, which in turn reduces the chance of the price discrepancy normalising. As such, the increase/decrease of the asset pair on that exchange changes in value faster than on the second exchange. If the reduction/increase in price is quite rapid, the opportunity may be open for an extended period of time. This may be several minutes, but can occasionally run to hours or days, though at <a href="http://www.arbitor.io/">arbitor.io</a> we’ve observed this to be the exception rather than the rule.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H0nt6NjSQqvhAfi22-p9Vg.png" /><figcaption>A example of market volatility (BTC/Dash as seen on poloniex.com)</figcaption></figure><p>The diagram above shows that the price of cryptocurrency pairs are volatile.</p><h4>Triangular Arbitrage</h4><p>Triangular Arbitrage is just an extension of normal arbitrage, with the exception that it’s particularly more effective when executed on a single exchange. Rather than looking for opportunities across two currency pairs, triangular arbitrage is looking for opportunities across three currency pairs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*LlF-PaqzMw8_f2_6tGz-fA.png" /><figcaption>The triangular arbitrage strategy</figcaption></figure><p>For example, if Bitcoin is our base currency, it’s not uncommon that we can increase of volume of Bitcoin we converting our Bitcoin to Ethereum, our Ethereum to Litecoin, and our Litecoin to Bitcoin. Providing that the exchange rates between the separate currency pairs is favourable, we can end up with more Bitcoin than we had initially.</p><p>Consider the following exchange rates:</p><pre>1BTC / 29.93 Ether<br>1BTC / 112.25 Litecoin<br>1ETH / 3.94 Litecoin</pre><p>Using the above figures we can see that our Bitcoin converted to Ether would give us 29.93 Ether. Converting this to Litecoin, we would receive 117.9242 Litecoin. Converting this back to Bitcoin from Litecoin we would receive ~1.0505 BTC. A theoretical profit of around 0.0505 Bitcoin. Importantly, this example omits the fees leverages by the exchange for the sake of simplicity.</p><pre>1BTC / 29.93 Ether =  29.93 Ether<br>29.93 Ether - 0.10% Fees (2.993) = 26.937 Ether<br>1ETH / 3.94 Litecoin = 106.13178 Litecoin<br>106.13178 Litecoin - 0.10% Fees (10.613178) = 95.518602 Litecoin<br>1BTC / 112.25 Litecoin = ~0.850945 Bitcoin</pre><p>As we can see in the example above, when taking into account exchange fees, we would actually lose value from the above trade.</p><p>The advantage of triangular arbitrage is that the settlement currency ends up back at where you started. If you started with Bitcoin and the opportunity executes successfully, you’ll end up with your valuation back Bitcoin. This can be advantageous when executing opportunities against low market cap altcoins. While they tend to fluctuate quickly in price but have less intrinsic value that some of the bigger cryptocurrencies.</p><h4>Conclusion</h4><p>While viewed as a relatively safe trading strategy, arbitrage operates on thin margins. This means that unexpected changes could dramatically reduce the profitability of the strategy. For example, changes to exchange fee structures or increased transaction fees may render the technique unprofitable and result in a net loss. This risk is derived from the use of exchanges for trading, rather than arbitrage as a trading strategy. Mitigating this risk can be achieved through a general awareness of the exchange fee landscape, and dynamic fee detection that can be built into automated trading tools.</p><p>While arbitrage aims to profit from discrepancies across exchanges, it provides liquidity to the market and helps ensure that prices remain proportionately consistent across exchanges. This provides confidence as to the current value of a Bitcoin, which is important for Bitcoin markets.</p><p>Arbitrage can be viewed as a lower risk strategy that looks to consolidate profits quickly and in small amounts, rather than holding out against bigger gains or loses. This will appeal to some people, and won’t to others. Arbitrage is a trading technique with a long history, and it’s likely to be around for a while yet.</p><pre>Have any thoughts or experience using an arbitrage trading strategy? Let us know in the comments below.</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4049252199bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can DApps survive without browser integration?]]></title>
            <link>https://medium.com/@roriehood/can-dapps-survive-without-browser-integration-4c65657973d?source=rss-67d65505e3b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c65657973d</guid>
            <category><![CDATA[brave-browser]]></category>
            <category><![CDATA[dapps]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[btc]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Rorie Hood]]></dc:creator>
            <pubDate>Mon, 27 Aug 2018 18:32:16 GMT</pubDate>
            <atom:updated>2018-11-27T15:18:44.005Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s important to take a hard look at the technologies underpinning the cryptocurrency market and evaluate how they might fit into the economy of the future. If they’ve little use, they probably have little value. With that in mind, this blog post looks at Distributed Applications (DApps) on the Ethereum Blockchain, asking “can DApps survive without browser integration”?</p><p>This article assumes your familiar with DApps already. If not, shoot over quickly to <a href="https://www.coindesk.com/information/what-is-a-decentralized-application-dapp/">coindesk’s article on them</a>.</p><p>Now that we’re on the same page and have an understanding of what DApps are, we need to understand some of the everyday problems standing in the way of adoption. In particular, what are the issues DApps have that prevent the everyday person from using them? They include:</p><ul><li>Pain of setup</li><li>Technical barrier to adoption</li><li>Lack of requirement</li></ul><h4>How easy is it to get setup for DApps?</h4><p>If you want to run a decentralised application, the most common way of doing this is to use a browser extension such as MetaMask. Two problems exist because of this. Firstly, the functionality of the decentralized application isn’t available straight out of the box. The user must first install the MetaMask extension before they can use the DApp. If you’re already setup with MetaMask, then you don’t have a problem. However if you’re not setup already, then this step can described as annoying. It goes against the grain of the modern web experience, where we expect everything to work out of the box. Gone are the days when you had to install Flash to watch a video, or install TCP/IP drivers to connect to the internet. Applications today are sleek, quick and work out of the box. People don’t want to install Java or Flash, which is fair enough. From a security point of view, users have been told for the last 10 years to be wary of such add-ons, least they install malware on their computer. While this is unlikely to prevent most people from installing a plugin, it may dissuade a some. Requiring the installation of MetaMask is an unfortunate requirement if you want to use a DApp. Installing MetaMask therefore can be described as a bit of pain, and unfortunate middle-step of today’s web.</p><h4>Technical Barrier</h4><p>Fundamentally, MetaMask does work. However, the experience is somewhat clunky. In order use DApps with Chrome, a user needs to complete the following steps:</p><ul><li>Install the MetaMask Chrome Extension.</li><li>Create a MetaMask wallet.</li><li>Obtain Ethereum.</li><li>Top-up their MetaMask wallet.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*vN5CYs7RYPhNJqZ1vVeweQ.png" /></figure><p>None of these steps require a rocket scientist (or a blockchain developer), however they’ll likely discourage the less technically savvy. New users are confronted with unfamiliar terminology, a requirement to purchase Ethereum, which chances are they don’t understand very well, in order to top-up their wallet so they can use the DApp. They’ll likely need to setup an account with an exchange in order to purchase some Ethereum to use, which will take time and may require some form of Know Your Customer (KYC) verification. They’ll then need to transfer it to their MetaMask wallet in order to be able to use it.</p><p>We can see that DApp developers appreciate this is a problem. CryptoKitties for example, outline steps to help you install the MetaMask extension. You can see this below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/987/1*5jbfZllV0D__frptddM3FA.png" /><figcaption>Cryptokitties MetaMask Installation Help</figcaption></figure><p>Unfortunately, there is little more that DApp developers can do to make the introduction easier at this stage, and these steps are inherit is the current DApp ecosystem.</p><h4>Brave Integration</h4><p><a href="https://brave.com/">Brave</a> is a browser based on the Chromium project (the open source initiative that underpins Google’s Chrome browser). It’s primary aim is to be a privacy focused browser that prevents adverts and tracking. As part of their offering, Brave markets itself as coming with DApp support by default. In reality though, Brave’s DApp support is underpinned by <a href="https://metamask.io/">MetaMask</a> through the same extension as Chrome. With Brave however, MetaMask comes pre-installed as an extension (though it still has to be enabled), instead of having to be installed through the app store.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zfe06o-RYZgTeFhQrSrEMA.png" /><figcaption>Enable MetaMask Extension</figcaption></figure><p>Brave is not a mainstream browser in the same way that Chrome or Safari is. As such, Brave’s core user base is likely to be more technically savvy than the average user. Enabling an extension, creating a wallet and topping it up may seem completely natural to them. However, as we discussed previously, these steps may be viewed to too complicated to the average person.</p><h4>What are DApps actually good for?</h4><p>This is perhaps the best question we can currently ask ourselves as early adopters. The examples given for DApps are always the same, and quite limited. The common examples given include:</p><ul><li>Gambling applications.</li><li>Voting Applications.</li><li>Identity and Know Your Customer (KYC) solutions.</li><li>Transfer of ownership recording.</li></ul><p>The above are all valid uses of blockchain technology. The real question however is, does it makes sense to do these things on a blockchain? Is the use of a blockchain in this solution the best option? Fundamentally, a blockchain is an immutable database (one that can’t be changed). They’re also public by design, meaning that anyone can view the data on them.</p><p>We can start by looking at project in the open-source community. Large, industry standard projects are open sourced on <a href="https://www.github.com/">github.com</a>. 99.9% of the time, people do not require access to the source code of these project. However, it is the prevailing theory that open source project are beneficial. Making the source code available allows for greater scrutiny and transparency. This doesn’t mean that we’ll soft every software vulnerability, or every poorly written piece of code, but it does afford us the opportunity to spot these things. This is perhaps where DApps need to start. Not with games or gambling, but with transparency. As a community we should be looking experiment with projects that are require ownership to and actions to be attributable. Some of these may be great use cases for DApps. Quite a few won’t be.</p><p>DApps are likely to success where the need for transparency and immutability overlap.</p><h4>DApp Difficulties</h4><p>Currently, Ethereum is the dominant platform for building DLT based web applications. This is a precarious statement. Research by @kerooke suggests that there are only 5 DApps with over 300 daily active users.</p><h3>Kevin Rooke on Twitter</h3><p>dApps with more than 300 daily active users... Ethereum: 5 EOS: 3 Most popular dApp by weekly tx volume... EOS: EOS Bet ($18.1M) Ethereum: IDEX ($7.3M) Grab your popcorn folks, we&#39;ve got another crypto clash unfolding 🍿</p><p>Such figures don’t give the Ethereum platform a big head start over new entrants into the space. A recent article by <a href="http://fortune.com/2018/08/21/dapps-cryptokitties-augur-bancor/">Fortune </a>echos the assessment that DApps are struggling to gain ground. Fortune have quoted the co-founder of Augur, Joey Krug as saying:</p><blockquote>“that the costs and difficulty of using the service mean it has a hard sell for ordinary people”</blockquote><p>This highlights what is perhaps the fundamental problem for DApps. Not only do you require users to accept and spend a new and unfamiliar currency, you also need them to jump through all the hoops of setting up MetaMask before they can even use a DApp. Even then, the volume of useful DApps is currently limited in quantity.</p><h4>Major Browser Integration</h4><p>The biggest move toward main stream development and adoption of DApps would be support from the major browser manufactures such as Google and Apple. Standardisation through the <a href="https://www.w3.org/">World Wide Web Consortium</a> (W3C) would create an environment where businesses could feel confident that a DApp they produce will be accessible by a majority of users and run as intended across supported browsers.</p><p>Integration might be taken a step further by promoting DApps through the relevant Browser stores. Companies would be able to target user’s through the Stores rather than directly through their own websites. This could be used as a new mechanism for driving user traffic to online business stores.</p><p>Due to the large ecosystems that Apple, Google, Microsoft now control DApp integration could be taken to new and exciting steps. Want to place a smart contract backed bet online? No problem, just confirm your identity using TouchID on your iPhone.</p><h4>Conclusion</h4><p>DApps bring new opportunities to the tables. We’re already beginning to see their use as a mechanism to setup and execute smart contracts, especially in areas such as gambling. However, the user experience is unfriendly and off putting. Established browser players will have to come on-board to support DApp integration, or the entire ecosystem may fall by the wayside. However, at this early stage in DApp adoption, there’s little to stop the established players from ignoring the Ethereum blockchain and implementing their own technologies. This may be in partnership with another blockchain technology, or one of their own design. The long term success of Ethereum may be determined by how well it can embed itself into the ecosystem of the big tech companies.</p><p>It’s perhaps only the browser manufacturers that can really push the adoption of DApps. It seems plausible that Google could convince user’s to buy and spend “GoogleTokens” in DApps integrated with Chrome and Android Pay. The question this leaves however may be, does Google need Ethereum to achieve such a thing? There are plenty of examples, (Search, Advertising, Cloud, Mobile Phones) where Google has not been first to market, but has come out as a major player.</p><p>So if the question is “Can DApps survive without browser integration?”, the answer might very well be no.</p><pre>What&#39;re your thoughts on the future of DApps? Let us know in the comments below.</pre><p><em>Originally published at </em><a href="https://blog.arbitor.io/"><em>www.blog.arbitor.io</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c65657973d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Proof of Work?]]></title>
            <link>https://medium.com/@roriehood/what-is-proof-of-work-48412372725b?source=rss-67d65505e3b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/48412372725b</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[arbitor]]></category>
            <category><![CDATA[btc]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[bitcoin-core]]></category>
            <dc:creator><![CDATA[Rorie Hood]]></dc:creator>
            <pubDate>Fri, 15 Jun 2018 11:07:26 GMT</pubDate>
            <atom:updated>2018-10-25T22:14:54.135Z</atom:updated>
            <content:encoded><![CDATA[<p>There are two primary algorithms that are used to govern, manage and verify transactions in blockchains. As blockchains are decentralised (not controlled by a single point of authority), these algorithms are required to maintain order and consistency across on the blockchain network, ensuring that the history of transactions is correct. The two algorithms commonly found in blockchain systems are:</p><ul><li>Proof of Work (PoW)</li><li>Proof of Stake (PoS)</li></ul><p>This article is concerned only with the former.</p><p><strong>Proof of Work</strong></p><p>“Proof of Work” (PoW) is a term now synonymous with cryptocurrency, but can be confusing to newcomers or those without a technical background. The concept of proof of work predated the introduction of Bitcoin and other cryptocurrencies which it has since become synonymous with. In general, the term proof of work can be used to describe a system in which a non-significant (i.e large) volume of computing power is required in order to perform either malicious of frivolous actions. The aim is to make it so expensive to attack the network, that it’s not worth anyone bothering. If you could steal £1m through some malicious activity, but to do so would cost you £2m, nobody would bother. Makes sense, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bdqC-dinuwQ6EeD6Gg9_xg.jpeg" /></figure><p>Proof that work of some variety has been achieved …</p><p>In a nutshell, the term “Proof of Work” simply refers to evidence that work has been completed. The best comparison we’ve come across is the Pyramids of ancient Egypt. The Pyramids that stand today are the evidence of the building work that was undertaken thousands of years ago. This is important, because a Proof of Work algorithm, is one which simply verifies that work has indeed been undertaken.</p><p><strong>Hashing</strong></p><p>Hashing algorithms are an important concept you’ll need to understand for the next part to make sense. Simple referred to as “hashing”, a hashing algorithm is a formula that takes an input, and converts it into a deterministic output. A little diagram of this is shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*bRTBLxHl7gMp4epGKxAa0g.png" /></figure><p>An important property of hashing is that it’s deterministic. What this means, is that the same input, when fed into the same hashing algorithm, will always produce the same output.</p><p>Let’s take Jasper the cat as an example. The image of Jasper is stored in a file called “cat.jpg”. In relatlity, all Jasper is, is a collections of 1s and 0s — or machine code as it’s often known. If we pass this file to the sha256 hashing algorithm, we’ll always get the same output. Regardless of whether or not we perform the operation on a different computer. As long as the input (Jasper) and the algorithm (sha256) are the same, we’ll always get the same output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*_LN0iCOwyF6vdV91v4sAdw.png" /></figure><p>While it’s easy to determine to sha256 output for any given input, it is very difficult to find another input/image that would result in the same output from the algorithm. Such a circumstance is possible and is known as a “hash collision”. However, such a circumstance is mathematically unlikely and in order to find a hash collision, you would hash to try a large number of potential inputs before finding a second input that creates the same output. Bear in mind that the output must be <strong>identical</strong>, it can’t just look similar.</p><p>To see this in practice for yourself, browse on over to this <a href="http://www.md5calc.com/sha256">SHA256 calculato</a>r. If you paste in the following:</p><p><strong>MySHA256Input!</strong></p><p>You’ll see that the output is:</p><p><strong>5141e945586eb5917fdf82621cfa63df4f9806832a4a048d73841b0440c46244</strong></p><p>Try getting a friend to do it as well, and you’ll see that the output is always the same (unless you’ve accidentally changed the input!). In effect, verifying the hash (output) of a hashing algorithm is how we prove if work has been done. We’ll come back to this a little bit.</p><p><strong>But why do we need to prove something has been done?</strong></p><p>Lets take Bitcoin (BTC) as our example. Bitcoin is underpinned by the Bitcoin Ledger — a record of all transactions that have ever occurred on the network. These transactions are stored in sequential “blocks” — hence the name. The blockchain is distributed and not stored on any one server, or maintained by any one person. Not everyone in the network will receive information about new blocks in the chain at the same time, so bitcoin is left open to the scenario whereby somebody attempts to add a fake block to the chain. As blocks contain transactions, a fake block on the chain may have dire consequences, such as money being moved from your wallet address, to the wallet of someone else!</p><p>This is where the Proof of Work system slots in. When blocks are distributed across the network to be added to the blockchain, it’s very easy in the PoW system to calculate the hash of the block, against the hash send with the block. If the two match, we can assume (with a VERY large degree of mathematical certainty), that the block is valid and should be added to the blockchain.</p><p>What’re your thoughts on the Proof of Work algorithm? Should it be abandoned for Proof of Stake? Let us know in the comments below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48412372725b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>