<?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 Lin Peter on Medium]]></title>
        <description><![CDATA[Stories by Lin Peter on Medium]]></description>
        <link>https://medium.com/@robogladiator?source=rss-d445b89ae45c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cls8rBmVoXYgHRfYKjk6uQ.jpeg</url>
            <title>Stories by Lin Peter on Medium</title>
            <link>https://medium.com/@robogladiator?source=rss-d445b89ae45c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 14:49:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@robogladiator/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[NEO Quality Assurance]]></title>
            <link>https://medium.com/neo-smart-economy/neo-quality-assurance-87bd7f55d56?source=rss-d445b89ae45c------2</link>
            <guid isPermaLink="false">https://medium.com/p/87bd7f55d56</guid>
            <category><![CDATA[neo]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Lin Peter]]></dc:creator>
            <pubDate>Tue, 05 Mar 2019 13:32:53 GMT</pubDate>
            <atom:updated>2019-03-05T13:32:53.334Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RucsulbEERZn9pCeoRkqYA.png" /></figure><p>My presentation in NEO Devcon 2.0 Contineo is about Quality Assurance of NEO.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dWB0TR7DC0xpGByHZbF1Cw.png" /></figure><p>I’ll introduce what we’ve done to improve NEO quality from 3 aspects: protocol, network, community.</p><h3>Protocol</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9YtsI2espGGYmJP_RVpdKA.png" /></figure><p>So how to improve the quality of NEO’s protocol? Let’s do a brainstorm first. What do you have in mind right now?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H9O9_VedfXAFB_skPE2qng.png" /></figure><p>For me, I remember that once there was a very famous chemist, he said, “If you want to have a good idea, you need to have a lot of ideas”. It enlightens me a lot. I think, If you want to have a lot of ideas, you need to have a lot of smart souls. That’s why we released “How to Become A NEO Core Developer” in github last year. It shows people how to become NEO’s core developer. Erik even designed a tool by himself to calculate the incentives for core developers of NEO. It’s the first automatic incentives distribution tool that I have ever seen in crypto world. Especially, it’s written by co-founder of NEO, which I think can give community developers a great deal of encouragement to join the development of NEO’s protocol.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w1C8l9ex60Z8lx-BS8fZYA.png" /></figure><p>We have developers now and what is the next important thing? I think it’s security. No matter how many developers we have, security will always be the first thing we need to think about to build a software. That’s why we have this Bounty Program. After we released NEO Vulnerability Bounty Program, we’ve got at least 10 critical security reports from community. I really appreciate these reporters, they’re guardians of NEO ecosystem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AN7BE0HwrWs8xC8muVz7OA.png" /></figure><p>When we have enough developers, the next thing we need to think about is how to make them work together. It’s project management. When we push it forward, we found that there’re still 2 things missing. They’re version control and branching strategy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PWIeUwUSWxcNJteijSpTMQ.png" /></figure><p>One thing is version control and the other is about branching strategy. This is not a very hard topic, for the version control, there is a good material that we can refer to. It’s semantic versioning specification authored by Tom preston-Werner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*un6_R2xm8OqK9_ArdsPeHA.png" /></figure><p>The second thing is about branching strategy. We have a very good material to refer to. Successful Git branching model written by Vincent Driessenn. I have used this model for years. It’s easy and convenient. Honestly, these 2 things I mentioned were discussed before, however, developers haven’t reach consensus yet. We need to get it done ASAP or developers still can’t work together easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MlmzHdLcFRCtvMwYUPCOCg.png" /></figure><p>After we have a good way to let developers work together. The next thing is setting our goal. So what’s our goal? Firstly, We need to define what our product is. Then we need to know how many functions it should have and what makes it a qualified product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vDyGtoJ6_s3AycTJi2PexQ.png" /></figure><p>Currently Neo-cli is the most important product. It depends on these 3 projects, one of them is neo protocol, another one is neo-vm, the virtual machine of NEO, the other one is neo-plugins. These 3 parts makes neo-cli the most important project to guarantee the quality of neo protocol.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xSMxA6BFWMIPJAK4z43aJw.png" /></figure><p>The main 2 functions are wallet and node. Wallet function makes it a sharp tool to help exchange deal with deposit and withdraw everyday. Node function makes it a basic infrastructure for us to build NEO network, which is the foundation of NEO smart economy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DasOrOWXE30jWWE0hSODxA.png" /></figure><p>How to find out the performance of neo-cli if it’s good enough to fulfill its goals? We need testings. In general, these 3 kinds of testings will be enough. They’re system tests, integration tests and unit tests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R4_TgyIumTjh4JI8t9uRVg.png" /></figure><p>We need to design a process to perform these tests systematically. Let me introduce the standard 29119. This Software Testing standard is an internationally agreed set of standards for software testing that can be used within any software development life cycle and by any organization. This is the basic structure of it. It has 3 parts, organization test process, test management process and dynamic test process. NGD is using this standard to organize our testings recently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iuKrIUMEGRJNZBInRtYB8A.png" /></figure><p>This is more detailed structure. I’ll give you 2 examples to explain test management process and dynamic test process for a little bit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J5OrKgIYyZohwdhGhubp7w.png" /></figure><p>This is the test Planning Processes. For example, the improved consensus algorithm will be released soon. So the most urgent thing for us is to test PR#547 immediately. This process shows how we draw up the test plan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uKPK8j6mRW05r8w0kGK43g.png" /></figure><p>This is dynamic test Processes. For example, Jeff Solinsky, one of our core developers, made a PR#579. It’s something different but helpful to the improved consensus algorithm. So we need to add this PR to our testing plans. We need to design a new test and prepare a new test environment for it. Then our developer can test it. If anything goes wrong, we also need to check the test incident reporting and find the issues. If no issues found, then it’s done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m7r5gBSv7O3e57XGdg307g.png" /></figure><p>These are 2 little examples that I want to show you how this standard works. Here is something bigger. We have unit tests in neo project now, however, we don’t have system testings for neo-cli yet which is the key of network’s stability. That’s why we designed a system tesing framework for neo-cli 3 months ago. For security reason, we haven’t made it open source yet. Currently we’re using it to test neo-cli.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bEDwPaOdjfF_6ykV1jyvDw.png" /></figure><p>The standard that I mentioned is more from theory level. We also need to think from the perspective of engineering practice. Here is CI/CD process. I think a lot of developers have already been familiar with it. We’ve received some advice about CI/CD from community. Some of them are quite perfect. I believe that if we implement these CI/CD plans can really improve the quality of neo-cli. Nevertheless, we don’t want to make things complicated at first, so we begin with simple things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Twu0zf9auNx6W7o09blGw.png" /></figure><p>Travis CI and github. I think you have already known about it. What we’re doing is to integrate our system testing framework with travis and make system testing automatic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PqDNdiAZpQRJWtQM-dsHkA.png" /></figure><p>I think this integration will improve the quality of neo-cli a lot.</p><h3>Network</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6M-juiLfR9WYh_FedzjKew.png" /></figure><p>The second part of NEO Quality Assurance is Network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bx2ZqG-69EC-HOijnsVeeg.png" /></figure><p>People sometimes are confused about NEO’s decentralization process. So we released this instruction last year. The latest version of this instruction is 1.5. We add the network upgrading process to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wgwLXJ7IsVGS9PZwoii6HQ.png" /></figure><p>NEO’s consensus algorithm is dBFT and it provides a 𝑓 = ⌊ (𝑛−1) / 3 ⌋ fault tolerance to a consensus system that comprises n nodes. For now, NEO has 7 consensus nodes, the fault tolerance is 2. If these 2 nodes break down, it will not stop NEO.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BTcxLmObfBzdmSj4k3AT4w.png" /></figure><p>There is something new happens. NF voted for Swisscom in the end of August in testnet last year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_snX7tjuf3ANCvriVvyvMA.png" /></figure><p>According to the instruction of decentralization, after 6 month maintaining of consensus node, NF will make assessments and decide if they’ll vote for Swisscom. So the earliest time that Swisscom can become one of CN in mainnet will be March 4th. At that time, the number of consensus nodes that run by nonNF organization will larger than 2, which means NF cannot recover the network by himself. It’s a big challenge for NEO network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L89qy53as6m0rwkSgJQi_A.png" /></figure><p>So we’ve made some preparations for this. This is monitoring system for CN. This tool can help us know details of the consensus process of these 7 nodes. And, of course, if network goes down it can help us find which node is the broken one faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hE1gAJms_0HKuKP9AgwaUg.png" /></figure><p>This is a simple demonstration of this monitoring system architecture. It’s easy to understand and easy to use. All our CN maintainer have already used it and it turns out quite good.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J9rUsOSyP78i1gA_K7tfpA.png" /></figure><p>We have a monitor system for CN. Then we also need a monitor system for our whole network. We have drafted a monitor reference to list all data we think is important to neo network quality. Two development team implement the monitor tool refer to this instruction. If you have used them, you’ll find out that they’re quite important for you to check out the network status.</p><h3>Community</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QWPo_s-pBSLNSW7kMzJc3A.png" /></figure><p>The third part of NEO Quality Assurance is Community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kK7TKkY0fqa_S4e8KajIvA.png" /></figure><p>We’ll use this feedback loop to improve the quality of basic infrastructure of NEO ecosystem. As you all know about our community, they have developed a lot of basic tools for NEO ecosystem, which is fantastic. But not all basic tools can work well. That’s why NGD will use this feedback loop to guarantee and improve the quality of our basic infrastructure of NEO ecosystem. As our plan, a basic tool developed by the community will be tested by NGD first and we will put it to our website. When we hold hackathons we will recommend developers to use these tools. If this tool is qualified, we will try to make a second round of testing and guarantee that it’s in our website. If this basic tool is not working well, we will just delete it from website, so this feedback loop guarantees the quality of basic infrastructures of NEO.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oscZZXsu8RFkOYA_OcY_7g.png" /></figure><p>As you already know, we held some hackathons last year. We have a lot of feedbacks. One of them is Documentation is not enough. We give a solution to this, it’s NEO tutorial. We are recruiting tutors for this project. If you are interested in this project, just send emails to us(liurendong@neo.org).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RLL2asdACWZnzv1arjIHeQ.png" /></figure><p>If you become tutors of this project, you can</p><p>1. Drawing up smart contract examples and tutorials with NGD</p><p>2. Teaching class in colleage</p><p>3. Holding workshop in community</p><p>Please send application emails to us so we can make contact with you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*olOW0eMz7AnUb9ZfwoBtVQ.png" /></figure><p>Afer saying all these 3 parts, let’s go back to where we start it. So what’s NEO? From my perspective, NEO is a distributed Turing Complete network for the smart economy. All this protocol and network and community things that I mentioned are quite complicated. A lot of stuff that you need to remember and to deal with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jbnWTM9JZux0cz7D2ABTgA.png" /></figure><p>I need to ask, what’s the ultimate goal of all these? Actually I know your answer. It’s getting to the moon, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f8b3iU1wZtinhJiz6hYJZQ.png" /></figure><p>something interesting about Turing. He proposed a Turing Test. A human questioner gave a series of questions to both computer Respondents and human Respondents. If he can’t tell which one is computer or human, then this computer pass the Turing Test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*egzVRCNvrTjFYawCAKEJyg.png" /></figure><p>I want to propose another test. It’s named by our devecon, I call it Contineo Test. A user send messages to both twitters. One of them is decentralized version of Twitter. After a specific time, if the user cannot tell the difference, then the public chain that this decentralized version of Twitter built on passed the test. I think our ultimate goal is make NEO pass this the Contineo Test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AIdAqcrmjaWzJ24I1hNluQ.png" /></figure><p>Can NEO pass the Contineo test? I think this is the problem we need to think about. Let’s work together and make this dream come true.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87bd7f55d56" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo-smart-economy/neo-quality-assurance-87bd7f55d56">NEO Quality Assurance</a> was originally published in <a href="https://medium.com/neo-smart-economy">The Neo Pulse</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Announcements about “Malicious” Transactions in NEO]]></title>
            <link>https://medium.com/neo-smart-economy/annocements-about-attack-transactions-in-neo-9fd7409fb3c6?source=rss-d445b89ae45c------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fd7409fb3c6</guid>
            <category><![CDATA[announcements]]></category>
            <category><![CDATA[neo]]></category>
            <dc:creator><![CDATA[Lin Peter]]></dc:creator>
            <pubDate>Sat, 28 Jul 2018 10:14:25 GMT</pubDate>
            <atom:updated>2018-08-21T04:08:45.702Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, the number of transactions on the NEO network has increased significantly. Some of them are meaningless and could be considered as an attack. NEO is designed to be a high performance blockchain system that can handle high transactions per second (TPS) scenarios in event such as this. Information below can help you know better what has happened recently.</p><h4>Current Situation</h4><ul><li>NEO has a parameter called “MaxTransactionsPerBlock” which is set to 500 now. The purpose of this parameter is to protect NEO from an infinite number of transactions flooding the network.</li><li>NEO also has another parameter called “MaxFreeTransactionsPerBlock” which is currently set to 20. This limits the number of transactions which are sent without a fee to only 20 in a single block. All of the excluded free transactions stay in the mempool of NEO node.</li><li>Each block has a “MinerTransaction”, therefore each block will have a total of 21 transactions, as you can see in blockchain explorers.</li><li>If any of the transactions are sent with a fee then they will be validated by nodes at a higher priority. Thus, if you need your transactions to be confirmed immediately, sending a transaction with a fee will be the best choice.</li><li>This mechanism can protect NEO from malicious attacks through the use of tremendous meaningless transactions.</li></ul><h4>Advice</h4><ul><li>As NEO grows to be a larger blockchain platform, more transactions will be executed in NEO blockchain one way or another. Sending transaction with fee will be recommended. It’s easy and effective.</li><li>The amount of transaction fee depends on how fast you need to get transactions confirmed by blockchain. In general, 1 satoshi gas will be enough.</li><li>If you still need to know if it’s necessary to pay transaction fee. Checking the status of node’s memory pool will be a good choice. Please refer to this article for details.(<a href="http://docs.neo.org/en-us/node/cli/2.7.6/api/getrawmempool.html">http://docs.neo.org/en-us/node/cli/2.7.6/api/getrawmempool.html</a>)</li></ul><h4>Solutions</h4><ul><li>The NEO team is encouraging exchanges to add a transaction fee when a user withdraws NEO tokens from the exchange.</li><li>The NEO team is encouraging all wallet clients to add the ability for a user to set the transaction fee, so that users can make their own choice to pay the fee or not.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fd7409fb3c6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/neo-smart-economy/annocements-about-attack-transactions-in-neo-9fd7409fb3c6">Announcements about “Malicious” Transactions in NEO</a> was originally published in <a href="https://medium.com/neo-smart-economy">The Neo Pulse</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>