<?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 Crypto Prof. Utonium on Medium]]></title>
        <description><![CDATA[Stories by Crypto Prof. Utonium on Medium]]></description>
        <link>https://medium.com/@prof_crypto?source=rss-c4f336f32af------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*T9B2dkeph8Cu86Zl.png</url>
            <title>Stories by Crypto Prof. Utonium on Medium</title>
            <link>https://medium.com/@prof_crypto?source=rss-c4f336f32af------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 05:38:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prof_crypto/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[Zclassic Development in Review]]></title>
            <link>https://medium.com/@prof_crypto/zclassic-development-in-review-63f988cc1d3f?source=rss-c4f336f32af------2</link>
            <guid isPermaLink="false">https://medium.com/p/63f988cc1d3f</guid>
            <category><![CDATA[zslp]]></category>
            <category><![CDATA[token]]></category>
            <category><![CDATA[mining]]></category>
            <category><![CDATA[zclassic]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Crypto Prof. Utonium]]></dc:creator>
            <pubDate>Thu, 05 Mar 2020 11:54:54 GMT</pubDate>
            <atom:updated>2020-03-05T11:54:54.320Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*T-vroNj-yYFv1Fqt.jpeg" /></figure><p>2019 was the year of attacks. Ethereum Classic, Vertcoin, Verge, Bitcoin Gold, etc. were 51% attacked and double-spent which raised a lot of questions about thesesystemic flaws or weaknesses of altcoins with low hash power.</p><p>Hence, last year, the main focus was on securing the blockchain from attacks and driving user adoption.</p><p>Zclassic in its development diverged from Zcash after implementing the Deep Reorg Protection inspired from Bitcoin Cash. You could say that Zclassic encompasses the best of both worlds, Zcash and Bitcoin Cash. The privacy features of Zcash with ASIC resistance and no tax. Faster transaction finality and Simple Ledger Protocol implementation from Bitcoin Cash.</p><h3>Deep Reorg Protection</h3><p>A Blockchain Reorganization occurs when miners collaborate to control more than 50% of the hash power and use it to remove previously confirmed blocks from the blockchain. This is known as a 51% attack. This attack can be used to double-spend by spending funds, erasing the transaction from the record, and spending the same funds a second time. All blockchains are vulnerable to a 51% attack as can be seen on this <a href="https://www.crypto51.app/">here</a>, which shows the cost of performing a 51% attack on a network.</p><p>To defend against these hostile reorgs, Zclassic borrowed from Bitcoincash to implement Deep Reorg Protection. The new mechanism auto-finalizes a block once it has reached a depth of 10 and a time of 30 minutes has elapsed since the block header received time. This protects against large blockchain reorgs and also helps in faster transaction finalization. It ensures that even if an alternative chain has more proof of work and it conflicts with the last checkpoint, the node will not switch over to the most work chain. For more details check out our previous <a href="https://medium.com/@prof_crypto/zclassic-update-deep-reorg-protection-aa7d88696d43">blog</a>.</p><h3>ASIC Resistance</h3><p>An application-specific integrated circuit (ASIC) simply means a chip designed to do a particular task and nothing else. In the case of cryptocurrency, they are developed for a mining-specific algorithm. They are powerful, cost-effective and energy-efficient in terms of finding hashes. This means that using ASICs to mine Bitcoin or other Proof of Work cryptocurrencies is much better than using a general-purpose piece of hardware, such as a GPU card. This gives ASIC miners an unfair advantage over others in the mining landscape.</p><p>To avoid this and to make Zclassic ASIC resistant we changed the Equihash n,k parameters to 192 and 7 respectively. Earlier the parameters n,k used were 200,9 which was not ASIC resistant. The new Equihash algorithm prevents ASIC centralization by ensuring that the generation of proof is memory-intensive. Because memory is an expensive resource in computing, optimizing for memory on an ASIC chip will come at a large computational cost to the user.</p><h3>Introducing Zclassic Simple Ledger Protocol</h3><p>ZSLP is an emerging next-generation protocol for issuing and management of tokens on Zclassic blockchain. Storing and managing tokens on the blockchain provides greater auditability than traditional asset management and trading.<strong> </strong>Tokens can be used anywhere from rewarding your followers, to the creation of stocks, securities, registries, smart properties, utility tokens, contracts, coupons, bonds, demand deposits, local currencies, representation of physical assets, representation of individuals and much more. Tokens can be easily created, traded and managed on Zclassic blockchain within few seconds using Electrum ZSLP wallet or using mint.zslp.org</p><p>You can learn about creating ZSLP tokens using Electrum ZSLP wallet <a href="https://medium.com/@prof_crypto/quickstart-guide-for-creating-erc-20-like-tokens-on-zclassic-7ce0da53db05">here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HjIIwriOvd4twzxI.png" /><figcaption>Electrum ZSLP Wallet</figcaption></figure><p>People have already started creating tokens and using them. At the time of writing this article, there are more than 670 ZSLP tokens on the Zclassic blockchain.</p><p>For more information check out our previous <a href="https://medium.com/@prof_crypto/introducing-zclassic-simple-ledger-protocol-cbb8e1dc6572">blog</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q0UlalsHdbncpQDi.png" /><figcaption>ZSLP Explorer</figcaption></figure><p>You can check and verify your ZSLP transactions using the <a href="https://explorer.zslp.org/">explorer</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zyRsuv6Rr1lXtHL7.png" /><figcaption>mint.zslp.org web wallet</figcaption></figure><p>We also launched mint.zslp.org which is an open-source, non-custodial web wallet supporting ZSLP tokens and Zclassic</p><p>You can perform the following actions using the web wallet :</p><ul><li>Create ZSLP token</li><li>Pay ZCL dividends to ZSLP token holders</li><li>Mint non-fixed/ fixed supply tokens</li><li>Send &amp; Receive ZCL and ZSLP tokens</li><li>Import panda wallet</li></ul><h3>Panda Crypto Wallet</h3><p>Panda Crypto Wallet is an open source, non-custodial, lightweight Zclassic wallet for android and iOS with support for ZSLP tokens. With its release, now it’s easier to receive and send ZCL and ZSLP tokens. This will help in driving adoption.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GmNGmQUuO_NJlbfk.png" /><figcaption>Panda Crypto Wallet on Android Play Store</figcaption></figure><h3>What’s in the pipeline</h3><p><strong>Faster block time</strong></p><p>This feature increases the frequency of blocks, allowing transactions to resolve faster. This will improve Zclassic’s usability and increase the number of transactions per hour the network can sustain while keeping transaction fees low. The current block time is 2.5 minutes and it will decrease to 1.25 minutes.</p><p><strong>Triple Halving</strong></p><p>With the support of Zclassic community and also to curb inflation, we have decided to go ahead with the Triple halving. Also, since Deep Reorg Protection is in place, Zclassic is more secure hence the miner incentive can be reduced.</p><ul><li>Current Node Deprecation Block Height: 706992</li><li>Network Upgrade Block Height: 707000</li><li>Total Supply till Triple Halving Activation: 706999 * 12.5 = 8837487.5</li><li>New supply after Triple Halving (Four Halving and halved block time)<br>Block subsidy after Triple Halving activation( every 1.25 mins): 0.78125</li></ul><pre>total = 0<br>block_subsidy = 0.78125<br>for i in range(5,64):<br>	total += 840000 * 2 * block_subsidy <br>	block_subsidy /= 2<br>total<br>2625000.0# 840000 is the old halving interval. Halving interval is doubled to account for the new halved block time</pre><ul><li>Old Total Supply: 21 Million</li><li>New Total Supply : 8837487.5 + 2625000 = 11462487.5 (~11.5 Million)</li></ul><p><strong>CashScript</strong></p><p>Bitcoin Script is very limited in usability and cannot be used to implement real-world financial instruments. To extend the Bitcoin Script to support validation of information outside the Zclassic blockchain, we are adding two new opcodes to the Bitcoin Script, OP_CHECKDATASIG and OP_CHECKDATASIGVERIFY respectively. This will open up a lot of opportunities for interesting smart contracts on Zclassic blockchain. Smart contracts along with ZSLP tokens will help developers create various financial instruments with ease. This will also drive the creation of various oracles for Zclassic blockchain. We are looking forward to the kind of applications, Zclassic community will create using smart contracts and ZSLP tokens.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63f988cc1d3f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[To Mint or Not to Mint]]></title>
            <link>https://medium.com/@prof_crypto/to-mint-or-not-to-mint-a79a856ff045?source=rss-c4f336f32af------2</link>
            <guid isPermaLink="false">https://medium.com/p/a79a856ff045</guid>
            <category><![CDATA[zclassic]]></category>
            <category><![CDATA[token]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[minting]]></category>
            <category><![CDATA[zslp]]></category>
            <dc:creator><![CDATA[Crypto Prof. Utonium]]></dc:creator>
            <pubDate>Tue, 21 Jan 2020 16:33:49 GMT</pubDate>
            <atom:updated>2020-01-21T16:33:49.842Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*rlmh-hXjPnqoEZ9-5c1pVg.png" /></figure><p>Each Altcoin is a decentralized network aiming to solve a particular problem. Tokens are issued to allow this network to exchange values and grow, thereby boosting economies. Therefore tokens have a functional value that is resulting from their use in the economy.</p><p>Minted tokens refer to any legitimate token of a currency. It is much like central bank minting a coin. It is a legitimate currency. It is a token with a non-fixed total supply, allowing the token owner to “mint” more tokens whenever they want. Add a mint method to the token contract, which allows minting tokens later. A method to disable minting can also be added to stop the minting process irreversibly.</p><p>Mintable tokens have several advantages:</p><ul><li>It can be used in several phases of the ICO — pre, during the ICO and post to create stocks</li><li>It can be used to create securities, registries, smart properties, utility tokens, contracts, coupons, bonds, demand deposits, local currencies, representation of physical assets, representation of individuals, etc.</li><li>It can be customised to suit the business model</li></ul><p><strong>Mineable Tokens Vs Mintable Tokens</strong></p><p>Most people tend to misunderstand Minting for Mining in crypto tokens. So let’s differentiate both at the outset.</p><p><strong>Mineable tokens </strong>are tokens which can be created or minted based on specific activities and are usually limited as per consensus rules of that blockchain. These activities may involve solving simple math codes to very complex ones and adding the solution to the transaction data, depending upon the terms set by the token programmer/team. Mining also serves other purposes like securing the network and packing new transactions into blocks.</p><p><strong>Mintable tokens</strong> are also a way of creating tokens but it is not dependent on any activity, as a contract creator, you can create a token whenever you want. Minting tokens is done by sending a transaction that creates new tokens inside of token smart contract.With the help of smart contract function, unlimited number of tokens can be created without spending additional energy or money.</p><p><strong>Fixed vs Continuous Supply</strong></p><p>We know that the fixed total supply model is good for asset token because people appreciate the scarcity. But the main aim of continuous supply token is not increasing the price of the initial token but its utility and benefits.</p><p>Continuous token models are different than what we mostly see in the token space currently, where tokens are minted once for a purpose, and never again. With continuous token models, tokens are minted as needed and used within the protocol or application when required. The network/dapp forms around the need of the token and dissolves naturally if it is not useful anymore.</p><p><strong>Some of the famous projects with the mintable supply are:</strong></p><p>1. <strong>Dai (DAI)</strong> — it is a USD-pegged stable coin built on the Ethereum blockchain network and has no centralized authority. Its $1 USD equivalent is maintained through automatic pricing mechanisms built into smart contracts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u3ftrdK0iAbk4lpy" /></figure><p>In other words, it is a decentralized stable coin pegged to $1 USD used in the <a href="https://makerdao.com/en/">MakerDAO</a> system. Users can lock their crypto assets (ETH) inside of the MakerDAO contract, and in return get DAI tokens. Every time ETH is locked in CDP (Collateralized Debt Position), new DAI tokens are minted by the MakerDAO contract.</p><p>2. <strong>Status (SNT) </strong>— Status Network Token (SNT) is an open-source messaging platform and mobile interface built to interact with applications that run on the Ethereum blockchain network. SNT is a utility token that fuels a decentralized push notification market, governance of the Status client, along with curation of user-generated content on the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*O_wGL7QsjKvWLmHLS9G81A.png" /></figure><p>The SNT token has a cap on total supply, but a lower current circulating supply. New tokens can be minted by the controller address.</p><p>3.<strong>Decentraland (MANA)</strong> — It defines itself as a virtual reality platform powered by the Ethereum blockchain network that allows users to create, experience, and monetize content and applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EGYkfXkbd76Rijds" /></figure><p>In other words, it is a virtual world platform owned by its users. Users create goods and services and trade them using MANA tokens. MANA tokens are mintable and burnable ERC20 tokens.</p><p>In this virtual world, users purchase plots of land that they can later navigate, build upon, and monetize. Decentraland uses two tokens: MANA and LAND. MANA is an ERC20 token that must be burned to acquire non-fungible ERC721 LAND tokens.</p><p><strong>Mintable tokens are widely used in combination with crowdsales.</strong> Crowdsale contracts are used to <a href="https://tokenmint.io/create-ico.html">create an ICO</a> (Initial Coin Offering) where tokens are sold. Here’s the mechanism used for combining mintable tokens with crowdsale:</p><ol><li>ICO maker deploys mintable token contract, giving him a Minter role</li><li>ICO maker deploys crowdsale contract</li><li>ICO maker transfers Minter role to crowdsale contract. Only crowdsale contracts can mint new tokens.</li></ol><p>Now, the crowdsale begins. An investor comes along and wants to invest in new tokens. He sends cryptocurrency to the crowdsale contract, contract mints brand new tokens at current price and sends them to the investor. When crowdsale is finished, no one can mint more tokens, not even crowdsale contract, since it’s coded that way. Investors can be sure that no one can dilute their share of token holdings.</p><h3>Inflation and Minting</h3><p>When there is a sudden increase of a coin in the market, it does not usually indicate that the coin is more valuable. This is how inflation and deflation work in the crypto-market. Just like a fiat currency, if a country just prints its currency, rather than increase its value through resources and securities, it devalues the currency. This is because the country has more money, but it has not happened organically, so the increase in money just means that the same goods will need more of that currency to pay for things. When a market is working, supply and demand work for one another, not against.</p><p>Inflation is the addition of a currency to the market. This is done so that there is more of the currency in circulation. Additionally, the currency is worthless because it costs less. Investors can, therefore, purchase it more easily. But to cause deflation, some of the currency needs to be taken off the market. Deflation increases the scarcity, as there is less of it, and it is harder to get. The intention is to increase the value of a coin.</p><p>Bitcoin’s maximum supply of 21 million might sound a lot but it’s current circulating supply of 18 million pales compared to some of the other larger market caps. <a href="https://www.coinist.io/a-beginners-guide-to-ethereum/">Ethereum’s</a> current circulating supply is 109 million (it has opted not to set an upper limit on its total coin supply) and <a href="https://www.coinist.io/beginners-guide-to-ripple/">Ripple’s</a> 43 billion (which is less than half of the 100 billion Ripple that will be produced). Many lesser-known coins have even higher supplies. Dentacoin already has 463 billion tokens in its circulating supply whereas its total supply is as high as 7 trillion. Some have argued that, to make cryptocurrencies more practical in use, an individual token must be more affordable. It’s a lot easier to send a friend 100 Dogecoin then to be like “Yeah, let me send you 0.0001 Bitcoin.” Calculating the fractional values required for everyday transactions can be a pain.</p><h3>How to create a new MINTABLE supply token on Zclassic?</h3><p>While creating a new token in ZSLP electrum wallet, follow the simple steps below to create mintable tokens or non-fixed supply tokens</p><ul><li>Click on Create New Token</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/0*gChEY776ffpixLQ_.png" /></figure><ul><li>Enter optional details</li><li>Uncheck the Fixed Supply checkbox</li><li>Add the baton address for future issuing (from Address Converter tab — ZSLP address)</li><li>Proceed to Create New Token</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/0*8Afsgl_TagKT3vPc.png" /></figure><ul><li>Enter password in the window that opens next.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/0*rxOucAcjryFDBhDe.png" /></figure><ul><li>This will enable the token creation for future minting schedules (same can be viewed in the History tab as well).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/0*JINWGTHdKr6KQv_z.png" /></figure><h3>How to create additional tokens on Zclassic for existing mintable tokens?</h3><ul><li>Go to the main ZSLP Token screen (Token tab), you will find a list of confirmed tokens, tokens with the mintable supply would have a star in front(as seen in the image below). Left-click the token and select “mint tool”.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/0*vrkFBwDfsJl7w2um.png" /></figure><ul><li>A pop-up with the mint instructions will appear.</li></ul><p>Enter the number of tokens to be minted.</p><p>Enter the receiver address of the additional minted tokens (from the Receive tab), along with the baton address (from Address Converter tab) as specified during the token creation. You will have an option to end the issuance permanently by selecting the checkbox as seen in the image.</p><p>Click the Create Additional Tokens button to mint tokens for an existing token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/0*sIqruMq3g4jovRzq.png" /></figure><ul><li>Enter password in the window that opens after clicking on Create Additional Tokens button</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/0*DHXLQ_GiSDnEYa3T.png" /></figure><ul><li>Once the password is entered, you will see that additional tokens are created and the number of tokens would have increased against the existing token (in this case from 1 to 2).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/0*b4ofTcxaHTSk2j-j.png" /></figure><p><strong>The idea is that instead of pre-selling tokens during a launch phase, the tokens are minted as needed through various means. The tokens are then dispensed for services rendered in the network.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a79a856ff045" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The token Handbook for individuals 2020]]></title>
            <link>https://medium.com/@prof_crypto/the-token-handbook-for-individuals-2020-63e890ae30cb?source=rss-c4f336f32af------2</link>
            <guid isPermaLink="false">https://medium.com/p/63e890ae30cb</guid>
            <category><![CDATA[zslp]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[token]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[zclassic]]></category>
            <dc:creator><![CDATA[Crypto Prof. Utonium]]></dc:creator>
            <pubDate>Tue, 14 Jan 2020 14:06:12 GMT</pubDate>
            <atom:updated>2020-01-14T14:06:12.588Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DiTSCTb-CNUMxTRXlS0mNg.png" /></figure><p><strong>Tokens</strong> have brought significantly higher utility to the blockchain industry as a whole, allowing the technology to be built into almost all existing industries. Since 2016, hundreds of thousands of tokens have been created on various blockchains. Amid the launch of new tokens, there are some common problems the industry is currently facing:</p><ul><li>Token creators are too focused on fundraising and not enough attention is given to real business models and growth.</li><li>Not enough tokens are held by the network users and developers whereas too many tokens are held by the investors and creators.</li><li>A lack of price flexibility makes the network too costly to use and impedes growth.</li><li>More businesses use tokens than individuals as the cost of creation, minting, managing and distribution of tokens are either expensive or non-user friendly.</li></ul><p>With this being said, there are some use cases of tokens which are far more interesting to explore both for individuals and businesses.</p><ul><li>Tokens provide a way for the network to grow and get more people on-board for a common mission.</li><li>It catalyzes the existing network and drives people towards a common goal.</li><li>It provides a mechanism for governance and voting on protocol upgrades.</li><li>It helps individuals create an immutable digital identity of self.</li><li>It can represent a provable digital identity for physical assets.</li></ul><p>In this blog, we will try to define tokens and the terminologies associated with it.</p><h3>What are tokens?</h3><p>Fundamentally, a token is an IOU (an informal document acknowledging debt). It is a contract. It represents rights and obligations. The only token that isn’t a contract is an unissued token. Once a token is issued, it represents value. Examples of tokens: a poker chip, concert ticket, stock certificate, bond, coat-check token, dinner reservation, driver’s license, passport, airline ticket, etc.</p><p>All tokens have:</p><ul><li>An issuer — Person or organization issuing the token</li><li>A substrate (carrier)- Platform or blockchain</li><li>Utility to the system it is built for</li><li>Value to the system it is built-in</li><li>Some way to use them</li></ul><p>Tokens can have many use cases but most of the time they are potentially used as a store of value, a unit of payment, to pay fees, help identify artwork and anti-piracy features. It eventually becomes a unit of account that is identical, unique, carries a payload, grants rights or access, tied to other tokens, traded, used as inputs to smart contracts and more.</p><h3>Physical Aspects of the token</h3><p>Some of the physical aspects of the token to be kept in mind while making one are:</p><p><strong>Substrate: </strong>This is the blockchain on which you’ll issue your tokens. A token isn’t just a data format — it has to exist on a blockchain that ensures the security and validity of the token.</p><p><strong>Role: Active/Passive: </strong>The role of the token defines how it will be used in the economy.</p><p><strong>A passive token</strong> simply plays the role of money in a system, holds value, or collects the rent. Passive tokens include frequent-flier miles, poker chips, game credits, virtual currency, awards, points, etc. A passive token could represent the ownership of a diamond or piece of land, or it could be like a share of stock or any collateralized debt instrument. We have several examples of the passive tokens already existing in our system. Yet the blockchain makes it more tradable.</p><p><strong>An active token</strong> could allow you to start your car, buy a bottle of wine (transferring your qualification to buy to the seller), board an airplane, enter your home, vote, cross a border, collect a tax refund, get a discount, etc.</p><p><strong>Supply: Limited/Unlimited: Limited supply tokens</strong> are the tokens with one-time issuance and only that amount of tokens will be existing throughout. Tokens that are limited in numbers are usually very divisible. This is what investors want, and in many cases it makes sense. In the case of passive tokens, these could be currencies, an asset, equity, or debt-issue tokens. For active tokens, it means that the price of those tokens is likely to rise as the system’s network effect kicks in. A limited-supply token becomes a de-facto store of value, but it also leads to speculation and volatility.</p><p><strong>Unlimited tokens</strong> are minted as per the order, market supply and demand, this can be used in multiple cases for eg: ETFs</p><p><strong>Fungibility: </strong><em>Fungible</em> tokens are digital assets built so that each individual token (or fraction of a token) is equivalent to the next. Non-fungible tokens are designed to be <em>special</em>. It’s best to think of these kinds of tokens as representing unique, collectible items. Non-fungible assets have unique payload or identifiers making it different from the existence.</p><p><strong>Transferability: </strong>Some tokens are transferable, others are not.</p><p><strong>Transferable</strong></p><p><strong>Non-transferable</strong></p><p><strong>Fungible</strong></p><p>Cash, bus ticket, coupon, cryptocurrency, gift card, poker chip, commodity</p><p>Gym membership, club membership, app with associated account</p><p><strong>Unique</strong></p><p>Lottery ticket, ownership of a car, house key, title deed</p><p>Driver’s licence, boarding pass, prescription, voting token</p><p><strong>Token Flow Models: </strong>There are only a few ways a token can flow</p><ul><li><strong>Straight line</strong> — from source to sink, tokens are created for a single purpose and destroyed when used.</li><li><strong>The poker-chip model</strong> — where they are used as currency in the system, the system providers then send them back to the cashier to exchange them for cash.</li><li><strong>Circular</strong> — where they exchange back and forth, as in case of currencies.</li></ul><p><strong>Divisibility: </strong>If a token has a fixed supply, you want to make it very divisible. The standard is 18 decimals. You should have a very good reason for <em>not</em> making a limited-supply token divisible to 18 decimal places. One important reason to make tokens divisible is that people buy/exchange them with many different currencies, so when one is a whole number the other will be a fraction. Your token should be divisible to accommodate that kind of transaction.</p><h3>Fiscal Policies governing the tokens</h3><p>Along with the physical aspects, <strong>Fiscal Policy </strong>is very important for tokens in order to encourage market demand or affect the price of your own tokens. Some of the important fiscal policies of tokens are:</p><ul><li><strong>Buying back tokens: </strong>This<strong> </strong>is something you’d only do if you find yourself with a lot of cash. It will push up the price, but at a “retail” cost.</li><li><strong>Selling tokens:</strong> After an initial offering, any token you sell has the dual effect of raising money and dropping the price. The most important thing is to give the market your plan months in advance. Six months before any kind of unfreezing, you should give clear notice to the market regarding what to expect.</li><li><strong>Market making:</strong> It<strong> </strong>is using your cash or tokens to take the bid or the ask on exchanges. This improves liquidity. You can enter limit orders to catch the tokens if they fall too far, and you can sell tokens into a spiking market. It would be a good idea to reserve 5–10 percent of cash for market making in order to limit the downside of your token supply (though no one does this). Since market-making is generally profitable, we can expect algorithmic market-makers to scale up their efforts as our token economy grows.</li><li><strong>Paying in tokens:</strong> If a token is a security, you should not pay people using tokens. If you’re paying in a token that isn’t a security, it has a cash value that must be reported as income for tax purposes. If the token is locked up, recipients still have to pay taxes on a token they can’t sell in time to cover the tax payment.</li><li><strong>Granting tokens: </strong>Several foundations have set up grant funds to foster research in their cause. We have decided to donate a significant number of our personal tokens into a common grant fund to sponsor research, experiments, and other projects we think will benefit our ecosystem. Keep in mind that tokens granted will likely be sold on the market soon, so drip them out rather than awarding them all at once.</li><li><strong>Burning tokens: </strong>It<strong> </strong>is destroying tokens forever. This happens naturally, but you can also do it on purpose. It can make sense if you want to reduce the uncertainty about tokens becoming unfrozen. You could also refreeze them, which probably makes more sense.</li><li><strong>Splitting: </strong>You could give each token holder more tokens, in proportion to their holdings.</li></ul><p><strong>How ZSLP helps in easy token creation?</strong></p><p>With ZSLP electrum wallets, some of the above basic functionalities of the tokens can be used and applied to the tokens with the click of a button. You can start creating your tokens in fewer minutes without any technical knowledge of the smart contracts.</p><p><strong>Follow our </strong><a href="https://medium.com/@prof_crypto/quickstart-guide-for-creating-erc-20-like-tokens-on-zclassic-7ce0da53db05"><strong>blog</strong></a><strong> to create your token in less than 10 MINUTES.</strong></p><p><strong>Summary</strong></p><p>The key takeaways from the article:</p><ul><li>Tokens are mostly used for fundraising, but there are many aspects of tokens which are still unused to their maximum capacity.</li><li>This token handbook can be useful in creating tokens for individual use cases.</li><li>Understanding the type of tokens may help us create better ones</li><li>ZSLP empowers the creation of tokens for both businesses and individuals.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63e890ae30cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quickstart guide for creating ERC-20 like tokens on Zclassic]]></title>
            <link>https://medium.com/@prof_crypto/quickstart-guide-for-creating-erc-20-like-tokens-on-zclassic-7ce0da53db05?source=rss-c4f336f32af------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ce0da53db05</guid>
            <category><![CDATA[zslp]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[token]]></category>
            <category><![CDATA[zclassic]]></category>
            <category><![CDATA[slp]]></category>
            <dc:creator><![CDATA[Crypto Prof. Utonium]]></dc:creator>
            <pubDate>Sun, 05 Jan 2020 18:02:55 GMT</pubDate>
            <atom:updated>2020-01-05T18:02:55.955Z</atom:updated>
            <content:encoded><![CDATA[<p>The blockchain technology is promising and is expected to transform most of the financial assets and technological models due to its transparent, immutable and distributed structure. The blockchain technology has brought along with it so many benefits and tokenization is one of them.</p><p><strong>Tokenization </strong>is a process where some form of assets is converted into a token that can be moved, stored, or recorded on a blockchain. While ERC-20 is the most popular token standard to create tokens because of Ethereum’s first mover’s advantage and ICO boom of 2017. Creating a token on Ethereum is not user-friendly as it needs a good knowledge of programming and familiarity with solidity.</p><p>This blog focuses on creation of ERC-20 like token on Zclassic blockchain without any technical knowledge.</p><p><strong>So let’s start …</strong></p><p>To create ZSLP token we will need:</p><ul><li><a href="https://github.com/ZSLP/electrum-zslp/releases/tag/v1.1.1">Electrum ZSLP</a> wallet</li><li>Minimum (dust) amount of ZCL in the wallet</li><li>ZCL and ZSLP address, which can be created within the wallet itself.</li></ul><p>Once we have the above prerequisites, we will go to the Tokens tab.</p><p>At the bottom of the screen, we can find the button “Create New Token” which, once pressed, will display a second window. Alternatively, it may show an error message if there are not enough funds.</p><p>In that window, we will have to enter all the data related to our token, some of which are optional and others mandatory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*03oppd3CQ9Ib7GWKvAyEVw.png" /></figure><p>It consists of the following fields:</p><ul><li>Name of the token</li><li>Ticker symbol (text)</li><li>URL of the document</li><li>The hash of the document</li><li>The number of decimals (maximum 9)</li><li>The total of the supply (there are no limits of any kind)</li><li>The address that will receive these tokens</li></ul><p>After pressing the “Create New Token” button, we will have to enter the wallet password and the new ZSLP token will be created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ng1QGWsR1fuocdpwj_GwTQ.png" /></figure><p>Now we will have our new token and thanks to the token ID we can also view it directly through the block explorer <a href="https://explorer.zslp.org/#token/aad4f100e82f2b5c842827f20b20d2ec9d62d155ca7ee75c3e4fed9f62ef0ad7">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_lN_4qxgiaMlQDPwVZdeQQ.png" /></figure><p>As can be seen, all the information related to the creation of the token is now available:</p><ul><li>The ID of the token, which identifies the respective token</li><li>The version, which is Type1</li><li>The name, Whoopass Stew</li><li>The symbol, which is WASS</li><li>The timestamp of when it was created</li><li>The numbers of decimals chosen, which in this case are 8</li><li>The URL of the document, which in this case is the wiki for the original episode of PowerPuff Girls which was named <strong>Whoopass Stew</strong></li><li>The total supply, which in this case corresponds to 78 ZSLP WASS tokens, which reflects the number of episodes</li><li>The satoshis that were used for the process, in this case is 546</li></ul><p>So, with just 546 Satoshi, we managed to create a new ZSLP token. Creating a ZSLP token is therefore extremely simple and economical.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ce0da53db05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Zclassic Simple Ledger Protocol]]></title>
            <link>https://medium.com/@prof_crypto/introducing-zclassic-simple-ledger-protocol-cbb8e1dc6572?source=rss-c4f336f32af------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbb8e1dc6572</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[token]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[slp]]></category>
            <category><![CDATA[zclassic]]></category>
            <dc:creator><![CDATA[Crypto Prof. Utonium]]></dc:creator>
            <pubDate>Sun, 05 Jan 2020 17:56:16 GMT</pubDate>
            <atom:updated>2020-01-05T17:56:16.959Z</atom:updated>
            <content:encoded><![CDATA[<h4>The next generation token management system on Zclassic</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*ojF-pS8sYum3mLNGLA35Wg.png" /></figure><p>A blockchain is a distributed ledger that is usually managed by a peer-to-peer network. In a distributed ledger, transactions are organized into blocks that are linked together into a chain. Once transactions are validated, they become irreversible, verifiable, permanent, and secure on the blockchain. Because of these characteristics, blockchain technology is well-suited for empowering financial transactions. As blockchain technology advances, it becomes capable of tokenizing and decentralizing not only money but also other scarce assets, significantly expanding its disruptive potential.</p><p>Today, tokens have a number of use cases both for individuals and organizations. Tokens can be used anywhere from rewarding your followers, to the creation of stocks, securities, registries, smart properties, utility tokens, contracts, coupons, bonds, demand deposits, local currencies, representation of physical assets, representation of individuals and much more. With so many use cases in the bag, we believe the creation and distribution of tokens should be simple, easy and available to all members of the ecosystem to reap out real use cases and innovation.</p><h4>Challenges in creating a token management system on Zclassic</h4><p>Creating a tokens management system on Zclassic faces some challenges as the underlying protocol was not intended for creating and management of tokens from the genesis. Some of the challenges faced for creation of simple yet trustless token management system are as follows :-</p><ul><li>Users should be able to validate token transactions without changes in the underlying protocol and consensus.</li><li>Using standard OP_RETURN for the token transfer and management will allow any arbitrary user to create a token-transfer transaction and have it validated without actually holding the tokens.</li><li>Metadata with the transactions is not validated by the miners, making almost no clear separation between valid and invalid data. This would create a low fault tolerant environment.</li><li>The Zclassic transactions are committed to the blockchain but second layer transactions are not.</li><li>To prove token transactions are valid, it is necessary to validate all prior transactions starting from the token genesis.</li></ul><h4>How do ZSLP transactions work?</h4><p>Zclassic Simple Ledger Protocol (ZSLP) utilizes the metadata in OP_RETURN for issuing and transfer of tokens simultaneously with standard transaction outputs. Each ZSLP transaction represents a number of token units specified by the sender. Consensus on the interpretation of the OP_RETURN outputs is achieved by token users and market participants following an ordered set of simple rules. Full validation of a transaction back to its token genesis is possible by supplementing existing transaction-retrieval infrastructure with the integration of ZSLP consensus rules.</p><p>There are 4 types of token transactions accommodated in OP_RETURN metadata of the Zclassic transactions.</p><ul><li>Genesis — Defining the token</li><li>Minting — Issuing the token</li><li>Send — allow users to transfer tokens</li><li>Checksum commitment — a supplement to the basic consensus model</li></ul><p>ZSLP specifies one or more token units with Zclassic unspent output. Since transactions in Zclassic can have multiple outputs, the OP_RETURN message must specify how many tokens are being assigned to which output.</p><p>ZSLP tokens can contain multiple inputs and outputs but you cannot send multiple types of ZSLP tokens in the same Zclassic transaction.</p><h4><strong>Token Genesis Transaction</strong></h4><p>This is the first transaction that defines the properties, metadata and initial quantity of the token. The token is uniquely identified by the token genesis transaction hash which is referred to as “<strong>token_id</strong>”.</p><p>The genesis transaction for a token includes an initial mint supply. Future token supply increases are made possible if an issuer marks a special output UTXO as a “<strong>baton</strong>” that can be passed along and used for future minting authority. If the baton is not present, then the genesis is a provable one-time issuance token</p><h4><strong>Token Minting Transaction</strong></h4><p>This is a <strong>special transaction</strong> used to increase the supply of a token if a baton was created in either the Genesis or Minting transaction. If there is no such baton output then subsequent minting transactions are not possible for the token, making it possible to prove end-of-minting capabilities for a token. These subsequent minting transactions can be performed by the owner of the baton UTXO, which does not need to be the initial token issuer. For example, the Issuer may pass the minting authority along to someone else. The MINT allows us to further pass on the baton to future mint operations or to end the baton.</p><h4><strong>Spend (Transfer) Transaction</strong></h4><p>These transactions are used to transfer tokens from one token holding UTXO(s) to the new token holding UTXO(s). The UTXOs associated with unspent tokens will be used within the transaction input and, just like the ZCL attached to these UTXOs, will be considered totally spent after this transaction is accepted by the network. Tokens will be assigned to new UTXOs within the OP_RETURN statement. Any number of additional ZCL-only outputs will be allowed. A ZCL-only output can come before token outputs. Token inputs and ZCL-only inputs may come in any order.</p><p><strong>The protocol also defines 4 consensus rules that determine the validity of a token send transaction</strong></p><p>ZCL transactions to contain a Valid ZSLP transaction, It should follow the following rules:</p><ol><li>The sum of the token “meta outputs” (token amounts specified in OP_RETURN) must not exceed the sum of the VALID (non-ignored) token “meta inputs”.</li><li>There must be one and only one OP_RETURN output.</li><li>The OP_RETURN output must conform precisely to the specification.</li><li>Transaction inputs are ignored if they represent a token_id different from the token_id specified in the OP_RETURN output. The same applies not just to token_id but also to the version.</li></ol><h4><strong>Checksum Commitment Transaction</strong></h4><p>As previously discussed, a token issuer should make a regular commitment to the hash of previous transactions made for the token. Although this is not part of the consensus rules, it demonstrates that the issuer is in agreement with those rules and allows a user to verify that the issuer is indisputably operating according to the token’s consensus ruleset. Checksum hashes should be published by the issuer well after the block so that no double-spends can occur and contradict the hash.</p><p>The hash may be computed using a <a href="https://blog.vermorel.com/pdf/merklix-tree-for-bitcoin-2018-07.pdf">merklix</a> tree of the token’s set, aggregating the token count on its branches such as each node is H(left || right || token_count). This ensures that the presence and/or absence of some token can be proven at any given point. It is also possible to audit the token in circulation.</p><h4><strong>Consensus Model of ZSLP</strong></h4><p>ZSLP utilizes a model that could be described as <strong><em>Proof-of-Work / Proof-of-Trust</em></strong>.</p><p>In a pure Proof-of-Work model, byzantine fault tolerance is achieved via economic incentives combined with incompatible-by-design sets of data. By contrast, ZSLP relies on a minimalistic set of rules overlayed onto the support of the PoW backbone.</p><p>Currently, users can make two different kinds of tokens</p><ul><li><strong>Unique tokens or Non-Fungible tokens</strong></li><li><strong>Identical tokens like ERC20</strong></li></ul><h4>Conclusion</h4><p>ZSLP is based on Simple ledger protocol implementation on the Bitcoin Cash blockchain. Tokens created through ZSLP can be used in several above-mentioned use cases, hence, we believe the creation and distribution of tokens should be simple, easy and available to all members of the ecosystem to reap out real use cases and innovation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbb8e1dc6572" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Storing Real-World Data in Zclassic Transactions]]></title>
            <link>https://medium.com/@prof_crypto/storing-real-world-data-in-zclassic-transactions-703a7f036b55?source=rss-c4f336f32af------2</link>
            <guid isPermaLink="false">https://medium.com/p/703a7f036b55</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[zclassic]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Crypto Prof. Utonium]]></dc:creator>
            <pubDate>Fri, 20 Dec 2019 11:33:12 GMT</pubDate>
            <atom:updated>2019-12-20T11:39:29.179Z</atom:updated>
            <content:encoded><![CDATA[<h4>Using OP_RETURN in Zclassic to store data following the new tech upgrade Zclassic v2.0.6–1</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7wInbYi4wzcTXs3W5TIy9w.jpeg" /></figure><p>From its genesis block and the now infamous headline that Satoshi chose to inscribe as the first permanent message in the Blockchain, Bitcoin has been utilized as a free speech platform. In addition to exchanging digital currency on a global scale, Bitcoin also provides users with the ability to publish information that cannot be censored and will be permanently available to the world. This permanent message demonstrates the possibilities of storing arbitrary data on the blockchain and also opens use cases to make it a tool for storing financial records and act more than just being a store of value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*LDfweXYoAZBjOFq9CJbZog.png" /></figure><p>It is worth mentioning that <strong>Zclassic</strong> or any other cryptocurrency doesn’t physically exist. There is no physical cryptocurrency anywhere — not on a hard-drive, or a spreadsheet, or a bank account, and not even a server somewhere. Think of the blockchain as a record of the transactions between various addresses. These transaction records are updated by the network and shared across each of its nodes as balances increase and decrease.</p><p><strong>There is actually no Bitcoin, only UTXO...</strong></p><p>One of the ways of organizing a blockchain’s ledger such that no funds are spent twice, avoiding the double-spending problem is by recording the <strong>unspent transaction output of the transactions</strong> i.e. <strong>UTXO</strong>. The UTXO model was first developed by Satoshi Nakamoto when the Bitcoin blockchain was first published. Since Bitcoin uses the UTXO model, all forks of Bitcoin use the UTXO model, too. Forks of Bitcoin forks also use UTXO.</p><p><strong><em>Zcash is a fork of Bitcoin with zero-knowledge privacy features added into the protocol and Zclassic was originally a fork of the Zcash blockchain. So, by extension, Zclassic is a Bitcoin fork and uses the UTXO model.</em></strong></p><p>There are 2 advantages of using UTXO model:</p><ul><li>Strong privacy; no account concept; each output refers to a new address.</li><li>UTXO data is independent between each other, so parallel transaction processing is supported.</li></ul><h4>How do UTXO works?</h4><p>Each and every UTXO is like a single fiat coin or a single fiat bill. If you have $55 in cash, you must have more than one bill because there’s no such thing as a fifty-five dollar bill. So while you have $55 in your wallet, you may have any number of combinations of bills — UTXO — sitting in your wallet.</p><p>In this simple example, you could have any of the following combinations of fiat bills:</p><ul><li>Fifty-five $1 bills</li><li>Eleven $5 bills</li><li>Five $10 bills and one $5 bill</li><li>Two $20 bills, One $10 bill and five $1 bills</li></ul><p>And so on. There are many more combinations of bills that add up to $55(I guess you got the idea). In each case, you have exactly $55 despite the fact that you have a different number of bills in each scenario.</p><p>The same is true of UTXO. Although you see a single balance when you log in to your <strong>crypto wallet</strong>, you may have one or many UTXO sitting in your wallet. This UTXO varies in size but when added together, the sum is equal to the total balance of your wallet.</p><p>Now let’s take our analogy one step further. When you buy an item in cash, you might not be able to provide the exact amount of money needed to pay for it. For example, let’s say you buy a cup of coffee for $3.50. You have $55 in your wallet but, chances are, you don’t have exactly $3.50 to pay for the coffee.</p><p>Instead, you’ll need to overpay with one (or several) of your bills and then receive a little bit of money in return. You might pay for the coffee with four $1 bills, in which case you would receive two quarters in return. Or you might pay for the coffee with a $20 bill, in which case you would get one $10 bill, one $5 bill, one $1 bill, and two quarters in return. You get the idea.</p><p>The same thing happens when you send cryptocurrencies. Let’s say that you have a total of 740 ZCL. Imagine that your balance is in the form of 3 UTXO: one UTXO in the amount of 320 ZCL, a second of 215 ZCL, and a third of 205 ZCL.</p><p>If you want to send a smaller quantity of ZCL to a different address, your wallet must send at least one whole UTXO to complete the transaction. Just as you can’t pay for a $5 item by tearing a $10 bill in half and handing one piece to the cashier, you cannot send half of a UTXO to complete a crypto trade. You must send the entire UTXO and then receive a change.</p><p>Let’s imagine you want to send 30 ZCL to a friend. You would have to send one of your UTXOs (320, 215 or 205 ZCL) to complete the transaction. Your friend would receive his single UTXO of 30 ZCL. You would receive a new, smaller UTXO in the amount of 290, 185 or 175 ZCL, depending on which UTXO was sent.</p><p>What happens if you want to send your friend 350 ZCL coins? Essentially the same thing would take place, except this time you would need to send two full UTXO in order to complete the transaction. Your friend would still receive his 350 ZCL and you would receive a new UTXO in return (70, 175 or 185 ZCL coins, depending on which two UTXO were sent to execute the payment).</p><p>Even though the above example explains the functioning of the record management on the blockchain, this doesn’t give the exact picture as you would need a transaction fee to complete the payment.</p><pre><strong><em>New UTXO = (sum of original UTXO) — (sum of the currency sent to a different address) — (transaction fees for that particular blockchain)</em></strong></pre><h4>How data is stored in UTXO records?</h4><p>Bitcoin stack-based scripting language which is responsible for creating transactions is simply called <strong>script</strong>. Each bitcoin transaction contains the input script and output script. The input scripts are solutions (unlocking scripts) to previous output scripts (locking scripts) in prior transactions stored in the Blockchain.</p><p>There are currently 5 standard script types that are used and accepted on the Bitcoin network for transactions. The standard script types include</p><ul><li>Pay-to-Public-Key (P2PK)</li><li>Pay-to-Public-Key-Hash (P2PKH)</li><li>Multi-Signature</li><li>Pay-to-script hash (P2SH)</li><li>OP_RETURN</li></ul><p>While all the different types of script serve different important purposes, OP_RETURN is majorly used for storing arbitrary data into the blockchain.</p><h4>How OP_RETURN helps in feeding arbitrary data to blockchain?</h4><figure><a href="https://www.blockchain.com/btc/tx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RoQgyVZBP6J7FsjRoaJL9w.png" /></a><figcaption>The original satoshi’s Bitcoin genesis block transaction input with embedded data. When decoded, it reads “The Times 03/Jan/2009 Chancellor on brink of second bailout for banks”</figcaption></figure><p>OP_RETURN is a type of Bitcoin transaction that is used for embedding data into the blockchain. The internal functioning of OP_RETURN is similar to the bitcoin transaction, instead, the transaction is made <strong>provably unspendable</strong> forever to keep them in the record.</p><p>Validation scripts can choose from a diverse palette of predefined functions. Due to security concerns, only a handful of functions are permitted in standard transactions. Because miners only relay standard transactions, many of the most useful script functions remained off-limits. When a transaction containing a challenging script with an OP_RETURN function is mined into a block, the accompanying byte sequence enters the blockchain.</p><p>Previously in Zclassic, OP_RETURN outputs with a payload were only relayed and mined if they had a single pushdata.</p><p>With the latest release of <strong>Zclassic v2.0.6–1</strong>, this restriction has been lifted to allow any combination of data pushes and numeric constant opcodes (OP_1 to OP_16) after the OP_RETURN. The limit on OP_RETURN output size is now applied to the entire serialized scriptPubKey, 223 bytes by default. (the new 220 bytes default plus three bytes overhead ). If you haven’t updated to the new node yet, Follow the tweet for instructions:</p><figure><a href="https://twitter.com/prof_crypto/status/1207323154353229825"><img alt="" src="https://cdn-images-1.medium.com/max/586/1*xxHqOAbfIUJggWC-7WrhfQ.png" /></a></figure><figure><a href="https://twitter.com/prof_crypto/status/1207323160103673856"><img alt="" src="https://cdn-images-1.medium.com/max/586/1*b3qpReEHyPvzktYoiUbSYg.png" /></a></figure><p>Although stored in the blockchain, OP_RETURN bytes are excluded from the UTXO set, conserving a scarce resource. As a side effect, an output using an OP_RETURN challenge script becomes unspendable. For this reason, the value of an OP_RETURN output is usually set to 0.</p><p><strong>Conclusion</strong>:</p><p>OP_RETURN can be used to store arbitrary data in the blockchain by creating a provably unspendable transaction in the blockchain. <strong>OP_RETURN opens use cases to POW blockchains like Zclassic, a tool for storing financial records and act more than just being a store of value.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=703a7f036b55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analysing Capital Flow In Privacy Coins Using Linear Correlation]]></title>
            <link>https://medium.com/thecapital/analysing-capital-flow-in-privacy-coins-using-linear-correlation-ab1410efadcc?source=rss-c4f336f32af------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab1410efadcc</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Crypto Prof. Utonium]]></dc:creator>
            <pubDate>Fri, 23 Aug 2019 18:01:12 GMT</pubDate>
            <atom:updated>2019-08-28T06:09:31.721Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*08cnOYY4FR5sHh_MIN0jRQ.png" /></figure><h3>Analyzing Capital Flow In Privacy Coins Using linear Correlation</h3><h4>By <a href="https://medium.com/u/c4f336f32af">Crypto Prof. Utonium</a> on ALTCOIN MAGAZINE</h4><p>It is already a known fact that crypto-assets are correlated. Correlation is a technique for investigating the relationship between two quantitative, continuous variables(in our case prices of assets). Given two variables or more variables of interest, we can measure the degree and direction of their linear association using correlation analysis. Some practical applications include</p><ul><li>Assessing the relationship between inflation, money supply, and asset returns.</li><li>Determining the impact of including different asset classes in our portfolio on return and risk</li><li>Analyzing correlations between exchange rates</li><li>Analyzing investors behavior and capital flow during dead or volatile markets</li></ul><p>Pearson’s correlation coefficient (r) is a <strong>measure of the strength of the association</strong> between the two variables. The values of <strong>r </strong>range between -1 and +1. The result can be interpreted as follow:</p><ul><li><strong>0.5 to 1</strong>: Strong positive relationship</li><li><strong>0.3 to 0.5</strong>: Moderate positive relationship</li><li><strong>0.1 to 0.3</strong>: Weak positive relationship</li><li><strong>-0.1 to 0.1</strong>: No linear relationship</li><li><strong>-0.1 to -0.3</strong>: Weak negative relationship</li><li><strong>-0.3 to -0.5</strong>: Moderate negative relationship</li><li><strong>-0.5 to -1.0</strong>: Strong negative relationship</li></ul><p>In this blog, I have tried to analyze the linear relationship between privacy coins and Bitcoin. This might not be the most accurate way to measure the relationships as this model suffers some <a href="https://education.howthemarketworks.com/glossary/correlation-analysis/">limitations</a> and should not be used as financial advice.</p><p>For the correlation analysis along with the privacy coins, we have included Bitcoin as the underlying asset because:</p><ul><li>Due to the current state of crypto exchanges, most of the cryptoassets are pegged to Bitcoin or any pairs which are derivatives of Bitcoin.</li><li>Bitcoin current market dominance is 67.5%(at the time of writing)</li><li>The 24h volume is dominated by Bitcoin with $19 billion daily volume.</li><li>Bitcoin is the most widely accepted cryptoasset and in most of the cases favorable pair for trading with fiat in any kind of market. So most of the movement of the money is dependent on Bitcoin. The approximate idea of this hypothesis can be taken by the image below.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Np5KAyaLgBmoyElweoIxsg.png" /><figcaption>Money flow in the past 24 hours(14th august 2019)- source- <a href="https://coinlib.io/global-crypto-charts">Coinlib</a></figcaption></figure><h3>The Model</h3><p>The crypto market is very volatile. At any time the market can move quickly and considering the longer timeframes might miss some minute details. For analyzing the linear correlations on sharp moves of the market and get more clearer observations we have divided our sample set in 8 different timeframes with both high and low volatile price movements.</p><p>Other than Bitcoin, we have chosen the 12 different privacy coins. The criterion for choosing the assets was quite simple:</p><ul><li>Zcash, Monero, Dash, and Verge are projects with marketcap in top 100.</li><li>Zclassic and BTCP are the projects driven by the community and were of the top movers in the last bull market.</li><li>Beam and Grin are the new entry in the market, launched in 2019 based on mimblewimble protocol. Both the coins quickly became community favorite is now in the top 100.</li><li>Zcoin, Onion, and PIVX are the coins which have seen strong community interest in the past.</li></ul><p>The samples are divided into 8 different timeframes with 28 days each. The time frames were carefully divided to capture sharp market moves. It was observed that measuring correlations in smaller time frames might give valuable insights. The data used in the model was taken from <a href="https://coinmetrics.io/">Coinmetrics</a> and <a href="https://coinmarketcap.com/">Coinmarketcap</a>. I have made the correlation matrix of all the different timeframes to get a clearer understanding and relationship between all the assets.</p><h3>Correlation Between 1st January 2019- 28th January 2019</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6FFa02pIDTiRuBd2ptlKIA.png" /><figcaption>Linear correlation in privacy assets Q1(T1)</figcaption></figure><h4><strong>The Price Movement of Bitcoin in the Selected Date Range</strong></h4><p>The year started with Bitcoin closing at $3843 and then quickly rose to $4000 within a week, and then fell back to $3400 area within our first timeframe. This gives around -18% change in the market from the highest price in the timeframe. During this period all the assets have shown a strong correlation with the Bitcoin. Dash, Monero, Zcash, Zcl and PIVX have shown the strongest relationship in the time frame and their price fluctuations were coupling with bitcoin price fluctuations with an almost same or minor difference. The coins XVG, BTCP, NAV, and onion have shown on the stronger side as shown the matrix above and more or less followed the same price movement cycle with little difference.</p><p>Among all the privacy coins, NAV gave the weakest relationship will all the other privacy coins in the market, with r value in the moderate correlation range, except for Zcoin. Strongest correlation among privacy coins was of Dash, Monero, Zcash, and Zclassic with the value nearly approaching towards 1.</p><p>The coins with the same parent protocols show a strong correlation with each other as evident from the relationship between Zcash, Zclassic, and BTCP.</p><p>In this timeframe, we have not included Beam and Grin as they were launched much later. Although it is too early to find the correlation of Grin and Beam, I think the analysis might help in understanding the whales and crypto investors buying pattern. In this period highly related privacy coins have given better ROI than Bitcoin.</p><p>The chart below shows the linear correlation relationships amongst the assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*pwj_y-tqUbuAJ_M5ARan-w.png" /></figure><h4>Correlation from 29th January 2019- 25th Feb 2019</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jdnfN0BiM3GpQ1HLS1VJnw.png" /><figcaption>Correlation in Privacy coins Q1(T2) 2019</figcaption></figure><p>In this period Bitcoin price touched its yearly low so far of $3399 and then touched $4000 again within the span of 2 weeks. This volatility is nothing considering the cryptocurrency market. But again this was the time when the cryptocurrency market was officially in a bear market, and investors were accumulating Bitcoin and other assets. This period can give us insights into the purchasing patterns of the investors during an accumulation period.</p><p>During this period, Grin and Beam have shown the highest negative correlation with all the other assets. While the bitcoin value changed 21%, Grin fell down to $3.84 to $8.84 and showed -42% difference.</p><p>Again the fork coins Beam and Grin showed strong positive correlation and followed similar price fluctuations. The relation between Zcash and Zclassic still maintained a positive correlation. Zclassic and BTCP can be seen holding moderate relationships with each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*6bl5uEqbMMhR4XxKRlOH8Q.png" /></figure><h4>Correlation from 26th February 2019- 25th March 2019</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bGFCxc1S2ASNBl5Lp6woyg.png" /><figcaption>Linear correlation in privacy coins Q1(T3)</figcaption></figure><p>In this period, the Bitcoin price was mostly stable or very low on volatility. The prices were swinging between $3800-$4000. Majority of the old privacy coins including DASH, MONERO, ZCLASSIC, ZCASH, XVG, and others are still showing really positive movement to the Bitcoin. BTCP, on the other hand, showed a strong negative correlation with the movement. Beam started to show moderate to no correlation in this period. Grin maintained the negative relationship with Bitcoin.</p><p>The hypothesis of the fork coins showing similar correlation failed in the comparatively low volatile market. While Zcash and Zclassic still showed a positive correlation, BTCP showed a negative correlation with all the coins and its forks. Grin and Beam also showed moderately negative to no linear correlation in the low volatile market.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*LnULDuZL0frSzv0g_bfo5w.png" /></figure><h4>From 26th March 2019–22 April 2019 and 23rd April 2019 to 20th May 2019</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NnoJihqb7wg2702soHQpVg.png" /><figcaption>Linear correlation Q2(T1)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*byankMJ1upoXnRSqfty6mA.png" /><figcaption>Linear correlation Q2(T2)</figcaption></figure><p>This period was quite interesting as the price of Bitcoin price Started rising from the yearly low and quickly made to $5000 range within 10 days. In this interval, we had observed a price movement from $3900 to $5400 or 40% move in less than a month. In this period the coins like Dash, Zcash, Monero, and XVG, all the high market cap showed a strong positive correlation. But the lower market cap coins Showed moderate to no linear correlation. Beam, on the other hand, showed a high negative correlation with Bitcoin and fluctuated in a smaller price range.</p><p>The other range was included in the same section as more or less all the analysis were the same. During 23rd April 2019 to 20th May 2019 period Bitcoin price fluctuated 60% from $5210 to $8200.</p><p>All the fork coin pairs showed strong positive correlation in the volatile market. The charts below show evidently similar correlation in the high market coins. Grin and Beam maintained their high negative correlation with bitcoin and Other assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*M3oAXgRiwQqrL8hCOB4N6A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*u8Te3Dg5PDB7SO1S5zgs9w.png" /></figure><h4>Correlation from 21st May 2019- 17th June 2019</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*thaAFMjLrFSjsjExoblQMQ.png" /></figure><p>During this time period, the market was comparatively low volatile and have shown around a 15% change in the price. Monero, Zcash, Beam, Grin, and dash showed the strongest relationship. Verge and Zcl, on the other hand, shows low to an almost low relationship with Bitcoin.</p><p>In the fork family, Zk-snark forks showed the least relationship. while Beam and Grin showed almost perfect linear dependencies. In privacy coins, low market cap coins show a weak relationship with the other privacy coins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*KJFd64AD2x24RwYe_lK9rA.png" /></figure><h3>From 18th June to 15th July</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6O6pOjMaBNZn_74LnS_PHg.png" /></figure><p>In this period Bitcoin broke $10000 for the first time since the drop and quickly rose to $13000 mark in no time. In the drastic movement, we can see the high market cap coins shows nearly no linear correlation with Bitcoins but maintains a strong positive relationship with other privacy coins. Other low market cap coins show a moderately negative correlation with the Bitcoin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*tebzoP6z_6P6THFRHjd_Qg.png" /></figure><h4>Phase 8: July 16th, 2019- Aug 12th, 2019(28 days)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hqoMCjhUiom9i_b_tZf40g.png" /></figure><p>During this period the market was very volatile. The prices fluctuated between $9500- $11500. In this period only Monero and Beam showed a positive relationship with Bitcoin. Rest all the other coins showed moderate to low negative relationship.</p><p>All the other coins except Monero showed a positive relationship with each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*ZUetbAKkHIoBR_UEIpucYw.png" /></figure><h3>Conclusion</h3><p>We have analyzed different timeframe in a various range of volatility and have concluded</p><ul><li>High Market cap coins show a strong positive relationship with Bitcoin both in bear and bull market.</li><li>Low market cap coins show a strong relationship with Bitcoin in a comparatively stable market but fail to show a relationship in a highly volatile market.</li><li>In the majority of the cases, coins from the fork family are positively correlated.</li><li>Bitcoin (BTC) exhibited a high positive correlation with privacy coins in Q1 2019 but was significantly reduced when BTC started a rally.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vkr6_V3sH1eUkuu-ZhB01Q.png" /></figure><p><a href="https://twitter.com/Alt__Magazine">Altcoin Magazine</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F3c1144%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F3c1144%2F&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/4b37fd61c8660dc2cbfe8232dfa683e2/href">https://medium.com/media/4b37fd61c8660dc2cbfe8232dfa683e2/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab1410efadcc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thecapital/analysing-capital-flow-in-privacy-coins-using-linear-correlation-ab1410efadcc">Analysing Capital Flow In Privacy Coins Using Linear Correlation</a> was originally published in <a href="https://medium.com/thecapital">The Capital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Testing Deep Reorg Protection in Zclassic]]></title>
            <link>https://medium.com/@prof_crypto/testing-deep-reorg-protection-in-zclassic-ac95c5368bfa?source=rss-c4f336f32af------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac95c5368bfa</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[51-attacks]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Crypto Prof. Utonium]]></dc:creator>
            <pubDate>Wed, 07 Aug 2019 12:44:28 GMT</pubDate>
            <atom:updated>2019-08-07T13:03:52.423Z</atom:updated>
            <content:encoded><![CDATA[<p>In the previous blog, we have discussed briefly the theoretical implementation of deep reorg protection in Zclassic. In this blog post, I’ll outline the steps to setup Zclassic full node with deep reorg protection enabled. I have also included checks to ensure deep reorg protection is in operation.</p><h4><strong>Setting up a full node</strong></h4><ul><li>To run your own Zclassic full node and test out the new update, you can get the source at <a href="https://github.com/cryptoprofutonium/zclassic-1/">https://github.com/cryptoprofutonium/zclassic-1/</a></li><li>If you are already running a Zclassic full node, you can pull the changes from the master branch of this repo. Here are the setup instructions for <strong>Ubuntu 18.04.</strong></li></ul><ol><li><strong>Get the dependencies</strong></li></ol><pre>~$ sudo apt-get install \<br>build-essential pkg-config libc6-dev m4 g++-multilib \<br>autoconf libtool ncurses-dev unzip git python python-zmq \<br>zlib1g-dev wget curl bsdmainutils automake</pre><pre># Clone the repo<br>git clone <a href="https://github.com/cryptoprofutonium/zclassic-1.git">https://github.com/cryptoprofutonium/zclassic-1.git</a> \<br>zclassic</pre><p>2. <strong>Build steps</strong></p><pre># Change directory<br>~$ cd zclassic<br># Build<br>~/zclassic$ ./zcutil/build.sh -j$(nproc)<br># fetch key<br>~/zclassic$ ./zcutil/fetch-params.sh</pre><p>3. <strong>Before running the Zclassic daemon, create a configuration file</strong></p><pre># Create the data directory<br>~/zclassic$ mkdir -p ~/.zclassic<br># Create the configuration file<br>~/zclassic$ touch ~/.zclassic/zclassic.conf</pre><p>4. <strong>Copy the data given below to your configuration file</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/731d263319d9bd1b68e8b7d54bf1532e/href">https://medium.com/media/731d263319d9bd1b68e8b7d54bf1532e/href</a></iframe><p>5. <strong>Now, Start your Zclassic daemon using the command below</strong></p><pre>~/zclassic$ ./src/zclassicd</pre><h4><strong>Testing Deep Reorg Protection</strong></h4><p>The Block finalization starts 30 mins after the node startup. After 30 mins have elapsed, the block which satisfies the following conditions will be finalized</p><ul><li>The block should have a depth of 10</li><li>At the time of finalization, the block should be known to the node for at least 30 mins</li></ul><p><strong><em>After the block is finalized, the node will reject any blocks which will cause reorg beyond the finalized block</em></strong></p><p>With the active growth of the chain, the finalized block will be updated accordingly.</p><blockquote>T<em>he finalized block information is tracked internally in the node and this is not transmitted over P2P.Therefore, there is no change in the consensus protocol.</em></blockquote><p><strong>Validating Deep Reorg Protection</strong></p><ol><li>The RPC call <strong><em>getfinalizedblockhash</em></strong> should not return anything in the first 30 mins of the node startup.</li></ol><pre>~/zclassic$ ./src/zclassic-cli getfinalizedblockhash<br>~/zclassic$ </pre><p>2. After 30 mins,</p><ul><li>call <strong><em>getfinalizedblockhash</em></strong>.</li><li>Check the height of the finalized block. The difference between the height of the block at the tip of an active chain and the height of the finalized block should always be greater than or equal to 10.</li></ul><pre>~/zclassic$ ./src/zclassic-cli getbestblockhash<br><strong>000000008ba774e688e494443711f43f9b9a0018fa7d1649b3e87d88e39a48d0</strong></pre><pre>~/zclassic$ ./src/zclassic-cli getblockheader \<br>000000008ba774e688e494443711f43f9b9a0018fa7d1649b3e87d88e39a48d0 \<br>| grep height<br><strong>  &quot;height&quot;: 569258,</strong></pre><pre>~/zclassic$ ./src/zclassic-cli getfinalizedblockhash<br><strong>000000007d00f76448c54e81e491ab938c89c6ac07ebebb9a2cc58727035b834</strong></pre><pre>~/zclassic$ ./src/zclassic-cli getblockheader \<br>000000007d00f76448c54e81e491ab938c89c6ac07ebebb9a2cc58727035b834 \<br>| grep height<br><strong>  &quot;height&quot;: 569237,</strong></pre><p>3. Check if the finalized block is getting updated after some time (say 5 mins).</p><pre>~/zclassic$ ./src/zclassic-cli getfinalizedblockhash<br><strong>000000002cb23d914087171a13e8286d7caf5a83418d7228a56e01533b75bcf0</strong></pre><pre>~/zclassic$ ./src/zclassic-cli getblockheader \<br>000000002cb23d914087171a13e8286d7caf5a83418d7228a56e01533b75bcf0 \<br>| grep height<br><strong>  &quot;height&quot;: 569238,</strong></pre><p>4. Check the debug logs</p><ul><li>Check if the blocks in the alternate chains whose fork point is after the finalized block are getting parked.</li><li>If the parked chain accumulates more PoW than the active chain, It should be unparked.</li><li>In the logs below, you can see that block <strong><em>00000000d5b980bbf26563dcdcf35d9ca73a5d731f26bbbf85f36b46e0b173f1</em></strong><em> </em>causes a deep reorg, therefore it is parked. And once that alternative chain accumulates enough PoW, chain gets unparked.</li><li>In this case, once block <strong><em>00000000ab6fb333bc75b663145297c84db471058faf267d62830b4e1038a0c7</em></strong> is received, the alternate chain gets unparked and made the active chain.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c8487ff3a92b485100716bc398f3cb77/href">https://medium.com/media/c8487ff3a92b485100716bc398f3cb77/href</a></iframe><p>After updating on the main net. This release will help Zclassic in</p><ul><li>Protection against 51% attack</li><li>Finalizing transactions in ~10 confirmations i.e faster transfer’s on exchanges</li></ul><p>This solution is open for review from the community. Let’s start the discussion <a href="https://github.com/ZclassicCommunity/zclassic/pull/25">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac95c5368bfa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ZClassic Update: Deep Reorg Protection]]></title>
            <link>https://medium.com/@prof_crypto/zclassic-update-deep-reorg-protection-aa7d88696d43?source=rss-c4f336f32af------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa7d88696d43</guid>
            <category><![CDATA[51-attacks]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[zclassic]]></category>
            <dc:creator><![CDATA[Crypto Prof. Utonium]]></dc:creator>
            <pubDate>Mon, 05 Aug 2019 00:30:41 GMT</pubDate>
            <atom:updated>2019-08-05T12:21:58.084Z</atom:updated>
            <content:encoded><![CDATA[<p>The Crypto PowerPuff team is happy to announce our first release for the community. This release will help strengthen Zclassic blockchain in the following ways:</p><ul><li>Protect against Deep reorg in blockchain</li><li>Finalize transactions in ~10 confirmations i.e faster transfer’s on exchanges</li></ul><p>The blog below explains the detailed implementation of the concept. Our team has already submitted the update and would love community feedback on our work. We have adopted the solution from the BCH ABC team.</p><p>ZCL Update: Deep Reorg Protection</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*txlUZ9KiyRlRylNq" /></figure><p>The above image shows the process of adding a Block in the proof of the work-based blockchain system. The entire decentralized network of the blockchain is maintained by Nodes. Nodes are programs which help in maintaining the connection across the network. Due to the immutable nature of the blockchain, the information included in the blockchain should be verified in order to maintain the ledger. The Node programs check these conditions so that only the right information is included in the network and false information is eliminated. Each Node software has the same consensus rules set from the genesis block of the chain and some policy rules. Consensus rule cannot be changed without an hard fork. Nodes can have different policy rules and can be changed without a fork.</p><p>A node completes series of the check based on the policy rules set by the developer in order to protect the blockchain from the potential harm. Some of the checks a node perform are</p><ul><li>Check the syntactic correctness of the transaction. Make sure neither in or out lists are empty</li><li>Size in bytes &lt; MAX_BLOCK_SIZE. The size should not be bigger than the block size</li><li>Each output value, as well as the total, must be in the legal money range.</li><li>Check inputs have hash=0, n=-1 (coinbase transactions)</li><li>Reject “nonstandard” transactions</li><li>Reject matching tx in the pool, or in a block in the main branch</li><li>For each input, if the referenced output exists in any other tx in the pool, reject this transaction.</li><li>For each input, look in the main branch and the transaction pool to find the referenced output transaction. If the output transaction is missing for any input, this will be an orphan transaction. Add to the orphan transactions, if a matching transaction is not in there already.</li><li>Reject if the sum of input values &lt; sum of output values</li><li>Reject if transaction fee (defined as the sum of input values minus sum of output values) would be too low to get into an empty block</li><li>Add to the transaction pool</li><li>Relay transaction to peers</li></ul><p>Our update brings additions to the node policies. With the new release, all the nodes will have to manually shift to the new client. The new policies included in the node are</p><p><strong>Auto Finalize Block</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZAm_-R7DVls9Wb62" /></figure><p>Auto finalizes the Block once they reach a depth of 10. This is done by implementing rolling checkpoints. Finalized blocks cannot be reorged, which protects the network against deep reorgs. The block will be finalized only once it fulfills 2 condition-</p><ul><li>The block to be finalized is at depth 10 from the tip</li><li>The block to be finalized is known to the node for at least 30 mins</li></ul><p>The finalization information is lost once the node is restarted.</p><h4><strong>Added Finalization delay</strong></h4><ul><li>Finalization delay is the minimum amount of time to wait between block header reception and the block finalization. This is added to check that the block to finalize is known for a long enough time. This will ensure that an attacker could not cause a block to finalize by forking the chain.</li><li>The first auto-finalization will only start happening after finalization delay has expired since the node startup time.</li></ul><p><strong>Introduced 2x POW penalty and Parked Chain</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lyR61qtDRXT4B4_ic_wpkQ.jpeg" /></figure><p>Introduce a penalty to alternative chains based on the depth of the fork. This makes it harder for an attacker to do reorg before the next block finalization. The node implicitly parks the block if it causes deep reorg. If a block arrives that would trigger a reorg of 1 or more blocks, that block gets “parked”. Parking a block means that it is not considered as a candidate for the chain tip, but it is also not invalid, so peers don’t get banned for sending you parked blocks or blocks which build on parked blocks.</p><p>When a block arrives that builds upon a parked block, the total PoW for that chain is checked. If the parked chain’s added PoW exceeds a certain threshold, that parked chain is unparked and it becomes the new chain tip. The threshold depends on the reorg depth:</p><ul><li>The chain tip’s added PoW for the depth of 1 block</li><li>The chain tip’s added PoW plus 0.5 blocks for the depth of 2 blocks</li><li>The chain tip’s added PoW plus 1.0 blocks for the depth of 3 blocks</li><li>2x as much added PoW as the chain time for depth of 4 or more</li></ul><p>The <a href="https://github.com/ZclassicCommunity/zclassic/pull/25">Pull Request </a>is submitted for community review. I would love to discuss your review/feedback on <a href="https://twitter.com/prof_crypto">Twitter</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa7d88696d43" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>