<?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 GhostStaking on Medium]]></title>
        <description><![CDATA[Stories by GhostStaking on Medium]]></description>
        <link>https://medium.com/@ghoststaking?source=rss-a70055e46766------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*M_RCDHrMkwDHTOLYx5xp-g.jpeg</url>
            <title>Stories by GhostStaking on Medium</title>
            <link>https://medium.com/@ghoststaking?source=rss-a70055e46766------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 16:31:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ghoststaking/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[Casper vs Hedera]]></title>
            <link>https://medium.com/@ghoststaking/casper-vs-hedera-5b22b32b86fc?source=rss-a70055e46766------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b22b32b86fc</guid>
            <category><![CDATA[hbar]]></category>
            <category><![CDATA[casper]]></category>
            <category><![CDATA[cspr]]></category>
            <category><![CDATA[staking]]></category>
            <category><![CDATA[hederahashgraph]]></category>
            <dc:creator><![CDATA[GhostStaking]]></dc:creator>
            <pubDate>Sun, 21 Nov 2021 15:03:25 GMT</pubDate>
            <atom:updated>2021-11-21T15:03:25.599Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*uSZ8JDrdMisYhiQqo7xl4g.png" /></figure><p>commentary by <a href="http://www.ghoststaking.com/">www.ghoststaking.com</a></p><p>Hedera Hashgraph launched in 2018 with a unique hashgraph consensus mechanism which is unlike standard blockchain technology. The project has been marketed as ‘enterprise grade’ with a governing council of many well known, large and respected industry giants across a large variety of sectors.</p><p>We shall review the Hashgraph consensus mechanism, drawing parallels with existing blockchain technologies and noting how the mechanism is akin to a standard blockchain but with a layer 2 implementation of global time (such as is the case with Solana). Because of this, we can note the greater node requirements to operate as a validator on the network which then introduces similar load risks we have recently seen on the Solana network.</p><p>We shall discuss how HBARs enterprise strategy is different to that of Casper’s, where the offering is to provide a public ledger where existing permissioned blockchains can send hashes of transactions (without sharing confidential content), in order to increase auditability.</p><p>Finally, we shall note a few properties of the Governing council, question how truly decentralized this makes Hedera and also plot from interesting price metrics between HBAR and CSPR.</p><p>As we have extensively covered CSPR in our previous articles, we shall focus on first providing insights into Hedera and their consensus protocol before moving to the comparison and concluding with a summary. We recommend first reading our deep-dive of the CSPR token <a href="https://ghoststaking.com/cspr-our-choice/">here</a>.</p><h3>Background</h3><p>The Hashgraph distributed consensus algorithm was invented by Dr. Leeman Baird (the Hedera Cofounder and chief scientist). The other co-founder is Mance Harman who is currently the CEO, covering operations and management.</p><p><strong>2012</strong>: Work began by Dr. Baird in researching consensus</p><p><strong>2016</strong>: The Hashgraph whitepaper is published on May 31.</p><p><strong>2017</strong>:</p><ul><li>Seed rounds were conducted</li><li>The Hashgraph Consortium was created as a Delaware limited liability company</li><li>Technology was displayed publicly at TechCrunch Disrupt in San Francisco</li><li>First letters of intent are signed by potential council members</li></ul><p><strong>2018</strong>: Mainnet goes live with 50 billion HBAR tokens minted</p><p><strong>2019</strong>: First meeting of Governing Council</p><h3>Hashgraph Consensus</h3><p>In a blockchain, information is stored in blocks in a linear fashion where each block (excluding the current and genesis block) will have a single predecessor and single following block. This creates a single chain of blocks (as can be seen to the left of the illustration below). There are variations or branches of the chain, whereby a consensus will agree upon as to which branch to continue as the primary chain. Any user can create a transaction which will be placed into a block. If two blocks are created at the same time, the network validators will choose one chain to continue and discard the other (ignoring forks for now).</p><p>For a hashgraph (as depicted to the right of the image below), every ‘block’ of transactions is incorporated into the ledger (nothing is discarded). All branches continue to exist forever and are effectively woven together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*QbzcMcYgWcT8_9HAWOJmhQ.png" /><figcaption>Source: <a href="https://hedera.com/learning/what-is-hashgraph-consensus">https://hedera.com/learning/what-is-hashgraph-consensus</a></figcaption></figure><p>We can then say that in hashgraph, operations are recorded not via the chain (like in a blockchain), but via a <a href="https://en.wikipedia.org/wiki/Directed_acyclic_graph">directed acyclic graph (DAG)</a>. It is based on an asynchronous Byzantine-Fault Tolerance (aBFT) consensus. In this protocol, the network keeps honest consensus (as long as less than 1/3 of the nodes are malicious).</p><p>To explain the protocol, let us consider 8 users on the network. Alice has a transaction she wanted to send.</p><ol><li>She puts this inside of a message and then sends it out to a random person (David, in the example below).</li><li>That random person then in turn sends it to another random person (David to Bob). In addition, Alice can also send to another random person (Gina)</li><li>Very quickly the message is shared with all actors on the network.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k_avLcHUgkxeLUaWIbLmlA.jpeg" /></figure><p>We can also consider how new messages are then added to this network via other participants. In the below chart, two new messages are highlighted with the blue and green colouring:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*Y_4p_Ci0jxpjDDvfsKRgMw.png" /></figure><p>Now that we understand how messages propagate through the network via the ‘Gossip’ mechanism, let’s now consider how we capture message timings in the protocol. This is simply done by logging when each individual received each of the messages (red/blue/green) and then take the average time for each, eg. if we order all of the times the red message was received and then take the middle time, then do this for green and blue and then using the middle times we can then order the red, blue and green messages to know which is first, second and third. This timestamp is known as the <strong>consensus timestamp</strong>.</p><p>In terms of knowledge of when each individual received a message, this is done via the below chart where each message is conveyed by a line from one participant to another. Time evolves upwards in the chart where the very first message from Alice to Dave is the red line originating from the bottom left of the chart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*2711oLQBSCJ9AQe3E-tZKQ.png" /></figure><p>COMMENTARY</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*b31hiO4ynbDLRrXWEFF4aQ.png" /></figure><p><a href="https://ghoststaking.com/2021/11">November 21, 2021</a></p><h3>Casper vs Hedera</h3><p>Hedera Hashgraph launched in 2018 with a unique hashgraph consensus mechanism which is unlike standard blockchain technology. The project has been marketed as ‘enterprise grade’ with a governing council of many well known, large and respected industry giants across a large variety of sectors.</p><p>We shall review the Hashgraph consensus mechanism, drawing parallels with existing blockchain technologies and noting how the mechanism is akin to a standard blockchain but with a layer 2 implementation of global time (such as is the case with Solana). Because of this, we can note the greater node requirements to operate as a validator on the network which then introduces similar load risks we have recently seen on the Solana network.</p><p>We shall discuss how HBARs enterprise strategy is different to that of Casper’s, where the offering is to provide a public ledger where existing permissioned blockchains can send hashes of transactions (without sharing confidential content), in order to increase auditability.</p><p>Finally, we shall note a few properties of the Governing council, question how truly decentralized this makes Hedera and also plot from interesting price metrics between HBAR and CSPR.</p><p>As we have extensively covered CSPR in our previous articles, we shall focus on first providing insights into Hedera and their consensus protocol before moving to the comparison and concluding with a summary. We recommend first reading our deep-dive of the CSPR token <a href="https://ghoststaking.com/cspr-our-choice/">here</a>.</p><h3>Background</h3><p>The Hashgraph distributed consensus algorithm was invented by Dr. Leeman Baird (the Hedera Cofounder and chief scientist). The other co-founder is Mance Harman who is currently the CEO, covering operations and management.</p><p><strong>2012</strong>: Work began by Dr. Baird in researching consensus</p><p><strong>2016</strong>: The Hashgraph whitepaper is published on May 31.</p><p><strong>2017</strong>:</p><ul><li>Seed rounds were conducted</li><li>The Hashgraph Consortium was created as a Delaware limited liability company</li><li>Technology was displayed publicly at TechCrunch Disrupt in San Francisco</li><li>First letters of intent are signed by potential council members</li></ul><p><strong>2018</strong>: Mainnet goes live with 50 billion HBAR tokens minted</p><p><strong>2019</strong>: First meeting of Governing Council</p><h3>Hashgraph Consensus</h3><p>In a blockchain, information is stored in blocks in a linear fashion where each block (excluding the current and genesis block) will have a single predecessor and single following block. This creates a single chain of blocks (as can be seen to the left of the illustration below). There are variations or branches of the chain, whereby a consensus will agree upon as to which branch to continue as the primary chain. Any user can create a transaction which will be placed into a block. If two blocks are created at the same time, the network validators will choose one chain to continue and discard the other (ignoring forks for now).</p><p>For a hashgraph (as depicted to the right of the image below), every ‘block’ of transactions is incorporated into the ledger (nothing is discarded). All branches continue to exist forever and are effectively woven together.</p><p>We can then say that in hashgraph, operations are recorded not via the chain (like in a blockchain), but via a <a href="https://en.wikipedia.org/wiki/Directed_acyclic_graph">directed acyclic graph (DAG)</a>. It is based on an asynchronous Byzantine-Fault Tolerance (aBFT) consensus. In this protocol, the network keeps honest consensus (as long as less than 1/3 of the nodes are malicious).</p><p>To explain the protocol, let us consider 8 users on the network. Alice has a transaction she wanted to send.</p><ol><li>She puts this inside of a message and then sends it out to a random person (David, in the example below).</li><li>That random person then in turn sends it to another random person (David to Bob). In addition, Alice can also send to another random person (Gina)</li><li>Very quickly the message is shared with all actors on the network.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*b31hiO4ynbDLRrXWEFF4aQ.png" /></figure><p>We can also consider how new messages are then added to this network via other participants. In the below chart, two new messages are highlighted with the blue and green colouring:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*b31hiO4ynbDLRrXWEFF4aQ.png" /></figure><p>Now that we understand how messages propagate through the network via the ‘Gossip’ mechanism, let’s now consider how we capture message timings in the protocol. This is simply done by logging when each individual received each of the messages (red/blue/green) and then take the average time for each, eg. if we order all of the times the red message was received and then take the middle time, then do this for green and blue and then using the middle times we can then order the red, blue and green messages to know which is first, second and third. This timestamp is known as the <strong>consensus timestamp</strong>.</p><p>In terms of knowledge of when each individual received a message, this is done via the below chart where each message is conveyed by a line from one participant to another. Time evolves upwards in the chart where the very first message from Alice to Dave is the red line originating from the bottom left of the chart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*qZT85-JDkh-zZDqR.png" /></figure><p>Create a message for every circle in the graph that contains:</p><ul><li>Transactions: What you want to include</li><li>Timestamp: When you are ‘claiming’ you have created it</li><li>Digital signature of participant</li><li>2x Cryptographic Hashes:</li><li>Last message you made</li><li>Last message you received</li></ul><p>The above graph is stored on memory on all the computers. This is the ‘gossip about gossip’ feature which is often referred to in Hedera online materials. Its the sharing of the chart, where the chart denotes the gossip, and the sharing of the chart denotes gossiping about gossip. The sharing of the chart means no additional messages are required to track timings (which is often what where a lot of the load in blockchain networks stems from). This is the concept of virtual voting.</p><h3>Open Source / Open Review</h3><p>The code running on the Hedera mainnet consists of two components: platform and services. The platform code includes the gossip and consensus protocol code, and the various libraries that are used by the services code.</p><p>Unlike the majority of blockchains, the Hedera Hashgraph platform is not open sourced. It is instead ‘open review’. In Open Review, the code is available only for reviewing, compiling, and testing, but not for any other use. In Open Source, the code is also available for broad use (not limited to reviewing and testing).</p><p>Open source, means that source code is made freely available to the public. Typically you would expect the source code for a blockchain to be available on GitHub, where developers will have the ability to branch or modify.</p><p>What makes open source so important for blockchain? At a glance, you may worry that it would make the technology vulnerable, but in reality, the open source nature helps to protect it and maintain that all-important transparency.</p><p>One of the core philosophies behind anything open source is the efficiencies that can be gained. When you allow others into the technology, you can exponentially boost the potential applications available and the spread of the technology.</p><p>The business world collectively gasped when Elon Musk announced that Tesla was opening up its patents in “good faith” to anyone who wanted to use them. Why would he do such a thing? One argument is altruism — a desire to share in the spirit of open source, but there can also be more pragmatic reasons. Some believe that by opening up the technology for electric cars to more players, Musk was ensuring the proliferation of the technology.</p><p>The arguments that Hedera have put for this is “This difference is part of our commitment to those building on the Hedera ledger, that this ledger will be stable, without forking or splitting”</p><h3>Validator Nodes</h3><p>Requirements for running a validator node on the HBAR network:</p><ul><li>Dual Power — 1600W minimum, 2000W recommended</li><li>48-core or better CPU</li><li>256 GB PC4–21300 2666MHz DDR4 ECC Registered DIMM</li></ul><p>consideration for future expansion:</p><ul><li>Chassis must be Nvidia Tesla V100 PCIe certified</li><li>1x Nvidia Tesla V100 PCIe 16GB GPU</li></ul><h3>Enterprise Focus</h3><p>HBAR is heavily advertised as being the “enterprise grade blockchain”. <strong>Enterprise-grade</strong> being described as where products can integrate into infrastructure with minimal complexity and offer transparent proxy support. So what does this actually mean? (Read more about enterprise blockchains <a href="https://ghoststaking.com/blockchains-for-enterprise/">here</a>).</p><p>A private blockchain provides a means to control the logic and sharing of information within a set of known as authorized parties. Outside of Casper, existing private blockchain frameworks, such as Corda, Hyperledger Fabric, and Quorum can connect to Hedera to achieve decentralized trust without exposing its content. Thus using Hedera Consensus Service, for each update of the permissioned blockchain, a transaction hash is sent to the Hedera public ledger. This now immutable transaction hash ensures transaction information remains private while being fully auditable by authorized parties.</p><p>Put in another way:</p><p>“Transactions on Hedera are immutable and verifiable. Permissioned blockchains can integrate Hedera, sending hashes of transactions to the public ledger for enhanced auditability. The offer is that Hedera won’t slow down your permissioned network, achieving thousands of transactions per second with finality in seconds”</p><h3>Governing Council</h3><p>The Hedera Governing Council consists of up to 39 term-limited and highly diversified organizations and enterprises, reflecting up to 11 unique sectors, academia, and non-profits globally. Council members are committed to governing software changes, whilst bringing stability and continued decentralization to the public network.</p><p>In addition to charting the path for the platform and public network. They will also be responsible for:</p><ul><li>Hosting and maintaining initial network nodes</li><li>Establishing a governance framework</li><li>overseeing the software run by 100’s thousands of nodes at scale</li><li>Overall direction of the hedera platforms codebase</li></ul><h3>Comparison with CSPR</h3><p><strong>Network nodes</strong>:</p><ul><li>HBAR currently requires 256GB of RAM with the intent for this to be</li><li>CSPR nodes are required to have 32 GB of RAM.</li><li>The HBAR node requirements are akin to that of Solana — as both tackle the concept of global time. HBAR have taken this one step further than Solana by not only having the concept of global time, but also requiring that the full Hashgraph be communicated and stored across nodes.</li></ul><p><strong>Decentralization</strong>:</p><ul><li>The Hedera council are initially responsible for the setting up and running of network nodes.</li><li>The Casper maintain launch was only 6 month prior to the time of writing this article, however all 100 community validator slots have been taken and is exhibiting good levels of decentralization at this early stage.</li><li>Arguments put by HBAR for the lack of decentralization are that the affective decentralization for both Bitcoin and Ether is notably less than the sum of nodes due to the colluding nature and miner pooling which is inherent in those networks. I shall argue in the conclusion why I don’t believe this is a apt comparison.</li></ul><p><strong>Throughput</strong>:</p><ul><li>Hedera can operate in the region of 10k+ TPS</li><li>This compares with CSPR which is currently achieving 2.5k transactions per block (100 WASM deploys per block)</li><li>We should note Casper is achieving their TPS by utilizing only 100 low power validator nodes (with a possible increase of x5 throughput being tested at present). HBAR utilizes GPU grade validators with the concept of global time and virtual voting to achieve their high TPS. As this is not part of its security consensus protocol, but a mechanism to simply increase throughput, it can be considered in the same way as many sharding methodologies being researched currently. As we are aware (from the final section of our sharing article <a href="https://ghoststaking.com/sharding/">here</a>), CSPR is currently researching a proposal on how to multi thread (parallel processing) transactions. To summarize the proposal: <strong><em>CSPR Sharing — Transactions will list all spaces in memory (shards) which they require and each block is given a limited amount of sequential computation time. When a block includes a bunch of transactions instead of specifying a transaction order, it specifies a computation schedule. This schedule uses times from 0 to t where t is our bound on sequential compute time. Each transaction is assigned a sub-interval of this window with the length of the sub-interval given by the computation bound specified by the transaction. Furthermore, the intervals for any two transactions that share a shard are not allowed to overlap. Distinctions could also be made between reads to a shard and writes to a shard and allow several transactions to simultaneously read from the same shard so long as none write to it.</em></strong></li></ul><p><strong>Security:</strong></p><ul><li>The security and finality of the CSPR network has been covered in these two articles: <a href="https://ghoststaking.com/casper-cbc/">CBC</a> and <a href="https://ghoststaking.com/casper-highway-protocol/">Highway</a>. From the articles its clear that CSPR is a powerful non-statistical method to guarantee security and finality given a threshold of malicious nodes.</li><li>For HBAR, security is achieved via asynchronous Byzantine-Fault Tolerance (aBFT) consensus</li></ul><p><strong>Predictable fees:</strong></p><ul><li>Hedera’s fee schedule is set by the Hedera Governing Council and always based in USD — making it easy to estimate and control future costs.</li><li>Casper are introducing a ‘Gas Futures Market’ where the fee can be locked in, thus providing enterprise with the degree of certainty they desire.</li></ul><p><strong>Enterprise adoption:</strong></p><ul><li>The Hedera network offers a public blockchain which EXISITING private blockchains can send transaction hashes to in order to increase auditability.</li><li>The Casper enterprise adoption strategy is one of the strongest in the market at present where the team have not boxed themselves into a niche business but instead have a wide ranging enterprise strategy targeting all potential markets. This is in addition to the public side chain. Casper will offer not only the public blockchain, but also the architecture for private enterprise blockchains.</li></ul><p><strong>Future Proof:</strong></p><ul><li>The design and engineering of CSPR ensures it is a fully future proof blockchain. It has achieved this by ensuring all components (Execution Engine, Network Engine, Consensus Layer) are pluggable. This allowed the blockchain to be upgraded with relative ease.</li><li>The HBAR design is such that it aims to scale with increased network bandwidth capabilities in the future.</li></ul><h3>Price Comparisons</h3><p>Both CSPR and HBAR experienced quite aggressive selling pressure immediately post launch date. The CSPR selling was exacerbated by a more generic pullback in the market (read not newly issued tokens are exposed to greater price volatility <a href="https://ghoststaking.com/asset-price-modelling-basics/">here</a>).</p><p>One driving factor for the sell-off was the fact both tokens experience large token unlocks immediately after launch. This excess supply not only triggered selling, but also had the affect of seemingly postponing buying pressure from investors who were keen to gain exposure.</p><p>Reviewing the full historical HBAR price below, we can zoom in on the region immediately after launch. You will note the large sell-off, followed by stagnation, a modest pullback and then a long period of stagnation once again. It was almost 13 months after launch when HBAR started exhibiting the parabolic price rises we have seen recently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*oeeqq5Ujuy7JfJUfJftrCA.png" /></figure><p>Now let us plot the CSPR chart below. The similarities are stark.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*wqrbwX83Ur0bX5ROqGBcZQ.png" /></figure><p>If the HBAR price evolution is something which CSPR continues to track in the near term, we may soon experience similar parabolic price rises in the CSPR token.</p><h3>Conclusion</h3><p>Hedera is indeed a very exciting and innovative proposal for consensus. However the degree to which it is reliant on storing, sharing and saving the full transaction flow history, makes it an extremely heavyweight system. We have already experienced issues with other layer 1 blockchains that have similar memory requirements. Namely Solana which experienced an outage for a week after load pushed the network to over 750GB thus bringing down the entire network and effectively having to restart the genesis block. What I fear with these types of strategies where there is a mindless race for TPS, is that there has been little thought to curtailing transactions in periods of extreme demand. Because HBAR is insistent on saving the message flow, it loses the ability to time out or queue any messages in cases of excess load. This is something which the Casper team has considered and implemented via a simple time out strategy during periods of excess load.</p><p>A present, for HBAR, this Governing council are responsible for validating transactions on the network and therefore the extremely high cost of running a node is a limiting factor. However when the network opens up, we feel this could indeed become an issue — as is the case with Solana where there are only a small number of trusted nodes. All of these point to a more centralized network than we would hope for when it comes to distributed ledger technologies. 39 council members governing the project with a codebase that is not open for modification raises many red flags. Typically a project should be open for forking where new ideas can be implemented outside of the control of a select few. Note that a typical response we see when the issue of centralization is raised, is a comparison to the collusion of miners/validators on the Bitcoin/Ether network in various mining pools. I believe this is a wrong comparison as the collusion in Bitcoin and Ether stems from the fact that those networks are both Proof-Of-Work. Meaning collusion is required to reduce computational costs. It is wrong to compare centralization in a Proof-Of-Stake networks (such as Hedera), which can be addressed without cost, to that of a POW system where there are sizeable additional costs related to computation. I feel that with any increase in decentralization for HBAR, we could experience a sharp pullback in the security of the network, purely because of the fact that this was not a driving consideration when designing a system closely controlled by the governing council.</p><p>The above is comparable to Casper who are looking to implement a more traditional and decentralized blockchain network. I would like to note at this point however, that when Casper does indeed implement a global time level 2 sharding solution to increase throughput, we will indeed also see increased memory requirements on the network. However from the proposal being discussed to-date, it is unlikely that we shall see the same high levels of memory requirements (read more about the proposal at the bottom of our sharding article <a href="https://ghoststaking.com/sharding/">here</a>).</p><p>In terms of the enterprise strategy Casper is offering both the public and permissioned blockchain whereas Hedera’s strategy is to offer their public chain to existing private permissioned chains to use for increased auditability via a trustless network. These are two very different strategies. I would argue that there is a dependency on the success or competence of existing private chains for HBAR to succeed. With Casper however, the fate of their success lays solely in their hands, as the network offers both a public and private chain (albeit, with collaborations with other blockchain projects).</p><p>I expect a strong future for both of these projects, however at present the ‘relative value’ play (where the market cap of Casper is considerably smaller than Hedera) places Casper firmly as a favourite for investment. In addition, in the longer run, I would expect a greater degree of adoption on Casper. This is because, as Enterprise choose Casper for their private chain (because of the clear advantages over current competition), they will likely also then leverage the public chain as opposed to connecting to Hedera to increase auditability.</p><p>Disclaimer: This article is written for the purposes of research and does not constitute financial advice or a recommendation to buy.</p><h3>About Us — Staking CSPR</h3><p>We at Ghost Staking are a team of <strong>Central London Quantitative Analysts</strong> who provide market insight and commentary in addition to managing a <strong>CSPR validator</strong> production node with a <strong>fixed fee of only 3% (that is guaranteed to never increase)</strong>. If you current own CSPR tokens and wish to delegate them to us, you can enjoy passive, self <strong>compounding rewards of up to 20% APR</strong>, (please check our ‘node monitor’ to view the performance of our ultra high spec infrastructure, network economics and the latest network apy <a href="http://grafana.ghoststaking.com/d/IMhWcsZ7z/casper-dashboard?orgId=1&amp;refresh=10s">here</a>).</p><p>Our server is a bare metal fully dedicated high performance box which is solely used to run our CSPR production node. This means there is no risks of CPU spikes from any process outside of the CSPR node.</p><p>For more information about us and how to stake, please follow the guide contained on our website <a href="https://ghoststaking.com/about-us/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b22b32b86fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Casper vs Cardano]]></title>
            <link>https://medium.com/@ghoststaking/casper-vs-cardano-daf443177e79?source=rss-a70055e46766------2</link>
            <guid isPermaLink="false">https://medium.com/p/daf443177e79</guid>
            <category><![CDATA[staking]]></category>
            <category><![CDATA[cspr]]></category>
            <category><![CDATA[casperlabs]]></category>
            <category><![CDATA[cardano]]></category>
            <category><![CDATA[casper-network]]></category>
            <dc:creator><![CDATA[GhostStaking]]></dc:creator>
            <pubDate>Tue, 26 Oct 2021 14:15:56 GMT</pubDate>
            <atom:updated>2021-10-26T14:15:56.934Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZCwIMfk8PYe7wGlhJ8PBHw.png" /></figure><p>commentary by <a href="http://www.ghoststaking.com/">www.ghoststaking.com</a></p><p>As Cardano is ranked #4 in terms of market capitalization (~$70bn), by far the largest PoS network, we shall try to understand the reason for this valuation. We shall be inspecting both the protocol and adoption strategy and conclude why we believe Casper is stronger both in terms of longer term fundamentals, but also short term relative value.</p><p>As we have extensively covered CSPR in our previous articles, we shall focus on first providing insights into Cardano and the Ouroboros consensus protocol before moving to the comparison and concluding with a summary. We recommend first reading our deep-dive of the CSPR token <a href="https://ghoststaking.com/cspr-our-choice/">here</a>.</p><p>I will show how Cardano’s aggressive ‘vertical strategy’, pushes the community to flood social media with Cardano marketing and content, with the specific goal of increasing active wallets and how this strategy is likely inflating the price above its true value. We shall also discuss how the pace of development on the Cardano network is lagging behind a lot of newer layer 1 chains and how with an expected rapid advancement in blockchain innovation, this poses significant risks to the Cardano blockchain.</p><h3>Background</h3><p>Cardano was launched in 2017 and spearheaded by Ether co-founder Charles Hoskinson. The platform began development in 2015 after a dispute between Hoskinson and Vitalik Buterin regarding the accepting of venture capital funds. Hoskinson was in favour of accepting funds to create a for-profit profit entity, whereas Buterin favoured the non-profit approach.</p><p>The token presale occurred in Asia from September 2015 to January 2017, raising $62 million. A total of 26 billion tokens were sold at US $0.0024 each. Public trading of the tokens began on October 1st, 2017.</p><p>The three entities supporting Cardano’s development received 5.2 billion ADA following the mining of Cardano’s genesis block. Their allocation was as follows:</p><ul><li>2.46 billion ADA were allocated to <strong>IOHK </strong>and are held under the following vesting strategy:</li></ul><ol><li>⅓ IOHK’s ADA holdings were immediately available to IOHK.</li></ol><p>2. ⅓ was made available on June 1st, 2018.</p><p>3. ⅓ was made available on June 1st, 2019</p><ul><li>2.07 billion ADA were allocated to <strong>EMURGO</strong>, a developer company</li><li>0.648 billion ADA were allocated to the <strong>Cardano Foundation</strong></li></ul><h3>Protocol Roadmap</h3><p>The Cardano consensus protocol is based around <strong>Ouroboros</strong>.</p><p>Ouroboros is a proof of stake blockchain that was first proposed by Aggelos Kiayias in the annual international cryptology conference in 2017. There are many implementations of Ouroboros, which shall be detailed below. The evolution of Cardano is based upon these various implementations whereby each new implementation is a step further towards Cardanos end goal.</p><p>The USP of Ouroboros is the use of a randomized process to elect a new ‘slot leader’ to produce each block, based on the amount of staked tokens.</p><p><strong>Classic </strong>— Initially used on the Cardano mainnet, the classic implementation laid the foundations for a Proof-Of-Stake protocol which <strong>has the ability to generate unbiased randomness in the protocol’s leader selection algorithm</strong>. Its claimed that this randomness prevents the formation of patterns which is the key part in maintaining security: as whenever behaviour can be predicted, it can then be exploited. The random nature in question is with the selection of a ‘sot leader’ who is responsible for appending the ‘next’ block onto the chain and then passing the chain on to the next randomly selected slot leader. Note, each new slot leader is also required to consider the last few blocks of the chain as transient, before appending the next block. Only the chain that precedes the prespecified number of transient blocks is considered settled. This is also referred to as the settlement delay.</p><p><strong>BFT </strong>— (Feb 2020) Used by Cardano during the Byron era (the transition period between the old Cardano to the new ‘Shelly’ era which uses Praos — detailed below). Ouroboros BFT is an extremely simple <strong>Byzantine Fault Tolerance (BFT)</strong> protocol that follows from the Ouroboros Classic. Rather than requiring nodes to be online all of the time, Ouroboros BFT assumes a federated network of servers — i.e. the protocol only allowed three entities to produce blocks: IOHK, Emurgo and the Cardano Foundation. During this period, stake delegation was not possible and therefore the production of blocks did not generate any rewards. It provides the ledger consensus properties of consistency and liveness assuming a number of Byzantine corruptions t &lt; n/3.</p><ul><li><strong>Byzantine Fault Tolerance (BFT)</strong> is the ability to tolerate participants that arbitrarily deviate from the specification of the protocol, even when these deviations may be orchestrated by an adversarial entity.</li></ul><p><strong>Praos </strong>— This was the next evolution (Shelley era of Cardano) and is based upon Ouroboros Classic but with security and scalability improvements. The Shelley era began on epoch 208 with the Shelley Hard Fork. This protocol enables stake delegation and stake pools (defined below). In this update, the network moved from centralized (i.e. only the 3 entities above producing blocks), to decentralized, where the community is able to validate transactions (as with other PoS networks). Participants are prevented from exerting too much control over the Cardano network through a pool saturation point, at which point the pool would realize diminishing returns for participating in consensus. This is to prevent a handful of pools having a disproportional probability of being chosen as a slot leader.</p><p><strong>Genesis </strong>— Improves upon Ouroboros Praos by adding a ‘<strong>chain selection rule</strong>‘, which enables parties (validators) to bootstrap from a genesis block, without the need for trusted ‘checkpoints’ or assumptions about past availability — know as ‘Dynamic Availability‘ (read more about dynamic availability in our article <a href="https://ghoststaking.com/nothing-at-stake-long-range-attacks/">here</a>). When a new node joins the network, if there is ambiguity on which chain is the correct chain (due to forks), for Bitcoin you can simply join the longest chain. For other general PoS blockchains, its a little more complex and ‘checkpoints’ are implement along the chain which are considered trusted markers (trusted block) denoting the chain (from the genesis block to that trusted block) is correct. The issue with checkpoints however is that for a new node joining the network, they will be unaware of the checkpoints and therefore will need a trusted 3rd party to flag these. The specific chain selection rule for Ouroboro Gensis, which does not need a trusted block, is simply:</p><ul><li>For a fork smaller than a predefined amount of block (i.e. recent fork where the number of blocks since the fork until the latest block is small) — use the <a href="https://ghoststaking.com/nothing-at-stake-long-range-attacks/">longest chain rule</a></li><li>For a fork larger than a defined amount of blocks — use the ‘plenitude’ rule: <strong>Plenitude rule</strong> — This is simply to split the chain into time slots from the point of the fork and then select the chain which is denser (i.e. has more blocks). The intuition is that if enough honest parities follow this rule, then at any sufficiently long time segment, the corresponding chain will be more dense. This eradicates the need to have a <a href="https://ghoststaking.com/nothing-at-stake-long-range-attacks/">trusted recent block for dynamic allocation</a>. In the below illustration, you will note that with the new chain selection rule, the blue chain will be chosen (whereas previously under ‘Praos’, the green chain would have been selected).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*NL5FZn1FuEpVRIKQSeEIOg.png" /><figcaption>Source: <a href="https://www.youtube.com/watch?v=m-kI_Sb8oII">https://www.youtube.com/watch?v=m-kI_Sb8oII</a></figcaption></figure><p><strong>Hydra </strong>— which will be an off-chain scalability architecture (layer 2 implementation), addresses three key challenges: (1) high transaction throughput (2) low latency (3) minimal storage per node. In addition, this solution would also make it possible to complete micropayments, voting systems and support insurance contracts.</p><ul><li>The increased throughput is achieved by using a ‘multiple lanes’ approach for data transactions per users: each user creates 10 ‘heads’, whereby each head is considered a lane that can process 1000 transactions per second. This would mean in theory, with a 1,000 ‘heads’ the network could be capable of processing 1m transactions per second.</li></ul><h3>Protocol Detailed</h3><p>Chains are divided into blocks of time called epoch’s and individual units of time within an epoch are slots.</p><p>For each slot, a stake pool is assigned as the slot leader, and is rewarded for adding a block to the chain. For security reasons, there is mechanism in place called ‘settlement delay’ where a slot leader before appending a block to the chain is first required to consider the last few blocks of the received chain as transient and only the chain which precedes a prespecified number of transient blocks is considered settled. This is the mechanism the ledger is securely passed between participants (slot leaders).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*_XFtbgA_rxOxFdDg_TsaUg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qQ4aO3EOV9HAX4D048ALZA.png" /></figure><p>As not all stakeholders will have the expertise to produce a block if elected, they are able to pool their resources by delegating their stake to stake pools. The managers of the pool (pool operators) manage block production if elected as slot leaders. Note, these can be considered in a similar way to mining pools in Bitcoin, discussed <a href="https://ghoststaking.com/bitcoin-mining-hashrate-difficulty/">here</a>.</p><p>The slot leader is chosen using a randomness generation process ‘publicly verifiable secret sharing (PVSS)’.</p><p>PVSS: In this scheme, a ‘secret’ is split up into many shares and the original secret can only be reconstructed if a single party has access to a certain portion of the shares (eg &gt;50%).</p><p>The PVSS scheme developed for Cardano is called SCRAPE.</p><ul><li><strong>SCRAPE</strong>: A relatively simple coin flipping type game is used where party A flips the coin and party B calls either heads or tails. However in this game, if the caller is not based in the same location as the flipper, there could be reasons for ambiguity and mistrusts. For example Alice calls before Bob flips, could mean that Bob can state an incorrect result in his favour after the flip. Similarly if Alice only discloses her call after Bob conveys the result of the flip then Alice can falsely skew the result in her favour. Therefore instead, a ‘commitment’ under a PVSS is shared by Alice, and verified by Bob after the coin flip:</li></ul><ol><li>Alice “calls” the coin flip but only tells Bob a commitment to her call</li><li>Bob flips the coin and reports the result</li><li>Alice reveals what she committed to</li><li>Bob verifies that Alice’s call matches her commitment</li><li>If Alice’s revelation matches the coin result Bob reported, Alice wins</li></ol><h3>Protocol Example</h3><p>The protocol runs like the following:</p><ol><li><strong>Committee formation</strong>: The distinct slot leaders for the epoch form a notional committee that will play the coin flipping game. Each committee member privately generates a random number 𝒖 (their flip of the coin).</li><li><strong>Commit phase</strong>: In the first 2𝒌 slots of an epoch, committee members post their PVSS data for 𝒖 to the blockchain according to the particular PVSS scheme the protocol uses. Each party posts:</li></ol><ul><li>A commitment to 𝒖.</li><li>A “share” of 𝒖 for every other committee member encrypted with their public key. This share gives them no information about 𝒖 but if you have more than half of the shares you can reconstruct it.</li><li>Cryptographic proof that the 𝒖 committed to and the one shared are the same.</li></ul><p><strong>3. Reveal phase:</strong> In the next 2𝒌 slots, committee members reveal their 𝒖 on the blockchain.</p><p><strong>4. Recovery phase:</strong> In the last 1𝒌 slots, committee members check who hasn’t revealed their 𝒖. For every party who hasn’t revealed 𝒖, each member posts their share of that party’s 𝒖 to the blockchain. Once over half the shares are posted, all parties can reconstruct the 𝒖 for that party.</p><p><strong>5. New Epoch:</strong> The 𝒖 values from each party are now publicly known. They are xor’d together to get 𝞺 which is used as a seed to pick a random satoshi (the smallest currency unit) for each slot in the next epoch. The owner of that satoshi is the slot leader. The committee formation for the next epoch now begins.</p><h3>Smart Contracts</h3><p>Cardano has recently introduced smart contracts via its Alonzo update in September 2021 (epoc 290), thus officially markjing the start of the Goguen era. The smart contract update in Cardano will allow for the creation of dApps. During the first 24 hours post the update, Cardano saw more than 100 smart contracts processed.</p><p>The upgrade came after 6 years of research and development. Programmers for Cardano’s smart contracts will use one of three languages: Plutus, Marlowe or Glow. Plutus is “a purpose-built smart contract development and execution platform” that runs both on-chain and off-chain. Marlowe is Cardano’s domain-specific language (DSL) used moreso for financial contracts, while Glow is a DSL used for writing decentralised applications (dApps)</p><h3>Adoption Strategy</h3><p>Cardanos ‘<strong>vertical strategy</strong>‘ pushes the community into making “easy to watch, informative and entertaining” videos that range between 10 and 60 seconds that targets users on TikTok, Instagram reels and YouTube stories. There is a huge push to grow the network through community marketing and even strategic pushes to expand the content on social media platforms which are generally thought to be have younger demographics.</p><p>The reason for this very aggressive push is to utilize a the phenomenon the “network effect” (read more about the network effect <a href="https://ghoststaking.com/cspr-price-forecast/">here</a>). A summary of this effect is: more users and more owners means more developers. That in turn means more projects, more use cases, and thus more users and more owners, and so on — i.e. accelerating the growth of the network through targeted, aggressive marketing</p><p>Cardano is reported as targeting as much as 1billion active wallets within the coming years and have focused not only on the vertical strategy in Western regions, but also a hard push to wallet adoption in region such as Africa. The chart below illustrate the growth in wallet for the first half of 2021.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Er0EoONC11sCV1wME8NxUA.png" /></figure><h3>Issues</h3><p>Before moving onto a direct comparisons between Cardano and Casper, we would first like to highlight some specific issues we see with the Cardano project.</p><ul><li>There is still no single popular application deployed on the Cardano blockchain. This is due to the lengthy time taken to productionise smart contracts.</li><li>Although Cardano is unique in the fact that it was the first project founded on peer reviewed research and development, the lengthy research phases which Cardano is going through means it is at severe risk of becoming outdated when compared to the rapid development within the blockchain space. In addition, with the reliance on evolving ouroboros, the projects seems heavily married to the consensus protocol and will likely see big issues in the future if a major change is required (as we are currently seeing with the efforts required to implement major changes to the Ethereum protocol). As a network grows substantially in size, implementing major changes to fundamental components becomes increasing more difficult, if the system is not designed as pluggable.</li><li>ADA may be relatively “overvalued” compared to other smart contract blockchains as it is currently an unfinished product; while it boasts years of research and marketing, it is still in an early stage of development and much of its current value is based upon its aggressive marketing tactics to increase active wallet addresses.</li><li>A lot of data is written to the blockchain in the commit phase. The number PVSS related messages is proportional to 𝒎² where 𝒎 is the size of the committee. Large committee sizes cause large communication and computational overheads. This necessitates a minimum stake limit for being a committee member to cap the size of the committee.</li><li>As the slot leader schedule for the current epoc is public, an attacker can identify which parties it would be best to corrupt ahead of time.</li><li>Although Cardano has been in existence for many years (longer than most other layer 1 chains), during the Byron era, the network was permissioned (federated and controlled by only IOHK, EMURGO, and the Cardano Foundation), meaning there was no decentralization and security was never put to the test.</li><li>Cardano has multi layers: CSL (settlement layer), where value is transferred, and the CCL (computation layer), where computation takes place. This was to increase efficiency, scalability and capacity for soft fork protocol changes. The CCL deals with the “why” of the ADA transactions and is where smart contracts come into play, versus the CSL which handles the accounting of the movement of assets. The activities/reasons behind certain applications running on a blockchain may not be ones supported or endorsed by all in the network. This opens up the risk of potential censorship.</li></ul><h3>Comparison with CSPR</h3><p>We shall now focus on drawing some comparisons of Cardano with CSPR</p><p><strong>Network nodes</strong>:</p><ul><li>Cardano requires a block producer to have a minimum of 4GB RAM (8GB for relay nodes).</li><li>CSPR nodes are required to have 32 GB of RAM.</li><li>A validator on Cardano currently holds between 0 and 63M ADA, 63M is the ‘sweetspot’ for optimal rewards, whereas for CSPR a new validator needs to merely hold more CSPR than the current 100th place validator. The huge cost in holding an optimal amount of ADA for a Cardano validator means that only large institutions will meet this criteria.</li></ul><p><strong>Decentralization</strong>:</p><ul><li>Cardano has only very recently moved from a federated blockchain, where there were only 3 block producers, to allowing the community to produce blocks thus encouraging decentralization.</li><li>The Casper maintain launch was only 6 month prior to the time of writing this article, however all 100 community validator slots have been taken and is exhibiting good levels of decentralization at this early stage.</li></ul><p><strong>Throughput</strong>:</p><ul><li>Cardano operates at about 7 transactions per second. This however is parameterized and maybe adjusted up to approximately 50tps</li><li>This compares with CSPR which is currently achieving 2.5k transactions per block (100 WASM deploys per block)</li><li>Both protocols have promised increased TPS via a layer 2 solution</li></ul><p><strong>Security:</strong></p><ul><li>The security and finality of the CSPR network has been covered in these two articles: <a href="https://ghoststaking.com/casper-cbc/">CBC</a> and <a href="https://ghoststaking.com/casper-highway-protocol/">Highway</a>. From the articles its clear that CSPR is a powerful non-statistical method to guarantee security and finality given a threshold of malicious nodes.</li><li>For ADA security, participants are prevented from exerting too much control over the network via a pool saturation point, that exhibits diminishing returns when exceeded.</li></ul><p><strong>Smart Contracts:</strong></p><ul><li>Casper uses ‘Rust’ for smart contract development.</li><li>Cardano uses Plutus, Marlowe or Glow.</li><li>Bespoke languages will inherently contain more difficulty with the requirement for first learning the language. In addition with bespoke languages such Solidity, when compared to Rust, the tooling support for Rust is already years ahead. It has an integrated test and benchmark runner, a linter, a code formatter, syntax highlighting in every text editor, not to mention that the language itself has many features that makes writing Rust code both more ergonomic and easier to get right than the same in Solidity. Additionally, Rust data structures are very compact</li></ul><p><strong>Slashing:</strong></p><ul><li>Both CSPR and Cardano do not impose any fine for maliciously nodes.</li><li>CSPR implements jail time.</li></ul><p><strong>Enterprise adoption:</strong></p><ul><li>Although the initial Ouroboros paper by Aggelos Kiayias proposed both a public and private blockchain, the Cardano team have chosen to focused solely on the public side chain.</li><li>The Casper enterprise adoption strategy is one of the strongest in the market at present where the team have not boxed themselves into a niche business but instead have a wide ranging enterprise strategy targeting all potential markets. This is in addition to the public side chain.</li><li>The focus from Cardano on the public chain was previously very specific with regard to financial transactions, however recently there has been a push into adoption within Africa.</li></ul><p><strong>Future Proof:</strong></p><ul><li>The design and engineering of CSPR ensures it is a fully future proof blockchain. It has achieved this by ensuring all components (Execution Engine, Network Engine, Consensus Layer) are pluggable. This allowed the blockchain to be upgraded with relative ease.</li><li>Cardano has implemented a segregation between the CSL and CCL layers to enable soft forks of the consensus protocol, however is limited in large changes to the protocol.</li></ul><h3>Summary</h3><p>The differences between the two security protocols are less distinct that when comparing some other layer1 chains against Casper. Cardano has moved through a phased of BFT PoS and is now open for decentralization via the launch of the Shelly era. Both projects are also offering a promising of a layer 2 increase in throughput. This is however where the similarities stop.</p><p>Cardano evolution has been at a glacial pace, taking many years of research and development to launch a decentralized PoS blockchain with smart contract capabilities. This lengthy period of time may have been fine in years past, however with an increasingly crowded layer 1 project space, competition will results in an increase to the speed of innovation, and its clear that Cardano is at a huge risk of falling behind the pack. With regard to Casper, It is specifically in anticipation of this pace of change, that the CasperLabs team have engineered the Casper blockchain to be fully pluggable and upgradable (including the Execution Engine, Network Engine and Consensus Layer). For Cardano, a split has been implemented between the CSL (Settlement Layer) and CCL (Computation Layer) in anticipation for future soft forks, however this implementation has exposed the network to risks of censorship.</p><p>The aggressive marketing tactics of the Cardano community, targeting strategically short and punchy social media and YouTube posts has driven up the number of active wallet addresses and therefore price of the token. The valuation of the token however (#4 in market cap), greatly exceeds any utility currently being gained from the blockchain, as there is no notable projects developing on the blockchain. Its therefore the case, we believe, that the valuation is not simply based upon future potential, but more artificially raised by targeting new users who may not be fully aware of tech and abilities of competitors in this space. The fact that shorter more snappy clips are encouraged for promotion, leads us to believe that the group is focusing on onboarding new users off the back of the recent craze in crypto assets and the Bitcoin bull run, as opposed to a more seasoned, knowable investor. This level of hype is unsustainable in our opinion.</p><p>With regard to the smart contract development on both blockchain, the use of a bespoke language for Cardano will likely mean a handful of developers will initially have the knowledge and ability to build. This is in comparison to Rust on Casper where we see sizably more potential for scalability and usability which will accelerate adoption and ecosystem growth.</p><p>Focusing on the adoption side, Cardano’s aspirations within the Africa region has been heavily publicised for a long time however the only partnerships we can see to date linked with entities such as schools within the region. There is yet to be an announcement on a multinational level. This is in comparison with Casper, where within its short existence, we have seen exciting news with companies such as <a href="https://ipwe.com/">iPwe </a>and also sovereign nations such as those publicised with the <a href="https://www.crowdfundinsider.com/2021/06/177296-blockchain-company-casper-labs-expands-uae-presence/">UAE</a>. We believe this highlights the proactive approach CasperLabs is taking to begin quickly delivering utility from the Casper blockchain.</p><p>Both protocols offer a good consensus layer, with Casper CBC being one of the most secure BFT protocols in the market. Cardanos BFT implementation was advertised as being a quick and simple implementation (likely due to the complexity involved in implementing a full solution) until they moved to Genesis Ouroboros where the leader selection process is used in conjunction with the new chain selection rule. We are especially impressed with the pace that the CasperLabs team have pushed a working CBC solution to market.</p><p>Due to the overhyping of the Cardano project, we believe that newer layer 1 chains will eventually eat into their market share, thus giving Casper better longer term price potential. In the shorter term, with the Casper market cap being sizeable smaller than Cardano, we believe there is a lot of near term relative value potential in Casper also.</p><p>Disclaimer: This article is written for the purposes of research and does not constitute financial advice or a recommendation to buy.</p><h3>About Us — Staking CSPR</h3><p>We at Ghost Staking are a team of <strong>Central London Quantitative Analysts</strong> who provide market insight and commentary in addition to managing a <strong>CSPR validator</strong> production node with a <strong>fixed fee of only 3% (that is guaranteed to never increase)</strong>. If you current own CSPR tokens and wish to delegate them to us, you can enjoy passive, self <strong>compounding rewards of up to 20% APR</strong>, (please check our ‘node monitor’ to view the performance of our ultra high spec infrastructure, network economics and the latest network apy <a href="http://grafana.ghoststaking.com/d/IMhWcsZ7z/casper-dashboard?orgId=1&amp;refresh=10s">here</a>).</p><p>Our server is a bare metal fully dedicated high performance box which is solely used to run our CSPR production node. This means there is no risks of CPU spikes from any process outside of the CSPR node.</p><p>For more information about us and how to stake, please follow the guide contained on our website <a href="https://ghoststaking.com/about-us/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=daf443177e79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Casper vs Polkadot]]></title>
            <link>https://medium.com/@ghoststaking/casper-vs-polkadot-e2fc840da1f0?source=rss-a70055e46766------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2fc840da1f0</guid>
            <category><![CDATA[casper]]></category>
            <category><![CDATA[staking]]></category>
            <category><![CDATA[casperlabs]]></category>
            <category><![CDATA[polkadot]]></category>
            <category><![CDATA[cspr]]></category>
            <dc:creator><![CDATA[GhostStaking]]></dc:creator>
            <pubDate>Fri, 17 Sep 2021 14:33:15 GMT</pubDate>
            <atom:updated>2021-09-17T14:33:15.200Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*p40O_4uONcmcxxZIUqHERg.png" /></figure><p>commentary by <a href="http://www.ghoststaking.com/">www.ghoststaking.com</a></p><p>Within this article, we shall do a mini deep dive into the Polkadot 1 blockchain, specifically the sharded architecture and parachains, and conclude with comparisons to the Casper layer 1 blockchain.</p><p>We shall argue that with the increased capabilities of bridging between blockchains, the focus should be on developing secure layer 1 chains (potentially with varying characteristics) and then applying bridges between these independent chains. This would then create the building blocks for a future decentralized web without the need for a single controlling blockchain, such as DOT. CSPR provides security through an implementation of CBC and Highway protocols, with the promise of innovative <a href="https://ghoststaking.com/sharding/">sharding</a>, both a public and private (<a href="https://ghoststaking.com/blockchains-for-enterprise/">enterprise</a>) blockchain offering and finally a promise of a gas futures market to ensure that enterprises have a guarantee of future costs. We feel, these are the reason why CSPR will be a dominant layer 1 chain within a future internet of chains, connected via bridging (as opposed to a Parachain implementation).</p><p>As we have extensively covered CSPR in our previous articles, we shall focus on first providing insights into DOT before moving to the comparison and concluding with a summary. We recommend first reading our deep-dive of the CSPR token <a href="https://ghoststaking.com/cspr-our-choice/">here</a>.</p><h3>Polkadot</h3><p>Polkadot was created by Gavin Wood and launched via ICO in Oct 2017. Gavin was one of the original founders and CTO of Ethereum. After building the Ethereum testnet in C++, Gavin then wrote the Ethereum yellow paper in April 2014 (a technical specification of Vitalik’s whitepaper) and later proposed Ethereum’s native programming language, Solidity. Following this, Gavin went on to set up the Web3 foundation and it was in developing and awaiting the release of a new Ethereum specification that would include sharding, that Gavin put together his workings for a heterogeneous multi-chain framework which later formed the basis of the blockchain project ‘Polkdot’.</p><p><strong>The aim of Polkdot is to be able to create interoperability between multiple blockchains and therefore create the foundations of a fully decentralized web</strong>. This is a separate concept to where previously developers have successfully tried to ‘bridge’ different blockchains, thus allowing two chains to work together.</p><p>Polkdot is made up of several blockchains:</p><ul><li><strong>Relay chain</strong> — The main blockchain where transactions are finalized</li><li><strong>Parachain</strong> — This is the name of each of the secondary blockchains that use the computing resources of the Relay chain to confirm that the transactions are correct</li><li><strong>Bridges</strong> — Systems to connect to external blockchains</li></ul><p>Parachains can be considered as independent blockchains which are connected together via the Relay chain.</p><h3>Relay Chain</h3><p>This is the heart of Polkadot and is responsible for the networks shared security, consensus and cross-chain interoperability. All validators of Polkadot are staked on the Relay chain and validate for the relay chain. There is deliberately minimal functionality on the relay chain (smart contracts are not supported), as its used to coordinate the system as a whole. Below are the transaction types:</p><ul><li>Interact with the governance mechanism</li><li>Parachain auctions</li><li>Participating in NPoS (Nominated-Proof-Of-Stake): a variation of the Proof-Of-Stake consensus protocol. This is the process of selecting validators to be allowed to participate in the consensus protocol. There are two main roles which will allow for this (covered below), (1) Validators and (2) Nominators.</li></ul><p>There are various roles in the Relay chain:</p><ul><li><strong>Validator</strong> — they validate the data in the Parachain blocks. As is the case with any PoS system, validators provide the infrastructure and maintenance for the network. They are responsible for the production of new blocks, the validation of Parachain blocks, guaranteeing finality and ultimately the security of the network. For validators to be able to perform their services for the network, they need to be in the ‘active set’. Validators in the active set take turns in proposing, validating and appending new blocks.</li><li><strong>Nominator</strong> — ensure the Relay Chain by selecting trusted validators. Nominators delegate their staked DOT tokens to validators and thus allocate their votes to them. Up to 16 validators can be backed by a nominator.</li><li><strong>Collectors</strong> — nodes that store a complete history for each Parachain and aggregate the transaction data of the Parachains in blocks to add them to the Relay Chain.</li><li><strong>Fishermen</strong> — monitor the Polkadot network and report bad behaviour to validators.</li></ul><p>Any DOT holder can participate as a nominator. A nominator publishes a list of validator candidates that they trust, and allocates an amount of DOT tokens against each. Not all validators on the Poilkadot blockchain are able to carry out validating duties. Only a subset of the total validator set gets elected into the ‘active set’ to carry out the duties of a validator. If some of the candidates elected by a nominator are elected as validators in the ‘active set’, these validators then earn and shares reward payments, or the sanctions, on a per-staked-DOT basis with the nominator. Unlike other PoS protocols, where validators are weighted by stake, in Polkadot each validators given equal voting power the in consensus protocol.</p><p>The election process uses a method of <strong>proportional representation</strong>, and tries to ensures that any pool of nodes is neither over-represented nor under-represented by the elected validators, proportional to their stake.</p><p>The fair representation property roughly translates to the rule that any nominator holding at least one n-th of the total stake is guaranteed to have at least one of their trusted validators elected. For example if there is a total staked amount of 40 and a requirement to choose 4 validators, then any nominator holding 10 tokens (40/4) is guaranteed to have at lease one of their nominations selected. If then a nominator gets two or more of its trusted validators elected, their stake is distributed among the elected validators in such a way that the validators’ backings are as balanced as possible. This is iterated until the total number of desired validators are selected. Please see the example below where 4 validators are desired.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*-IZrCVjYgADGlQaUkGpx1w.png" /><figcaption>Source: <a href="https://medium.com/web3foundation/how-nominated-proof-of-stake-will-work-in-polkadot-377d70c6bd43">https://medium.com/web3foundation/how-nominated-proof-of-stake-will-work-in-polkadot-377d70c6bd43</a></figcaption></figure><p>Every validator gets the same amount of rewards from the network, and rewards are distributed to nominators proportional to their staked tokens. This means that a delegator can earn higher rewards if they nominate a smaller, less popular validator that has less stake backing them.</p><h3>Parachain</h3><p>Within Polkadot there is support for a number of execution slots. Each can be considered the same as a core on a computer processor. Each execution slot is a slot in the relay chain where a parachain can connect. Any developer, company or individual can create their custom parachain through Substrate, a framework for creating cryptocurrencies and decentralized systems. Once the custom chain connects to the Polkadot network, it becomes interoperable with all other Parachains on the network. We can therefore consider a Parachain as an independent blockchain.</p><p>Parachains may have their own economies with their own native tokens <strong>they however cannot use other consensus algorithms that provide their own finality</strong>. A Parachain must achieve its finality from the Relay chain only. Executing a block finality outside the context of the relay chain is outside the scope of trust that Polkadot provides.</p><p>Unlike most layer 1 blockchains, where decentralized applications are created within the bounds set by its blockchain, Polkadot allows developers to create their own independent blockchains. This means that each parachain can have its own parameters such as block times, transaction fees, governance mechanism and mining rewards. Parachains benefit from the Polkadot network’s security, maintained by the Relay Chain, rather than having to rely on their own set of validator nodes. Instead, parachains are maintained by collator nodes that store a full history for each parachain and aggregate parachain transaction data into blocks to be added to the Relay Chain.</p><p><strong>Polkadot supports a limited number of parachains, currently estimated to be about 100</strong>. As the number of slots is limited, there are specific ways to allocate them (1) Governance granted Parachains (2) Auction granted Parachains (3) Parathreads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*YIv7ALnNhArBvrB2zSbczw.png" /><figcaption>Source: <a href="https://wiki.polkadot.network/docs/learn-parachains">https://wiki.polkadot.network/docs/learn-parachains</a></figcaption></figure><h3>Validators</h3><p>The requirements for running a Polkadot validator node are 64Gb memory with an initial storage amount of up to 160Gb (for the first 6 months, with an expectation of this growing with the size of the chain). Polkadot recommends the use of a VPS but highlights the responsibility of running a node with the threat of severe slashing. There is a also a section detailing the amount of tokens required to likely get selected to becoming a validator within the ‘active set’. It states that the amount is dynamic and can change over time, depending not only on how much stake is being put behind each validator, but also the size of the active set and how many validators are waiting in the pool.</p><h3>Comparison with CSPR</h3><p>Before moving onto a direct comparison with CSRP, I wanted to first cover some issues I see in Polkadot:</p><ul><li>The network is limited to 100 Parachains, but for this to be the case they will need approximately 1000 validators. Each validator accepting the risk of slashing and needing to contribute enough DOT tokens to have a chance of getting selected into the active validator set. If each Parachain is considered a separate application (not necessarily even a blockchain), then 100 does not seem like many subsets to be able to create a ‘decentralized web’. Recall that the relay chain does not act as a typical functioning blockcahin and is on there to provide shared security across the Parachains.</li><li>If the total number of validators does indeed hit 1000, then we can expect severe overhead in terms of bandwidth and processing power as the block size grows.</li><li>Although the Parachains can be considered independent, they can only have blocks validated by the relay chain. This will lead to the issue where the security of a potentially independent chain is control by a collection of validators outside of the economic interest of the chain i.e. an independently created Parachain is controlled by the Relay chain. This will firstly lead to issues where it is not possible to create a private Parachain (as for a private chain, you may require amending or correcting previously finalised blocks), and secondly it may lead to censoring of Parachains by the Relay chain.</li><li>Due to the auction process for Parachain slots, which currently can only be guaranteed for 24month, there is a risk of a blockchain losing their slot in the future.</li><li>With regards to bridging to other networks such as ETH or BTC, at present this only seems possible via a Parachain. This will mean that with increased bridges, already limited Parachain slots will be consumed by bridges, thus reducing the number available for independent blockchains or applications</li></ul><p><strong>Network nodes</strong>:</p><ul><li>Although DOT has the potential for up to 1000 validator nodes, within each era only a subset are active (those which have been nominated into the active set).</li><li>CSPR at present has 100 validators which are able to run on standard servers as the node only required 32 GB of RAM.</li><li>The key differences here is that there is a larger requirement for node uptime in DOT. This is likely the reason for the aggressive slashing on the network. Within each era, there will be notably fewer validators compared to the population, approving transactions and therefore the impact of downtime is greater.</li></ul><p><strong>Decentralization</strong>:</p><ul><li>DOT is aiming for approximately 1000 validators to be able to support 100 Parachains.</li><li>CSPR is currently running 100 validator nodes across its network, with an option to increase this if needed.</li></ul><p><strong>Throughput</strong>:</p><ul><li>Polkadot can achieve 1000 tps without Parachains and multithreading. With parallel processing this can reach many multiples higher.</li><li>This compares with CSPR which is currently achieving 2.5k transactions per block (100 WASM deploys per block). With CSPR sharding this can be increased also by many multiples. Read more about general sharding and the CSPR specific research <a href="https://ghoststaking.com/sharding/">here</a>.</li></ul><p><strong>Security:</strong></p><ul><li>The security and finality of the CSPR network has been covered in these two articles: <a href="https://ghoststaking.com/casper-cbc/">CBC</a> and <a href="https://ghoststaking.com/casper-highway-protocol/">Highway</a>. From the articles its clear that CSPR is a powerful non-statistical method to guarantee security and finality given a threshold of malicious nodes.</li><li>For DOT, the defining difference is the nominated proof of stake (as described earlier)</li></ul><p><strong>Slashing:</strong></p><ul><li>DOT implements severe slashing for node time or malicious behaviour</li><li>CSPR implements jail time, without any slashing.</li></ul><p><strong>Enterprise adoption:</strong></p><ul><li>CSPR offers both a public and private (enterprise) chain. Read more about enterprise blockchains <a href="https://ghoststaking.com/blockchains-for-enterprise/">here</a>.</li><li>The design of the DOT infrastructure inhibits any possibility for a private chain — specifically due to the fact Parachains are approved via the Relay chain.</li></ul><p><strong>Future Proof:</strong></p><ul><li>Both DOT and CSPR can be upgraded without the need to fork.</li></ul><h3>Summary</h3><p>Its clear from reviewing the above that DOT and CSPR are very different projects. The reason for this lays within the motivation for the creation of each project. Whereas CSPR is designed to be an ultra secure layer 1 blockchain that can facilitate both public and private side implementation, DOT was created to facilitate the interplay between future blockchains (Parachains). Its therefore not simple to draw comparisons between the two. DOT requires adoption by the building of Parachains, whereas with CSPR, adoption is achieved via the more tradition dapp development. Its is clear however that in terms of a more traditional layer 1 blockchain, CSPR ranks very highly due to its superior security and also private chain offering. With regard to DOT, its unclear if the need for a internet of blockchains is addressed by the project. Limiting the number of Parachains to 100 and with the addition scaling issues and sheer number of validators required to grow this further, seems to inhibit any future growth. Therefore with inhibited future growth, the projects lacks the endless growth opportunities as seen in the internet, which it aims to replicate. Additionally, in attempting to solve for this, it seems that the projects has introduced many issues, which would not be case if they opted for a more tradition approach but instead focused on building an ease of bridging.</p><p>With the increased capabilities of bridging between blockchains, surely the focus should be on developing secure layer 1 chains (potentially with varying characteristics) and then applying bridges between these independent chains. This would then create the building blocks for a future decentralized web without the need for a single controlling blockchain, such as DOT. CSPR provides security through an implementation of CBC and Highway protocols, with the promise of innovative sharding, both a public and private (enterprise) blockchain offering and finally a promise of a gas futures market to ensure that enterprises have a guarantee of future costs. We feel, these are the reason why CSPR will be a dominant layer 1 chain within a future internet of chains, connected via bridging (as opposed to a Parachain implementations).</p><p>I would like to conclude with stating that both CSPR and DOT can coexist in the future, with CSPR connected to the relay chain via a bridge.</p><p>Disclaimer: This article is written for the purposes of research and does not constitute financial advice or a recommendation to buy.</p><h3>About Us — Staking CSPR</h3><p>We at Ghost Staking are a team of <strong>Central London Quantitative Analysts</strong> who provide market insight and commentary in addition to managing a <strong>CSPR validator</strong> production node with a <strong>fixed fee of only 3% (that is guaranteed to never increase)</strong>. If you current own CSPR tokens and wish to delegate them to us, you can enjoy passive, self <strong>compounding rewards of up to 20% APR</strong>, (please check our ‘node monitor’ to view the performance of our ultra high spec infrastructure, network economics and the latest network apy <a href="http://grafana.ghoststaking.com/d/IMhWcsZ7z/casper-dashboard?orgId=1&amp;refresh=10s">here</a>).</p><p>Our server is a bare metal fully dedicated high performance box which is solely used to run our CSPR production node. This means there is no risks of CPU spikes from any process outside of the CSPR node.</p><p>For more information about us and how to stake, please follow the guide contained on our website <a href="https://ghoststaking.com/about-us/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2fc840da1f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Casper: How to choose a validator]]></title>
            <link>https://medium.com/@ghoststaking/casper-how-to-choose-a-validator-e3437c65be13?source=rss-a70055e46766------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3437c65be13</guid>
            <category><![CDATA[validator-node]]></category>
            <category><![CDATA[casperlabs]]></category>
            <category><![CDATA[validator]]></category>
            <category><![CDATA[casper]]></category>
            <category><![CDATA[cspr]]></category>
            <dc:creator><![CDATA[GhostStaking]]></dc:creator>
            <pubDate>Tue, 07 Sep 2021 10:47:09 GMT</pubDate>
            <atom:updated>2021-09-07T10:47:09.768Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N1QZweJ3KGZvtSp0R0Dfjg.jpeg" /></figure><p>commentary by <a href="http://www.ghoststaking.com/">www.ghoststaking.com</a></p><p><strong>So in this educational piece i wanted to highlight the true risks and considerations you need to make when choosing a validator to stake your valuable CSPR tokens</strong>. There are a lot of misconceptions that you have to pay a higher fee to ensure the safety of your tokens or have to delegate to a larger node, is is all incorrect.</p><p>Staking is the process of allocating your tokens with a validator on the network. A validator approves transactions on the network and receives a fee for doing this. The total fees paid on the network is equal to the network inflation rate (8%). This amount is paid to all participants who are delegating. Therefore if more people are delegating across the network, this amount is spread a lot thinner. If every single token is delegated the rewards will equal the floor of 8%. If less people are delegating, as the total reward pot is the same, each delegator will receive a larger share of the pot (therefore a higher apy) — note, you can check the latest network apy on our website (see below)</p><ul><li><strong>First misconception.</strong> If you place your tokens on a validator node with more coins, you will receive a larger reward. This is NOT TRUE. The reward you get from delegating to any node will be the same (excluding the fees charged by the node). The reward calculation is an apy which is equal to 8%*(total supply/total staked)/</li><li><strong>Second misconception</strong>. Delegating means giving your tokens to the validator. This is also NOT TRUE. When you delegate, you are simply using the validator as a means to participate in the staking process. The validator has no ability to access your coins and the only means to control the coins is via the secret key (which the delegator should NEVER share)</li></ul><p>So what are the RISKS?</p><ol><li><strong>One of the LARGEST risks to any PoS system is a single node holding more than the threshold amount of coins to bring down the network</strong>. As the voting power for transactions is proportional to the number of coins on a node, if a node holds a large enough balance of coins, they could easily bring down the entire network at will. The whole point of distributed ledgers is for decentralizations, if there is not sufficient decentralization in a network, it then holds the same risks as a centralized network.</li><li><strong>In some networks if the validator acts maliciously (i.e. tries to validate an incorrect transaction), the node is fined and all delegators to the node will lose some or all of their coins</strong>. This IS NOT the case with CSPR. In CSPR if a node acts maliciously, the node then gets jailed for a period of time, meaning that in that time you will not earn any rewards. At no point on the CSPR network are your coins at risk of any principal losses. If your validator is jailed, CSPR is currently implementing a feature where you can transfer your coins between validators instantly, therefore you will not lose out on most of the rewards.</li><li><strong>If the node goes offline — for the period the node is offline, you will not be earning any rewards</strong>. A node can go offline for many reasons (A) a pre-scheduled upgrade (B) a wider network issue which affects all the nodes © a node specific issue. Node specific issues will typically be related to the power of a server and if the validator is running my different projects node on it. For example, a validator may run a VPS (virtual private server) which means they only have access to part of the CPU and memory on a physical server. If this is the case then the node is at risk of spikes in CPU from other users. Similarly, if the validator is running a dedicated server but ALSO RUNNING OTHER PROJECT nodes, then there is a risk that a spike in one of the other nodes could bring down the server.</li><li><strong>A lesser known risk is that a validator may aggressively raise their fees after you have staked with them</strong>. This is a problem as if you believe you are staking to a low fee node, but have to constantly check the fee level to ensure the validator has not hiked it up.</li></ol><p>Right, so we know that all nodes pay the same (excluding fees) and we know there is no risk to your coin principal balance, but we need a server that has reduced risks to any downtime. So how do we choose a validator? Well, it seems obvious, but the choice should be a <strong>validator with the lower fees, running a dedicated high powered server and who DOES NOT run any other project nodes on the server</strong>….but we can see each validators fees (as its advertised), but how do we know if a validator has a high power server? Well, the validator should make available a public monitor so you can see in real time the CPU utilisation on the node.</p><p>Now to finish with a little about us. We are GHOST STAKING (and you may have read many of our research pieces on CSPR). We run a low fee node (3%), where the fee is guaranteed to never increase. We run a bare metal high powered fully delegated node with nothing else running on it and where the CPU utilization is typically less than 3%. Read more about us, with detailed instructions on staking, our original research and also our LIVE NODE STATUS monitor on our website: <a href="https://ghoststaking.com/">https://ghoststaking.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3437c65be13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Casper vs Avalanche]]></title>
            <link>https://medium.com/@ghoststaking/casper-vs-avalanche-48ed55327b1a?source=rss-a70055e46766------2</link>
            <guid isPermaLink="false">https://medium.com/p/48ed55327b1a</guid>
            <category><![CDATA[avax]]></category>
            <category><![CDATA[cspr]]></category>
            <category><![CDATA[casper]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[GhostStaking]]></dc:creator>
            <pubDate>Wed, 01 Sep 2021 17:56:57 GMT</pubDate>
            <atom:updated>2021-09-01T17:56:57.256Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lYIDJZERBDQz0alBasVghw.png" /></figure><p>commentary by <a href="http://www.ghoststaking.com/">www.ghoststaking.com</a></p><p>Within this article, we shall do a mini deep dive into the Avalanche layer 1 blockchain, specifically the Avalanche snowball consensus protocol and conclude with comparisons to the Casper layer 1 blockchain and CBC consensus protocol and finally argue why we believe CSPR is the stronger of the two tokens.</p><p>As we have extensively covered CSPR in our previous articles, we shall focus on first providing insights into AVAX and the snowball consensus protocol before moving to the comparison and concluding with a summary. We recommend first reading our deep-dive of the CSPR token <a href="https://ghoststaking.com/cspr-our-choice/">here</a>.</p><h3>Avalanche Overview</h3><p>Avalanche (AVAX) was founded in 2018 and launched via an ICO in July 2020. AVAX is advertised as the foundations to create and trade digital assets globally, in a legally compliant way. The aim of the project is therefore to create a single market place (unified global network) where previously fragmented markets (due to regulatory and geographical differences) such as equities, commodities and alternative can be deployed and traded.</p><p>AVAX is built on the Avalanche snowball consensus protocol. This consists of multiple subnets that form a heterogeneous interoperable network of many blockchains. Anyone is free to create a tailor-made application specific blockchain (subnet) which supports custom virtual machines. Each subnet consists of a dynamic set of validators working to achieve consensus.</p><p>An asset provider can launch an asset on the network by setting the following:</p><ul><li>The features of the asset</li><li>Whether it wants to be on a permissioned or permissionless platform</li><li>Customizable smart contracts</li><li>Conditions to meet regulatory needs</li></ul><h3>Avalanche Consensus Protocol</h3><p>The Avalanche ‘Snowball’ consensus protocol uses a process similar to the central limit theory statistical method to arrive at a consensus. For those unaware, central limit theory is a simple process which allows to find the average of a population without having to know the detail of every item in the population:</p><p><strong>Central Limit Theorem</strong>: <em>Imagine there are 1000 students and you wanted to obtain the average height. You can either (1) take the height of every student and then divide by the number of students, or (2) you can take a sample of 30</em> students, obtain the average and the repeat by taking several additional samples and calculating the average of each sample, You can then approximate the average height of the population by calculating the average of the sample averages.</p><p>The specific method which the Avalanche protocol uses is the following modification to the above.</p><ol><li>Firstly each node will have a view of the state (eg shall I get pizza or pasta for lunch…I choose PIZZA, my view)</li><li>Each node then will check the view of the state from ‘k’ additional nodes (where ‘k’ is a subset of other validators. i.e. NOT every other validator — For example if there are a total of 1000 nodes, they might check with 30). There are then 3 possible outcomes:</li></ol><ul><li>If more than α (quorum size, an arbitrary variable parameter which indicates a number of validators you need to have in agreement which is less than the sample size ‘k’) agree on a state value and the value agreed upon is the same as the original node (i.e. PIZZA), then the original node will keep its view of the state the same (PIZZA) and a counter called ‘consecutiveSuccesses‘ is incremented by 1. The sample test is run again with another sample of different validators.</li><li>If more than α (quorum size) agree on a state value and the value agreed upon is the different to the original node (i.e. PASTA), then the original node will change its view of the state (from PIZZA to PASTA) and will then run another sample. the consecutiveSuccesses counter is reset to 1, The sample test is run again with another sample of different validators.</li><li>If less than α (quorum size) can agree on a state then the sample test is invalid and the sample of validators do not have enough in agreement. The consecutiveSuccesses counter is reset to 0.</li></ul><p>3. The sampling is repeated over and over until the number of consecutiveSuccesses reached a parameterized threshold<strong> </strong>β.</p><h3>Avalanche Consensus Protocol — Coded</h3><p>You can note the detail in the below block of code:</p><p><em>n</em>: number of participants<br><em>k</em> (sample size): between 1 and <em>n</em><br>α (quorum size): between 1 and <em>k</em><br>β (decision threshold): &gt;= 1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*2rGBsnpBMKjB-MI7w_bIFQ.png" /><figcaption>Source: <a href="https://docs.avax.network/learn/platform-overview/avalanche-consensus">https://docs.avax.network/learn/platform-overview/avalanche-consensus</a></figcaption></figure><p>The way to interpret the consensus protocol is that unlike many other consensus protocols:</p><ol><li>The protocol uses a<strong> statistical method</strong>.</li><li><strong>The statistical method </strong>is<strong> run by each validator</strong>. i.e. there is no process outside of the validators which samples the validators. If the method was run in a layer 2, i.e. sampling the validators in a central limit ‘mean of means’ way by a process outside of the validators, they would not need to be able to change the state of each validator, as they are currently doing. However this process will suffer from performance issues with an increase in the number of validators.</li><li>However as each validator is running the statistical method, <strong>to make this work they have had to ensure that a validator is able to change their view on the state dependent on the outcome of the test</strong>. This is an extremely important aspect of the protocol. It is this aspect which means that AVAX can sustain a very large number of validators….but it has its drawbacks….</li></ol><h3>DAGs (Directed Acyclic Graphs)</h3><p>The protocol’s implementation will fail without partial ordering of decisions, due to its iterative nature. Directed Acyclic Graphs (DAGs) will enable this partial ordering. Unlike linear blockchains where every block has one parent and one child, Avalanche uses a more lattice based approach with ancestors and descendants (potentially multiple of each). The lattice uses two properties:</p><ol><li><strong>Chit</strong> — If a node gets an α majority response for a transaction then you give that transaction a <strong>chit</strong></li><li><strong>Confidence</strong> — sum of a vertex’s chit plus the sum of its descendants’ chits</li></ol><p>Using a concept of vertices, optimizes throughput. These are similar to blocks in a linear blockchain, allowing batching and voting in groups of transactions. If a node receives a vote for a vertex, it counts as a vote for all the transactions in the vertex. A Vertex is accepted when all the transactions contained in it are accepted. The rejection of a single transaction will result in the rejection of the entire vertex.</p><h3>Validators</h3><p>Validator need to stake physical AVAX in order to gain influence on the network, as is the case with any Proof-Of-Stake network, The more AVAX a node bonds, the more often that node is queried by other nodes. Due to the nature of the snowball consensus above, it is irrelevant of the number of validators on the network grows to an extremely large number as the consensus is based upon subsampling. With Avalanche each validator in a subnet is responsible for validating the transaction in their subnet, but also on the main chain.</p><h3>Comparison with CSPR</h3><p>We shall now focus on drawing some comparisons of AVAX with CSPR</p><p><strong>Network nodes</strong>:</p><ul><li>Avalanche makes it very easy to run a node. On their home page there are instructions on how to run a node (1) from a home computer (2) from AWS and (3) from Azure. The node running from home uses VirtualBox to setup a partition on your home PC to install Ubuntu. The minimum requirements for an Avalanche node is 16GB RAM.</li><li>CSPR at present has 100 validators which are able to run on standard servers as the node only required 32 GB of RAM.</li><li>The key differences here is that AVAX is promoting running a node from home (with the increased downtime risks due to power or network connectivity issues), whereas CSPR is promoting the use of stable bare metal servers for their nodes. So why is this? The CSPR network wants to ensure that nodes have the maximum possible uptime due to the fact the consensus protocol is reliant on the view from all validators whereas with AVAX, the strategy is to grow the physical number of validators to as large as possible as the snowball consensus relies on a more statistical means for validating transactions. Which is better? The answer lays with which consensus protocol is safer (discussed in the security section below).</li></ul><p><strong>Decentralization</strong>:</p><ul><li>AVAX will have over time, significantly more validator nodes than CSPR, due to the ease in joining the network.</li><li>The risks with the AVAX model however lays with the subnets. We have learnt from above that it is possible to launch a subnet (bespoke blockchain) within the Avalanche infrastructure. The goal of the project is to have an interplay between various subnets. The problem arises however when we consider the validator nodes within each subnet. This population will be considerably smaller than the global population of nodes on the primary network as we know that all subnet validators are also required to approve transactions on the primary network.</li><li>With the above — we can consider a simple scenario where there are 10 subnets running on the primary network. Each subnet having 50 validators. Now when considering the primary network, we would see 500 validators, however each subnet is only using 50 and therefore the network as a whole should not be considered as decentralized as the total node count implies. This will also have quite severe and asymmetric risks across the network. Discussed in a section below.</li><li>CSPR is currently running 100 validator nodes across its network, with an option to increase this if needed.</li></ul><p><strong>Throughput</strong>:</p><ul><li>This is an interesting comparison. We know that in using the snowball algorithm, Avalanche can achieve over 4500 transactions per second and also boasts impressive finality (as acceptance / rejection of blocks are final).</li><li>This compares with CSPR which is currently achieving 2.5k transactions per block (100 WASM deploys per block)</li><li>The key to understanding this difference is in understanding how the snowball algorithm works and what is being compromised to gain this increased throughput. Discussed in the ‘security’ section below</li></ul><p><strong>Security:</strong></p><ul><li>The security and finality of the CSPR network has been covered in these two articles: <a href="https://ghoststaking.com/casper-cbc/">CBC</a> and <a href="https://ghoststaking.com/casper-highway-protocol/">Highway</a>. From the articles its clear that CSPR is a powerful non-statistical method to guarantee security and finality given a threshold of malicious nodes.</li><li>For AVAX, the network us built across parameters which can be customized (<em>n</em>:, k, α, β). This means that for AVAX, <strong>security is in fact optimal and not guaranteed</strong>. Lets look into this a little further:</li><li>With the parametrization in the Avalanche paper, specifically with alpha=0.8, Snowball can stall (loosely defined as still being in the state of unstable equilibrium after 500 iterations) with just 17% malicious actors. And the only action that the malicious actors need is to split into two equal groups and always respond with the same state within each group. With lower alpha’s the percentage is higher, but the number of steps to converge in normal circumstances also grows rapidly. Read the full critique <a href="https://medium.com/@itsnear/what-avalanche-paper-is-not-c047cf512c16">here</a>.</li><li>We have already touched upon the issue where a subnet is only as secure as the number of validators in the subnet. The implications of this are that this results in materially different levels of security across the chains within the system. Inter-shard attacks become feasible, as messages from one (less secure subnet) may be able to effect a transition on another (more secure) subnet. In effect, the entire system becomes only as secure as the least secure subnet.</li></ul><p><strong>Slashing:</strong></p><ul><li>Both CSPR and AVAX do not impose any fine for maliciously nodes.</li><li>CSPR implements jail time.</li></ul><p><strong>Enterprise adoption:</strong></p><ul><li>Both CSPR and AVAX offer private chains.</li><li>The focus from AVAX seems to be very specific and niche to the field of asset trading, whereas CSPR is targeting a more general market.</li></ul><p><strong>Future Proof:</strong></p><ul><li>The design and engineering of CSPR ensures it is a fully future proof blockchain. It has achieved this by ensuring all components (Execution Engine, Network Engine, Consensus Layer) are pluggable. This allowed the blockchain to be upgraded with relative ease. In comparison, AVAX has taken the stance to implement a statistic method within its consensus protocol meaning that it can scale in size, however to the detriment of security.</li></ul><h3>Conclusion</h3><p>The key to the performance achieved within AVAX lies within the statistical approach taken in their consensus protocol. As with any statistical approach, you are assuming the properties of a sample reflect those of the population distribution. This inherently applies a degree of approximation as the assertion may not be correct. In trying to address this, by allowing a node to flip its state via the snowball avalanche approach, the blockchain seems to have caused additional issues. This coupled with the subnet approach bares a degree of risk to the system. Mass adoption and a large number of validators could mitigate this risk.</p><p>On the contrary, the approach CSPR has taken is to firstly ensure maximum possible security on the network before then looking to tackle performance issues such as throughput. They aim to do with with an innovative sharding solution which you can read about in more detail <a href="https://ghoststaking.com/sharding/">here</a>.</p><p>Both blockchains are targeting the public and private market, looking to promote enterprise adoption as well as public side dapp development, With regard to the comparison of nodes, its very interesting to find that AVAX are encouraging Virtualbox Ubuntu nodes on home PCs, this further adds weight to our view that a substantial number of nodes are required to improve the security on the network.</p><p>Disclaimer: This article is written for the purposes of research and does not constitute financial advice or a recommendation to buy.</p><h3>About Us — Staking CSPR</h3><p>We at Ghost Staking are a team of <strong>Central London Quantitative Analysts</strong> who provide market insight and commentary in addition to managing a <strong>CSPR validator</strong> production node with a <strong>fixed fee of only 3% (that is guaranteed to never increase)</strong>. If you current own CSPR tokens and wish to delegate them to us, you can enjoy passive, self <strong>compounding rewards of up to 20% APR</strong>, (please check our ‘node monitor’ to view the performance of our ultra high spec infrastructure, network economics and the latest network apy <a href="http://grafana.ghoststaking.com/d/IMhWcsZ7z/casper-dashboard?orgId=1&amp;refresh=10s">here</a>).</p><p>Our server is a bare metal fully dedicated high performance box which is solely used to run our CSPR production node. This means there is no risks of CPU spikes from any process outside of the CSPR node.</p><p>For more information about us and how to stake, please follow the guide contained on our website <a href="https://ghoststaking.com/about-us/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48ed55327b1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSPR Blockchain Sharding]]></title>
            <link>https://medium.com/@ghoststaking/cspr-blockchain-sharding-c900b2c3a973?source=rss-a70055e46766------2</link>
            <guid isPermaLink="false">https://medium.com/p/c900b2c3a973</guid>
            <category><![CDATA[staking]]></category>
            <category><![CDATA[casperlabs]]></category>
            <category><![CDATA[casper-network]]></category>
            <category><![CDATA[sharding]]></category>
            <category><![CDATA[cspr]]></category>
            <dc:creator><![CDATA[GhostStaking]]></dc:creator>
            <pubDate>Fri, 27 Aug 2021 11:15:06 GMT</pubDate>
            <atom:updated>2021-08-31T11:26:58.218Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*B-fMrNcVgD8ooNLDYvSzag.jpeg" /></figure><p>commentary by <a href="http://www.ghoststaking.com/">www.ghoststaking.com</a></p><p>In this article we shall discuss the concepts of sharing (multi-processing) using the base cases extracted from Proof-Of-Work blockchains and then conclude with how CasperLabs is researching and developing their methodology for sharding.</p><p>Typical POW blockchains have an issue with scalability. As the blockchain grows, so does the amount of data stored on each computer in peer to peer network. The reason for this is the authentication process. Transactions are authenticated via <a href="https://ghoststaking.com/blockchain-consensus-protocols/">consensus protocols</a>. As the name suggests, a majority of approving nodes needs to agree upon a transaction before the block can be appended to the blockchain. POW blockchains require each authenticating node to record all the data on the blockchain and process all the transactional load. But as more transactions occur and the blockchain grows, because each node has to process everything (massive duplication of work) the entire network slows. Below are approximate max transactions per second for BTC and ETH. To put this into context, VISA (the payment network) can process 1,700 transactions per second.</p><ul><li>BTC: 7 transactions per sec</li><li>ETH: 30 transactions per sec</li></ul><p>Blockchains have to be able to grow exponentially without slowing. That means making it ‘scalable’. The below image illustrates how scalability is one of the three competing factors in optimal blockchain. Solving all 3 will result in a truly future proof blockchain. We shall discuss also how solving 1 of the 3 principals below, is often to the detriment of another principal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*flVJc9wPV5VjRAKR4T8Jcg.png" /></figure><h3>Sharding — Databases</h3><p>As mentioned above, due to the fact that each node must process every transaction there will be an inherent limitation to the network. This comes about as the computing and load power on each node grow directly proportional to the growth of transactions on the network. Consider the below analogy:</p><ul><li>Consider a fast food take away counter. If there is 1 staff member on the till and the queue of customers grow, the workload of that till person will grow proportionally to the length of the queue. The reason being that they have to process the orders of everyone in the queue. Now imagine increasing the number of till staff to 2 people. If each till person has to process every order, then you have not implemented any time saving — you have merely duplicated work. Time saving is only implemented if you split the queue of customers equally among the two tills. This way you will have doubled the throughput.</li></ul><p>In order then to increase throughput, we must split the workload among the nodes such that we can process transactions in parallel.</p><p>Sharding is a concept and technique used in databases for horizonal partitioning. It is where you separate the rows from one larger table into multiple smaller tables. Each new table (or partition) has the same schema and columns, but also entirely different rows. Likewise, the data held in each is unique and independent of the data held in other partitions. Database shards exemplify a shared-nothing architecture. This means that the shards are autonomous; they don’t share any of the same data or computing resource. The main appeal of sharding a database is that it can help to facilitate <em>horizontal scaling</em>, also known as <em>scaling out</em>. Horizontal scaling is the practice of adding more machines to an existing stack in order to spread out the load and allow for more traffic and faster processing. This is often contrasted with <em>vertical scaling</em>, otherwise known as <em>scaling up</em>, which involves upgrading the hardware of an existing server, usually by adding more RAM or CPU.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*acAbG6i6mZ4tIZuBdDGDyw.png" /></figure><h3>Sharding — Blockchains</h3><p>We can take the above and apply the same concepts to blockchain nodes. By splitting the population of nodes into shards (smaller groups of nodes within the population), we can then split the transactional workload among these shared to achieve parallel processing of transactions, thus increasing throughput. Each of the nodes within a given shard will only need to store and process the transactions allocated to that shard. The information in a shard can still be shared and everyone can still see all the ledger entries, however every node is freed from storing and recording data on other nodes. That allows data to be stored more quickly and is easier to find as its location is mapped on the blockchains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*puwQyHK3qTbs4BYzyNruEw.png" /></figure><p>You may be thinking now that in implementing sharding (scalability in our blockchain trilemma), we have actually reduced the security of the network…and you would be correct. The reason for this is that to maintain security, you need to guard against something called ‘Shard Takeover’</p><h3>Shard Takeover</h3><p>One upside to have every node record all transactions is that data is undisputable as there are as many copies and potential consensus agreements as there are number of nodes.</p><p>If for example we now create as many shards as there are number of nodes where each shard only records transactional data that it is processing, we have increased the throughput by a factor of the number of nodes, but have introduced massive risks. The reason for the risks is that there is now no copy of the data on any given node and so any corruption of nodes will result in permanent loss of data.</p><p>Additionally to the above risks in corruption, there is also risks of malicious behaviour by nodes. Any malicious behaviour in the example above will also result in permanent loss of data.</p><h3>Shard Optimization</h3><p>In the article so far we have discussed two limiting cases:</p><ol><li>Fully decentralized with no sharding — performance and scaling issues</li><li>Applying maximum sharding such that the number of shards equals the number of nodes — security issues</li></ol><p>We therefore have an optimization problem to solve. ie finding the sweet spot between security and performance. In later articles I will go over some mechanisms to solve this optimization problem and also techniques to further improve sharding.</p><h3>CSPR Sharding</h3><p>The below extract was taken from our AMA with the CasperLabs CTO Medha Palikar:</p><p><em>Daniel Kane has started the work on sharding — here are his initial ideas:</em></p><ol><li><em>The memory space of our virtual machine is divided up into shards. Shards might reasonably be quite small. For example, by default we could make a shard the memory associated with a single account or smart contract. On the other hand, we might want them to be a bit bigger, to, for example, be large enough that they approximately take up an entire disk.</em></li><li><em>Transactions must include a list of all of the shards whose memory they might need to access. A transaction that fails to list all shards it tries to access will fail.</em></li><li><em>Each block is given a limited amount of sequential compute time (perhaps a constant or perhaps proportional to the number of tics that have passed since the parent block), and perhaps also given a bounded amount of total compute.</em></li><li><em>When a block includes a bunch of transactions instead of specifying a transaction order, it specifies a computation schedule. This schedule uses times from 0 to t where t is our bound on sequential compute time. Each transaction is assigned a sub-interval of this window with the length of the sub-interval given by the computation bound specified by the transaction. Furthermore, the intervals for any two transactions that share a shard are not allowed to overlap. We might make a distinction between reads to a shard and writes to a shard and allow several transactions to simultaneously read from the same shard so long as none write to it. We might also require that the total length of the intervals not exceed some total computation bound or the number of windows overlapping at the same time not exceed some bound.</em></li></ol><p><em>This should ensure that the transactions within a block are reasonably parallelizable, as the computation schedule essentially provides a mechanism for parallelizing the computation. Furthermore, this mechanism should produce the same results as if the computations were atomic with each operation being performed at some arbitrary time during its interval.</em></p><p><em>Because each block supports parallel execution, should not affect security.</em></p><p>Disclaimer: This article is written for the purposes of research and does not constitute financial advice or a recommendation to buy.</p><h3>About Us — Staking CSPR</h3><p>We at Ghost Staking are a team of <strong>Central London Quantitative Analysts</strong> who provide market insight and commentary in addition to managing a <strong>CSPR validator</strong> production node with a <strong>fixed fee of only 3% (that is guaranteed to never increase)</strong>. If you current own CSPR tokens and wish to delegate them to us, you can enjoy passive, self <strong>compounding rewards of up to 20% APR</strong>, (please check our ‘node monitor’ to view the performance of our ultra high spec infrastructure, network economics and the latest network apy <a href="http://grafana.ghoststaking.com/d/IMhWcsZ7z/casper-dashboard?orgId=1&amp;refresh=10s">here</a>).</p><p>Our server is a bare metal fully dedicated high performance box which is solely used to run our CSPR production node. This means there is no risks of CPU spikes from any process outside of the CSPR node.</p><p>For more information about us and how to stake, please follow the guide contained on our website <a href="https://ghoststaking.com/about-us/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c900b2c3a973" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CasperLab’s (CSPR) Casper Overview and price forecasts]]></title>
            <link>https://medium.com/@ghoststaking/casperlabs-cspr-casper-overview-and-price-forecasts-916ee27147f7?source=rss-a70055e46766------2</link>
            <guid isPermaLink="false">https://medium.com/p/916ee27147f7</guid>
            <category><![CDATA[cspr]]></category>
            <category><![CDATA[price-prediction]]></category>
            <category><![CDATA[staking]]></category>
            <category><![CDATA[casper]]></category>
            <category><![CDATA[casperlabs]]></category>
            <dc:creator><![CDATA[GhostStaking]]></dc:creator>
            <pubDate>Mon, 23 Aug 2021 11:28:19 GMT</pubDate>
            <atom:updated>2021-08-31T07:33:05.820Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5BTPhvvBC1JrzmRflcBVbw.png" /></figure><p>commentary by <a href="http://www.ghoststaking.com/">www.ghoststaking.com</a></p><p>Within this article, we shall collate information and opinion from our other deep dive pieces, in addition to some of our proxy pricing concepts to put forth what we believe is a strong argument for an investment in CSPR.</p><p>As mentioned in some of our other articles, our investment decisions are based upon carefully assessing the following criteria:</p><ul><li>Coin specific information and data</li><li>Crypto generic market information and data</li><li>Market trends in other asset classes</li><li>Macro economic change</li><li>Regulatory impact</li><li>Structural shift in market behaviour</li><li>Historic events</li></ul><p>By analysing each of the above, we can then determine which proxy pricing methodology to use to estimate a potential future value for CSPR.</p><p>CSPR can be considered in line with other <strong>infrastructure </strong>crypto projects (ETH, DOT etc), which have built blockchains using various types of protocols with the intent of providing an environment to facilitate the building of decentralized applications (dapps), i.e. <strong>a layer 1 blockchain</strong>. In addition however, CSPR is well positions to also <strong>dominate the enterprise blockchain space</strong> which is a much newer subset of the crypto market and which we believe will see the biggest growth in the coming years (we discuss this in detail <a href="https://ghoststaking.com/blockchains-for-enterprise/">here</a>)</p><p>CSPR should NOT be consider the same as the following:</p><ol><li><strong>Bitcoin</strong> — its primary function being a store of value and arguably by some, a hedge to inflation exposure. This is due to the lack of monetary policy and fixed supply.</li><li><strong>Exchange tokens</strong> — typically offering reduced fees or participation in exchange revenues (in the case of decentralized exchanges — DEXs).</li><li><strong>General dapps</strong> — coin facilitating specific products and services.</li><li><strong>Defi specific tokens</strong> — offering historically traditional banking and funding services within the crypto market.</li></ol><h3>Technology</h3><p>The big advantage of CSPR is how the blockchain has been engineered. Every part of Casper is a pluggable piece, thus effectively rendering it ‘future proof’. This is an extremely important aspect as we have seen how quickly technology can evolve within the crypto space and how difficult it is for legacy blockchains such as Bitcoin and Ethereum to react and evolve with these changes.</p><ul><li><strong>Execution Engine</strong> — The Execution Engine takes a deploy WASM and executes it. This generates a list of transforms that will be applied to global state. You can see this with raw deploy info (which can been seen in the ‘deploys’–&gt; ‘show raw data’ via <a href="https://cspr.live/">cspr.live</a>). Developers can test smart contract directly against <a href="https://crates.io/crates/casper-engine-test-support">https://crates.io/crates/casper-engine-test-support</a> without even needing a network. This is beneficial as developing smart apps in a web based IDE is slow and cumbersome.</li><li><strong>Networking Engine</strong> — The networking engine is what handles messages between validators, RPC, REST, and SSE endpoints. It sends the packets. There are some upgrades to this forthcoming: 1.3.2 adds a differentiation between validator traffic and non-validating nodes. This forces non-validators to go to other non-validators for syncing and such, if validators are busy processing transactions and finalizing blocks. That assures that massive increased load from a mass node sync event or similar does not hurt validation.</li><li><strong>The Consensus Layer</strong> — The consensus layer is the implementation of the Highway protocol. That is by far the best PoS protocol currently in production today. You can read more about the Highway protocol and CBC security in our detailed articles found <a href="https://ghoststaking.com/casper-highway-protocol/">here </a>and <a href="https://ghoststaking.com/casper-cbc/">here</a>. As this is also pluggable, if an improvement is developed, the improved protocol can be plugged in seamlessly.</li></ul><p>Automatic, synchronized upgrade (as is present with CSPR) is important as it allows HARD FORKS as upgrades, automatically and seamlessly. This is ultimately why Casper is deemed future proof. Hard forks to continue to innovate and stay ahead of other chains. A choice wont be required between old CSPR or new CSPR. You simply remain on the same chain and continue to get things done.</p><p>Since all nodes would upgrade simultaneously at the activation point, any incompatible changes don’t matter. With Fast Sync in development, maintaining an old compatible sync protocol will not be needed and nodes can sync to productive state without having to recreate the chain from genesis. This is the primary focus of the current 1.4.x release in development. <strong>Finally a 5x throughput improvement is currently being tested on the Execution Engine</strong>.</p><p>To tackle the problem of high transaction fees, Casper is introducing a “gas futures market” concept. By tokenizing block space to allow companies to buy future block space, Casper’s gas model aims to allow its blockchain’s users to lock in prices now, to have more predictable future network usage costs.</p><p>To conclude our section the tech benefits of CSPR, we should also note the research which is currently underway on the implementation of sharding within the network. Sharding is a means to multithread and thus improve throughput and efficiency. We discuss general sharding in detail and also the efforts of CasperLabs to introduce sharding to the network in this <a href="https://ghoststaking.com/sharding/">article</a>.</p><h3>Enterprise Focus</h3><p>Recalling from our previous article covering <a href="https://ghoststaking.com/crypto-past-present-future/">Crypto Past, Present and Future</a>, we discussed how the crypto market has evolved, some factors driving the current price action and also where we think it is headed. We commented on Bitcoin gained dominance through its first mover advantage, embedding itself as the leading store of value/ inflation hedge coin and how Ethereum has done the same within the smart contract sector. We noted that both coins do not have the leading tech however due to both being first movers, they have established cult followings driving the coins price through the networking affects of crypto (Metcalfe’s law which is touched upon <a href="https://ghoststaking.com/cspr-price-forecast/">here</a>). We then concluded the article with the open question on where crypto is headed next and argued that the enterprise solutions space is likely where we will see the biggest growth in the coming years.</p><p>We therefore have completed a deep-dive into enterprise blockchains here, and have concluded that from the current offerings, we believe CSPR to be the best positioned, due to the arguments put forward in the article:</p><ul><li><strong>CSPR is a full layer 1 blockchain</strong> unlike the competitors mentioned above. This means that it will serve as its own public and permissioned blockchain. This is unlike enterprise ETH blockchains which are effectively clones and modifications of the ETH codebase.</li><li><strong>CSPR has the option to switch from permissioned to public</strong>, unlike Libra, R3 and Hyerledger.</li><li><strong>The CSPR layer 1 blockchains is currently POS</strong>. This means that if enterprises want the optionality to switch from public to permissioned, the public side will be the best tech. Unlike enterprise ETH where the switch to public will be onto a POW blockchain with 15–20TPS.</li><li><strong>The CSPR layer 1 blockchains driving feature is the consensus and highway protocol</strong> as described <a href="https://ghoststaking.com/casper-cbc/">here </a>and <a href="https://ghoststaking.com/casper-highway-protocol/">here</a>. This will lead to increased interest of dapps being developed on the public blockchain which potentially could be communicate with the permissioned chain (with authentication in place)</li><li><strong>CSPR is not focused on one business sector</strong>, such as Facebook with payments or R3 with banking.</li><li><strong>CSPR gas futures market concept</strong>. By tokenizing block space to allow companies to buy future block space, Casper’s gas model aims to allow its blockchain’s users to lock in prices now, to have more predictable future network usage costs. Medha Palika (CTO CasperLabs): “Enterprises do budgeting at about every half a year, so about six months….[By] providing enterprises a six-month window, they’re going to have a pretty good sense of what their network usage is going to look like.”</li></ul><h3>Asset Categorisation</h3><p>We can attempt to model CSPR in the same way as a ‘risk-ON’, ‘growth’ type technology stock (<strong>however please note that CSPR is NOT a security, but is in fact a utility, as we discuss </strong><a href="https://ghoststaking.com/cspr-utility-not-security/"><strong>here</strong></a>). Additionally, with this classification, and the analogy of the web above (discussed <a href="https://ghoststaking.com/bubbles/">here</a>), we can compare CSPR’s potential future growth to those seen in successful web companies. One caveat to this being that traditional web companies offer a dapp type utility compared to the infrastructure crypto classification of CSPR. This is a moot point as CSPRs demand and utility will be driven by the those from projects built on top of it and the adoption of enterprise CSPR. Establishing itself as a promising independent blockchain, in addition to being considered as a potential dev instance to ETH means that it does not require end consumer utility for the public blockchain, but more adoption from dapps which will drive demand for the CSPR token, thus still the <a href="https://ghoststaking.com/risk-on-vs-risk-off-value-vs-growth/">‘risk-ON’, ‘growth’</a> classification holds, albeit indirectly.</p><p>An additional driving force in the valuation will be the adoption of enterprise CSRP, as described in the above section.</p><h3>Proxy Valuations</h3><p>CSPR can not only be considered a direct competitor to ETH as it has successfully launched an independent layer 1 blockchain, but also a competitor to the current enterprise focused blockchains. The successful productionisation of the CBS protocol is in fact the aspirational goal for ETH in their ETH3.0 release, discussed <a href="https://ghoststaking.com/ethereum-capser-and-the-cspr-blockchain/">here</a>. We have discussed that the release of ETH3.0 is many years away, with the Ethereum foundation only now releasing phase 1 (of 3 phases) of ETH2.0. This superior feature of CSPR will drive adoption from dapp developers due to the significant security benefits of the protocol. In addition, projects looking to develop on ETH in the future may use CSPR in its current form to launch production ready applications. We can use this to being thinking about how to proxy the validation of CSPR:</p><p>We can consider demand for CSPR adoption being driven by three sources</p><p>(1) natural demand from projects looking to build on the CBC security protocol.</p><p>(2) demand from ETH projects looking for a head start in their ETH3.0 implementation.</p><p>(3) Demand resulting from enterprise adoption of CSPR.</p><p>For the demand driven by point (2), we can use the direct comparison of Polkadot (DOT) and Kusama (KSM). KSM is the testnet for DOT and where development is tested before being pushed to DOT. Currently the KSM market cap is trading at 11.6% of DOT. Applying this proxy to CSPR against ETH at current ETH levels leads to a potential market cap of $24bn for CSPR. Although there is no guarantee a similar market cap ratio driven by point (2) we can argue that it is the best proxy we have at present for this dynamic.</p><p>We should also consider that there will be significant demand from points (1) and (2) above as CSPR is an independent blockchain from ETH. This is unlike the DOT and KSM example, as KSM is not independent of DOT and arguably has no future if DOT fails.</p><p>Finally we should state there is no guarantee that ETH3.0 will ever be released. If this does not occur, we will likely see even greater demand for CSPR from point (1)</p><h3>10 year forecast</h3><p>We have also delved deeper into the longer term pricing model <a href="https://ghoststaking.com/cspr-price-forecast/">here</a>. The pricing prediction is driven using a stock-to-flow model for Bitcoin and then a networking model for Ethereum. Finally we apply some assumptions based around strong CSPR fundamentals (as discussed within this article) to arrive at the forecasted valuation of $100 per token. The article should be fully read to understand what is driving the prediction.</p><h3>Structural Shifts</h3><p>With regard to the future adoption of blockchains as a whole, we feel the greatest inhibitor which has potential for structural shifts in the market, is the impact of regulation. We have summarised some of the current developments in the regulatory landscape <a href="https://ghoststaking.com/us-crypto-regulation/">here</a>. We discuss how the main driver of regulatory action (especially in the West), is the need to crack down on illicit activities using crypto to facilitate money laundering. We believe Bitcoin is the most exposed to this as it does not have underlying technology utility. Additionally we have noted in the article how CSPR is actively positioning itself as a blockchain which is enterprise friendly with compliance ready wallets — thus promoting enterprise adoption and alleviating concerns from regulators.</p><h3>Team</h3><p>Finally we would like to end on our thoughts regarding the team. We are encouraged not only by the management’s direction to position itself to be a more enterprise friendly blockchain, but also on the impressive push to release the <a href="https://ghoststaking.com/casper-cbc/">CBC security protocol</a> and <a href="https://ghoststaking.com/casper-highway-protocol/">highway</a> protocol to production. It is this focus on both the technology innovation and management strategy which historically has yielded the greatest returns when analysing comparisons with the tech stock market, as touched upon in our market bubbles piece <a href="https://ghoststaking.com/bubbles/">here</a>.</p><p>Disclaimer:</p><ul><li>The article is written for the purposes of research and does not constitute financial advice or a recommendation to buy.</li></ul><h3>About Us — Staking CSPR</h3><p>We at Ghost Staking are a team of <strong>Central London Quantitative Analysts</strong> who provide market insight and commentary in addition to managing a <strong>CSPR validator</strong> production node with a <strong>fixed fee of only 3% (that is guaranteed to never increase)</strong>. If you current own CSPR tokens and wish to delegate them to us, you can enjoy passive, self <strong>compounding rewards of up to 20% APR</strong>, (please check our ‘node monitor’ to view the performance of our ultra high spec infrastructure, network economics and the latest network apy <a href="http://grafana.ghoststaking.com/d/IMhWcsZ7z/casper-dashboard?orgId=1&amp;refresh=10s">here</a>).</p><p>Our server is a bare metal fully dedicated high performance box which is solely used to run our CSPR production node. This means there is no risks of CPU spikes from any process outside of the CSPR node.</p><p>For more information about us and how to stake, please follow the guide contained on our website <a href="https://ghoststaking.com/about-us/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=916ee27147f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Casper (CSPR) Highway Protocol]]></title>
            <link>https://medium.com/@ghoststaking/casper-cspr-highway-protocol-cbc7bd32175e?source=rss-a70055e46766------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbc7bd32175e</guid>
            <category><![CDATA[consensus-protocol]]></category>
            <category><![CDATA[highway-protocol]]></category>
            <category><![CDATA[cspr]]></category>
            <category><![CDATA[casper]]></category>
            <category><![CDATA[casperlabs]]></category>
            <dc:creator><![CDATA[GhostStaking]]></dc:creator>
            <pubDate>Fri, 20 Aug 2021 16:23:03 GMT</pubDate>
            <atom:updated>2021-08-31T11:27:46.603Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*LUmoJn8MulicQBhn11pAFQ.jpeg" /></figure><p>commentary by <a href="http://www.ghoststaking.com/">www.ghoststaking.com</a></p><p>In the previous post on <a href="https://ghoststaking.com/casper-cbc/">Casper CBC</a>, we saw the foundation of a consensus protocol framework of “correct-by-construction” consensus protocols that each shared the same proof of Byzantine-fault-tolerant consensus safety, allowing refinements and improvements without needing to re-prove safety each time. The issue of liveness was not addressed however. The development of the <strong>Casper Highway Protocol </strong>by CasperLabs provided.</p><ol><li>Strong Optimistic Finality</li><li>Flexibility</li><li>Guarantee of liveness</li></ol><p>Over the course of this post you will be introduced to these exciting details and of course you can read the original paper <a href="https://github.com/CasperLabs/highway/releases/download/v2.0.2/highway.pdf">here</a> .</p><h3>Strong Optimistic Finality</h3><p>Historically, the vast majority of research in the field of consensus protocols has worked under the semi-formal assumption that the existence of more than n/3 dishonest nodes removes the existence of any provable safety guarantee. This is due to a paper written by Dwork, Lynch and Stockmeyer which proved that it is not possible for a partially synchronous protocol to guarantee both liveness and finality if n &lt; 3f + 1, where f is the number of nodes exhibiting Byzantine faults. Put more simply, at least 2/3 of network validators must be honest in order to achieve finality. Despite this result, it is nevertheless possible to provide additional finality guarantees during a period when even dishonest nodes do not deviate from the protocol and actively work to finalize blocks. This means that we can assume, based on the economic incentives, that most of the time almost all the nodes will work honestly to achieve consensus. We are therefore able to optimistically provide much stronger finality guarantees during periods when more than 2/3 of nodes behave honestly.</p><p>One practical consequence is that block finality is no longer binary but expressed by a number. Eg if a block reaches finality confidence of 0.8, then at least 80% of the nodes would need to violate the protocol in order to revert the block from the chain.</p><h3>Flexibility</h3><p>Having left behind the classical n &lt; 3f + 1 bound, we then find a natural tradeoff between finality and liveness: the stronger finality guarantee we require, the more nodes or validators we need to honestly collaborate to finalize the block with such a guarantee. Requiring all validators to agree on a common finality threshold would solve this but introduce yet another parameter requiring consensus. Instead, Highway does not mandate a common threshold to be agreed upon. Each validator is able to use a different threshold. An important implication here is that validators can play different roles in the network. For example, some validators may deal mainly with finalizing small transactions where small latency is more important than high security, while others can prioritize safety over latency.</p><h3>Guarantee of Liveness</h3><p>As mentioned above, Highway provides the first-ever specification for a liveness strategy in the CBC Casper framework. In other words, Highway prescribes a strategy for when participants in the network should create protocol messages and proves that the strategy results in the protocol being live. The guarantee can be proven by structuring the protocol using a DAG (a directed acyclic graph) to capture the existing blockchain, and by showing that certain combinatorial structures — called summits — when found within the DAG can be used to conclude finality of a block.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/175/1*Z7gYF78IE4ilVhMkyr4BOA.png" /><figcaption>Figure 1 : Directed Acyclic Graph</figcaption></figure><p>As a side note: voting in the DAG framework uses the GHOST rule for fork selection and we have already seen this introduced in an earlier <a href="https://ghoststaking.com/ghost-protocol/">post.</a></p><p>Having established this, to prove that summits will appear in the DAG and that adversaries cannot indefinitely prevent any progress from happening, a strategy is required to define how and when validators should produce new units and when to include new blocks in them.</p><p>To understand how this works, we can use a simplified model. Time is divided up into rounds; during each round there is a leader who starts the message production. Others wait until they receive the leader’s message, before producing one themselves. Then, near the end of a round everyone sends another message. At each stage another level of agreement is being produced, eventually leading to a summit which can be considered a decision.</p><p>However, fixed length rounds are not practical in real systems, so Highway uses dynamic length. To achieve this, we imagine a real life highway. On this highway, movement takes place in the form of hops, while the speed of all cars is constant. In any given lane <em>n</em> a car makes 2^n hops on a distance of one meter. Therefore, if you switch to the lane on your left, you increase the frequency of hopping x2. If you switch to the lane on your right, you decrease the frequency x2. Cars from the lane on your left meet you at every jump you make, and cars on your right meet you only every second hop. These “hops” are ticks, and each “meter” a round passes. Thus, the length of a round depends on what lane you are in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sd3Q3lLeKmlO51nrNnA6aw.png" /></figure><p>The idea of using such a creation schedule, coupled with the use of (i) a confidence parameter and (ii) an assumption of the upper limit of crashing (permanently offline) nodes, allows us to prove that after some point in time, for every state reached by any honest validator, finality has been achieved. We can effectively provide a bound of the number of honest validators needed to guarantee that the protocol will continue to finalize blocks within the given confidence threshold.</p><h3>Other features</h3><p>A few other interesting features are included in the Highway protocol which we will summarise here, though a more in depth look is out of the scope of today’s post</p><p><strong>Spam prevention</strong>: the Highway protocol provides protection against</p><ul><li>Vertical Spam — a dishonest validator produces new messages at a fast pace. This is defended against since the correct broadcast frequency of messages is known</li><li>Horizontal Spam — a dishonest validator or group of validators produce a large number of messages sent in parallel to overload the size of the DAG. This is defended against using a strategy known as endorsements</li></ul><p><strong>Weighted Consensus: </strong>each validator can be assigned a weight based on voting power. This is the feature that allows support for a Proof of Stake blockchain</p><h3>Conclusion</h3><p>The introduction of the Casper Highway protocol gave birth to a new consensus protocol that is both safe and live in the classical partially synchronous Byzantine Fault Tolerant model, while at the same time offering a number of practical improvements over the existing Casper CBC protocol:</p><ul><li><strong>Strong Optimistic Finality</strong>: Highway enables the network to reach higher thresholds of finality based on real life assumptions about the reliability of validators</li><li><strong>Flexibility</strong>: validators can choose different finality thresholds, allowing them to optimise for different roles in the ecosystem</li></ul><p>The result is an advanced state-of-the-art Proof of Stake blockchain architecture that boasts impressive scalability and performance that will help to drive forward broader blockchain adoption.</p><p>Disclaimer: This article is written for the purposes of research and does not constitute financial advice or a recommendation to buy.</p><h3>About Us — Staking CSPR</h3><p>Ghost Staking are a team of <strong>Central London Quantitative Analysts</strong> who provide market insight and commentary in addition to managing a <strong>CSPR validator</strong> production node with a <strong>fixed fee of only 3% (that is guaranteed to never increase)</strong>. If you current own CSPR tokens and wish to delegate them to us, you can enjoy passive, self <strong>compounding rewards of up to 20% APR</strong>, (please check our ‘node monitor’ to view the performance of our ultra high spec infrastructure, network economics and the latest network apy <a href="http://grafana.ghoststaking.com/d/IMhWcsZ7z/casper-dashboard?orgId=1&amp;refresh=10s">here</a>).</p><p>Our server is a bare metal fully dedicated high performance box which is solely used to run our CSPR production node. This means there is no risks of CPU spikes from any process outside of the CSPR node.</p><p>For more information about us and how to stake, please follow the guide contained on our website <a href="https://ghoststaking.com/about-us/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbc7bd32175e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Instruction on how to stake CSPR tokens]]></title>
            <link>https://medium.com/@ghoststaking/instruction-on-how-to-stake-cspr-tokens-e994d6a7e1cc?source=rss-a70055e46766------2</link>
            <guid isPermaLink="false">https://medium.com/p/e994d6a7e1cc</guid>
            <category><![CDATA[staking]]></category>
            <category><![CDATA[validator]]></category>
            <category><![CDATA[casper]]></category>
            <category><![CDATA[cspr]]></category>
            <category><![CDATA[casperlabs]]></category>
            <dc:creator><![CDATA[GhostStaking]]></dc:creator>
            <pubDate>Fri, 20 Aug 2021 12:15:18 GMT</pubDate>
            <atom:updated>2021-08-31T11:28:21.675Z</atom:updated>
            <content:encoded><![CDATA[<h3>Instruction on how to stake / delegate CSPR tokens (including risks)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6pNMshhdKuneItcuVu1YKg.jpeg" /></figure><p>This article will cover:</p><ol><li>About us at GHOST and our validator server</li><li>Why staking is important for the CSPR network</li><li>What are the risk in staking</li><li>How to delegate / stake your CSPR tokens</li></ol><h3>1. About us / Why Choose Us?</h3><p>We at Ghost Staking are a team of <strong>Central London Quantitative Analysts</strong> who provide market insight and commentary in addition to managing a CSPR validator production node. If you current own CSPR tokens and wish to delegate them to us, you can enjoy passive, self <strong>compounding rewards of up to 20% APR</strong>, (please check our ‘node monitor’ for the latest network apy <a href="http://grafana.ghoststaking.com/d/IMhWcsZ7z/casper-dashboard?orgId=1&amp;refresh=10s">here</a>)</p><p>Our fee is <strong>GUARANTEED to NEVER EVER rise above the current rate which is 3%</strong>. Why is this important?</p><ul><li>Well, if you are a long term Hodler like us and believe in fundamentals over short term gains, you can safely stake your precious coins without having to check the node’s commission rate every few months as it will be the same tomorrow, next week, next year and also in 10 years time. This means we shall always be paying you 97% of the rewards earned by the node using your coins.</li></ul><p>We run a <strong>FULLY DEDICATED BARE METAL SERVER</strong>: why is this important?</p><ul><li>There is no risk to any cloud service provider</li><li>Fully dedicated means we have sole use of the machine, therefore there is no risk of any other processes causing spikes to memory or CPU (unlike a shared VPS)</li></ul><p>We <strong>ONLY RUN THE SINGLE CSPR PRODUCTION NODE</strong> on our server: why is this important?</p><ul><li>Unlike many other validators, we do not run any other PoS network node on the box, nor do not run a CSPR testnet node on the box. The reason for this is that there are inherent risks of overloading the server when many nodes are running as any single node could cause a spike in CPU or memory.</li></ul><h3>2. Why Stake?</h3><p>Staking is crucial part part of “Proof-Of-Stake” (POS) blockchains like CSPR.</p><p>With a proof of stake blockchain, validators (like us at Ghost Staking), validate transactions on the network based upon the amount of tokens delegated to our node — and get rewarded for this work. This very different to a “Proof-Of-Work” blockchain which requires a lot of computational power by miners to solve complex problems to validate transactions. The advantages of a POS is that it doesn’t actively encourage large mining pools like in POW which is what miners trend to in order to ensue the work they have completed is rewarded. (As in POW due to the hash rate, two miners could effectively be working on the same transaction for one piece of work to be disregarded (orphaned) — this is not great for efficiency, scalability and speed…also more importantly not great for the planet due to the high energy use). Also POS ensures that no one validator can grow large enough to act maliciously on the network, as this is penalised.</p><h3>What Are the Risks?</h3><ul><li>When Staking CSPR, the ownership of the coins will always reside with you. <strong>The validator has no access to your coins and you are simply using our server as a gateway to the network</strong>. You can therefore rest assured that the coins can only be accessed using the security key which is kept safely in your possession.</li><li>Some PoS networks impose a fine (slashing) for any malicious behaviour from the node. However the CSPR network has chosen to <strong>NOT FINE any delegators, therefore your coin principal balance is 100% safe</strong>. You can read more on this in our AMA with the CasperLaps CTO <a href="https://ghoststaking.com/ama-with-medha-cto-casperlabs/">here</a>.</li><li>The only risk you are exposed to is the loss of interest for the node being inactive. However as you would have read from the seconds above, we have gone to great lengths and expense to ensure that there is little to no risk of the server being inactive.</li></ul><h3>How to delegate / stake your CSPR tokens</h3><p>Staking (delegating) is managed through the <a href="https://cspr.live/">https://cspr.live/</a> website, which can be accessed using Google Chrome. Within this site you can (1) view the balance of your wallet, (2) delegate/undelegated and (3) view your staking rewards. Once you navigate to cspr.live you will be presented with the below screen. Please select the ‘sign in’ option as highlighted in red below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*zXIryfdqpiYvnL3061b19Q.png" /></figure><p>You will then be presented with the below screen. From this screen please select ‘Download Signer’. This is to download the Casper Signer Chrome wallet extension. The Casper Signer wallet is a Casper Wallet which can be connected to the cspr.live site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*nUnbvTHTN-fFVZHV9CJa-g.png" /></figure><p>Upon selecting ‘Download Signer’ from the above, a second tab will open in Chrome which will allow you to download the wallet extension. From this screen please select ‘Add to Chrome’ as highlighted below in red.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*ETUvhYj1usTZdesD8UTXcQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*o-XtWsLp_egZn6dD8AjuTA.png" /></figure><p>Selecting the above will download the Casper Signer wallet into your Google extensions. The wallet can therefore be viewed within you extensions. To access your Google extensions, please select the puzzle icon on the top right of the Chrome page, as highlighted below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*OVo4fMglTUd6VSVPkYZGdw.png" /></figure><p>A drop-down will then appear showing all of your Chrome extensions. Here you will find the Casper Signer wallet. Please click on this to open the wallet:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*KaXkGYWw0dhkDYQh2Rbqlg.png" /></figure><p>In opening the wallet, you will be presented with the below screen. At this point please press ‘reset vault’, as indicated below in red.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*h3737nctd2g-uTl7XqIXdw.png" /></figure><p>Now please enter a memorable passwords and confirm this password, as per the below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*FRw9-njv1a0VXsYbp5WBJA.png" /></figure><p>Now that we have Casper Signer installed and set up, we will next need to create a wallet within the Signer. To do this, please select ‘Create Account’ as highlighted below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*HHwqXa5ltF8spdBxx7ccyg.png" /></figure><p>After selecting ‘create account’ you will be presented with the following screen. Within this screen you will need to (1) provide a name for the wallet account, which can be anything you like — you will note in the example below I have named the wallet “my_account” , and (2) choose which algorithm to use. We recommend selecting the first as per the below image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*s3mHaNEoqSSz5BoHYmVI_Q.png" /></figure><p>Congratulations! You have successfully created a Casper Signer wallet. Next, lets find out (1) what the wallet address (this is the address where you would send CSPR tokens to from an exchange) and (2) how to backup our wallet keys (in case we forget the password or machine is corrupted). First, select the three horizonal lines on the top right of the wallet and then choose ‘Key Management’, as per below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/1*HE9S9-Y8WddLyW9KxJLqQw.png" /></figure><p>Then select the key icon as per below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*rIaSrd9ezwt7COChwFkNaQ.png" /></figure><p>You will then be presented with your (1) Public Key and your (2) Account Hash. Please note your public key is your wallet address — this is where you can transfer your CSPR token to, from an exchange</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*T6nPlm5OEopkj57S5XxpcQ.png" /></figure><p>Now lets backup your keys. In order to do this, again press on the horizonal three lines on the top right of the Casper Signer extension and then select ‘Download Active Key’:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*jjWY0MtAM7OOdEnK-1GBdw.png" /></figure><p>After selecting ‘Download Active Key’, as described above, three files will be downloaded onto your machine. Note that one of the files is a standard .txt file, and two files are .pem. It is very important that you save these files somewhere secure (in particular your secret key as this is what will be required to generate the wallet again if you lose your password). You can view all 3 downloaded files by selecting the up arrow of any of the files (highlighted in red below) and then choosing ‘view in folder’. A new windows explorer window will then open showing all 3 downloaded files. We recommend copying these files to a UBS stick and storing somewhere secure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*_r6OoKlom1UNUtewRFgb6Q.png" /></figure><p>Now we have our Casper Signer installed, wallet created and keys safely backed up, we can sign into cspr.live and connect the wallet. In the screen below, please select ‘sign in’:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*WoZZ-gbUEeh9b1vWKQbY6g.png" /></figure><p>After selecting ‘sign in’, the Casper Signer extension will open and as you to confirm connection. Please select ‘Connect’ on the Casper Signer as indicated below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*v5NxIffbH-PK7Gw0uGBMyQ.png" /></figure><p>Great, you have now successfully connected your wallet to the cspr.live portal. You will now see your wallet address on the top right of the screen. Please see below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*sZ3TKRTr2o-5x9EDBS7wEw.png" /></figure><p>Next, please click on your wallet in the top right to open it up. You will then be presented with the below screen, detailing your wallet and balances:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*ZSjihs0ZJuS01GQqjDlriw.png" /></figure><p>In the example above we can see our wallet address and also the balance of the wallet. Before delegating, you must first fund your wallet with CSPR tokens. Please transfer your CSPR tokens to your public. If when transferring you are required to enter a ‘transfer id’, please set this to 0. Once your account is funded you can then delegate. In order to delegate your CSPR tokens please select the ‘Wallet’ option on the top of the screen and then choose ‘Delegate Stake’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*dn6_ZQ-zztwKMJnXhaDMzg.png" /></figure><p>You will then be presented with the following screen where you can choose a validator to delegate to and also select an amount you would like to delegate. Please note there is a fee to delegate, which is approximately 3 CSPR tokens. We therefore recommend only delegating a maximum of your account balance minus 3 CSPR to ensure the transaction does not fail. Please also note our validator node can be found below (this is also searchable in the list of validators on cspr.live):</p><p>****************** OUR VALIDATOR NODE ADDRESS ******************</p><p><strong>01c60fe433d3a22ec5e30a8341f4bda978fa81c2b94e5a95f745723f9a019a3c31</strong></p><p>*******************************************************************</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*ynkhI12K4Pizk0KheuU-Ng.png" /></figure><p>You can view your staking rewards by selecting the ‘Staking Rewards’ button from your account view as per below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sk21b4UJ9Tz-AJhEF5yXwA.png" /></figure><p>Finally you can check any transaction (1) transfer, (2) delegate or (3) undelegate by navigating to your account and then selecting the ‘Deploys’ button. In the example below you can see the two most recent transactions were successful whereas the older two were unsuccessful. To get details of the transaction, please click of the relevant deploy hash.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ODrXY8IrszdhXmrupIXaiQ.png" /></figure><p>Rewards are paid every 2 hours and compounded onto your balance.</p><p>If in the future, if you choose to undelegated, the balance will be unlocked 14 hours after selecting un-delegate (7 eras, where 1 era=2 hrs). In order to undelegate, please navigate to your account in cspr.live, click on the ‘Delegations’ button (which can be found next to the ‘Deploys’ button as per the above image), and then sent the amount to undelegate.</p><p>Disclaimer: This article is written for the purposes of research and does not constitute financial advice or a recommendation to buy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e994d6a7e1cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Casper CBC (CSPR & ETH3.0)]]></title>
            <link>https://medium.com/@ghoststaking/casper-cbc-cspr-eth3-0-7acc57c67d2?source=rss-a70055e46766------2</link>
            <guid isPermaLink="false">https://medium.com/p/7acc57c67d2</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[staking]]></category>
            <category><![CDATA[cbc]]></category>
            <category><![CDATA[cspr]]></category>
            <category><![CDATA[casperlabs]]></category>
            <dc:creator><![CDATA[GhostStaking]]></dc:creator>
            <pubDate>Fri, 20 Aug 2021 11:09:26 GMT</pubDate>
            <atom:updated>2021-08-31T11:28:48.470Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*xik_2MtfyyFLPKQ7VeD-sA.jpeg" /></figure><p>commentary by <a href="http://www.ghoststaking.com/">www.ghoststaking.com</a></p><h3>What is CBC : Correct-by-Construction?</h3><p>In an earlier <a href="https://ghoststaking.com/blockchain-consensus-protocols">post</a> we saw how consensus protocols form the very fundamentals of blockchains where independent nodes validate transactions on the network, i.e. the very basic concept of decentralized ledgers. There are then two critical security properties that we must consider for any consensus protocol: safety and liveness.</p><p><strong>Safety</strong>: A protocol is safe if it will not make inconsistent decisions</p><p><strong>Liveness</strong>: A protocol is live if it is guaranteed to eventually make a decision</p><p>It turns out that ensuring both safety and liveness in a Proof-of-Stake decentralized network is not easy. One of the first attempts to address these issues was called Casper CBC (correct-by-construction). This blockchain architecture provided a ground-breaking framework to address safety, though not liveness. We will see in a later post how more recent research from CasperLabs has helped to address the liveness issue.</p><p>The Casper CBC framework describes a family of consensus protocols where each member satisfies a particular safety proof; given some preconditions, all node decisions will be consistent. Each protocol is identified by a number of parameters (properties). The CBC framework captures the relationship between parameters and protocol states through an iterative process. The aim then is to generate a family protocols and to have the ability to make changes to them without losing or having to re-prove properties of the protocol such as safety.</p><h3>How does the CBC framework work?</h3><p>Typically, systems are built with rigorous testing in place to validate correctness (eg, unit, system, integration tests etc). The CBC approach is different in that as opposed to testing a predefined system, first principles and rules are put in place, through which correctness is derived. The properties of the system will therefore always be correct. In this way a general protocol space can be defined, and every additional refinement on this can be built and assumed to be correct without the need to test for correctness or the chance that it is incorrect.</p><p>If we define a Space S (which can represent the totality of consensus mechanisms), there will be a subspace within this which will define specific mechanisms that use the longest fork chain rule for example. A property P, as defined within the main space can be considered correct throughout the space. However a property P’ defined specifically to be correct within Space S’, will not necessarily be correct for any part of the space outside of S’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qE7CVpRqRu_kAHX3IZrjhw.png" /></figure><p>Defining where the Space lives, is the initial problem. Once this is in place the act of the exchange of messages between network validators, grows the network. We can consider it as the initial Space S being defined, and then refinements in the future further defining subspaces.</p><p>Below, we will illustrate how the CBC framework’s proof of safety is derived. A thorough proof is omitted however please feel free to read through the original paper <a href="https://github.com/cbc-casper/cbc-casper-paper/blob/master/cbc-casper-paper-draft.pdf">here</a>.</p><h3>Thinking about a consensus protocol in terms of states and state transitions</h3><p>We can consider the CBC framework in terms of protocol states (sets of messages) and protocol state transitions that clients running the protocol will execute (by receiving messages from consensus forming nodes). Recall that validators are nodes in the decentralized network. When validators ‘speak’, arguments are passed between validators in messages, where a message is comprised of the following 3 key parts:</p><ol><li>The consensus value</li><li>The sender (specific validator)</li><li>Reference to some protocol state (the justification) — important due to the possibility of delayed timings between two messages sent instantaneously. Since there is the possibility of messages getting ‘muddled’, a reference must be in place linking the message to an earlier protocol state in which it is building on.</li></ol><p>A present protocol state can therefore be considered as the series of messages. States evolve and one state follows another if the preceding state contains all the messages of the current state.</p><p>We next come to the concept of a common future state. This is where there are multiple nodes (validators) with consistent justifications in the messages such that there is a future state agreed. If for example, there exists a validator without this, they will be equivocated by the other validator. You will note here that there is a threshold where if the number of equivocates is below this limit, then a common future will exist. When the common value is reached agents then will not be allowed to decide what is true. This is the safety guarantee and does not permit the consensus to be multiple differing values, this being the principal of the safety guarantee. A property is decided at some state if it is true in all future states. We can further illustrate this with the below several steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bbQ0DbNZCOHXbxZEhZOFAw.png" /></figure><p>Above (above left) is a diagram showing us this concept of protocol states and the transition between these. We can further define an ‘estimator’ (above right) that maps protocol states (as defined above left) to the propositions about the consensus (for example, an assertion that the block height has a certain hash). The value the estimator implies can be considered safe based upon the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QUiNmWUqDND0l7o7qzufIA.png" /></figure><p>So the value of the estimator (or something the estimator implies) is safe if, for any future protocol state, that value holds. So for example if a block of height 10 has hash XYZ at this protocol state and all future protocol states, then we call the proposition of the block at height 10 with hash XYZ, ‘safe’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2AMyQKykx8sGWOXD0kV89Q.png" /></figure><p>We then think about the common future state. In the above example P and not P cannot exist on the same state therefore both cannot be “consistent”, i.e true on the same state. This is the principal of consensus safety: if two states (sigmas) have a common protocol future you cannot have safety on P on sigma1 and not P on sigma2. Decisions are going to be consensus safe for any two sigmas which have a common protocol future. Any decisions that are invariant over respective futures made by two protocol states (which share a common future protocol state) have to be consistent because of the shared future protocol state. You can see how this bridges the gap from a local notion of safety on a node level to a distributed notion.</p><h3>Byzantine fault tolerance (BFT) and guarantees of a common protocol future</h3><p>Before we proceed to discussing the trivial nature of guaranteeing common protocol futures, we should explain briefly the concept of Byzantine faults.</p><p>Byzantine fault tolerance (BFT) is the property of a system that is able to resist the class of failures derived from the Byzantine Generals’ Problem. This means that a BFT system is able to continue operating even if some of the nodes fail or act maliciously. At some points in consensus protocols, nodes will become bivalent and committed on a value. It is possible with 100% Byzantine faults for Figure 1 below to happen, with one path being safe on 0 and the other being safe on 1 — however they will not exhibit consensus safety. This is a failure in local safety.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tEwRi6dqs8hCqJK-X97thQ.png" /></figure><p>Figure 2. shows protocol states and protocol transitions a within lattice form. In this case we can consider protocol state and states transitions to be:</p><ol><li>Protocol states — sets of protocol messages</li><li>State transitions — where receiving a protocol message</li></ol><p>i.e. nodes messaging one another. Since 2 nodes can always send messages to each other, we can guarantee that nodes will have a common future for a goal state. The common protocol state in the future for node A and B will therefore be A union B. Therefore in guaranteeing we have a common protocol future, we have also guaranteed consensus safety. However as every 2 states have a common protocol future, we are never able to result in Figure 1 above — which is what you need to make inconsistent, irreversible decisions (non-triviality). Therefore an alteration is made such that any future protocol state which has a number of Byzantine faults above a predefined threshold ‘t’, we delete. Therefore a pair of nodes have a common future state as long as there does not exist &gt;t faults.</p><p>The above relies on being able to conduct Byzantine fault detection from a set of 2 message. We shall explore this below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MbNKqwwsmxz89ZDh5mzsZA.png" /></figure><p>Within figure 3 above we can see two defined sets of messages A and B. These have both an intersect (figure 3), and a union (figure 4). Sequences of messages from validators can be seen as the coloured threads within these sets</p><p>Figure 1 would share a common protocol future, however in figure 3 (with the introduction of the red thread), A and B both seem to be honest, however in the union of their views you can detect that the red thread has equivocated and therefore with a threshold set to 0, this would be rejected, as B would not be able to see the part of the red thread in A and vice versa.</p><h3>Conclusion</h3><p>As we have seen above, the Casper CBC framework provides a powerful way to develop a family “correct-by-construction” consensus protocols that each share the same proof of Byzantine-fault-tolerant consensus safety, allowing refinements and improvements without needing to re-prove safety each time. At a time when Proof-of-Stake blockchain architectures did not have solid foundations of safety and liveness, this research paved the way for at least satisfying the first of these two critical features.</p><p>We will hopefully see in a later post how more recent research from CasperLabs has helped to address both the liveness issue, as well as a number of important improvements to (i) enable the network to reach higher thresholds of finality and (ii) to achieve greater flexibility in how nodes can define their own thresholds of finality for each era.</p><p>Disclaimer: This article is written for the purposes of research and does not constitute financial advice or a recommendation to buy.</p><h3>About Us — Staking CSPR</h3><p>We at Ghost Staking are a team of <strong>Central London Quantitative Analysts</strong> who provide market insight and commentary in addition to managing a <strong>CSPR validator</strong> production node with a <strong>fixed fee of only 3% (that is guaranteed to never increase)</strong>. If you current own CSPR tokens and wish to delegate them to us, you can enjoy passive, self <strong>compounding rewards of up to 20% APR</strong>, (please check our ‘node monitor’ to view the performance of our ultra high spec infrastructure, network economics and the latest network apy <a href="http://grafana.ghoststaking.com/d/IMhWcsZ7z/casper-dashboard?orgId=1&amp;refresh=10s">here</a>).</p><p>Our server is a bare metal fully dedicated high performance box which is solely used to run our CSPR production node. This means there is no risks of CPU spikes from any process outside of the CSPR node.</p><p>For more information about us and how to stake, please follow the guide contained on our website <a href="https://ghoststaking.com/about-us/">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7acc57c67d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>