<?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[ULTRAIN - Medium]]></title>
        <description><![CDATA[Decentralized Engine for the Future - Medium]]></description>
        <link>https://medium.com/ultrain-chain?source=rss----be2265daf451---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>ULTRAIN - Medium</title>
            <link>https://medium.com/ultrain-chain?source=rss----be2265daf451---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 02:02:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/ultrain-chain" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Ultrain Monthly Report(2020.6.8–7.5)]]></title>
            <link>https://medium.com/ultrain-chain/ultrain-monthly-report-2020-6-8-7-5-b7b03886c608?source=rss----be2265daf451---4</link>
            <guid isPermaLink="false">https://medium.com/p/b7b03886c608</guid>
            <dc:creator><![CDATA[ULTRAIN]]></dc:creator>
            <pubDate>Mon, 13 Jul 2020 07:00:43 GMT</pubDate>
            <atom:updated>2020-07-13T07:00:27.721Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I_PaOuSTDLMKgeAAoR0B0w.jpeg" /></figure><p><em>Following is the monthly report on the progress of the project from Jun. 8th -Jul- 5th, which contains two items: project development progress and community dynamic update. It is for the community members to check. Thank you for your attention.</em></p><h3>Technology Update from Ultrain （6/8–7/5）</h3><p><strong>Ultrain’s Core Technology</strong></p><p>1) The design of signature multithreading verification scheme is completed, and the coding implementation is started to improve the system performance;</p><p>2) Complete the design and implementation of the automatic deployment of the home node of the Ubuntu version, and complete the deployment of the first machine;</p><p>3) The node certificate management tool adds the functions of national secret certificate generation, certificate freezing, unfreezing and revocation;</p><p>4) Improve the privacy protection function, and further optimize the realization of zero knowledge proof client function.</p><p><strong>Ultrain’s Ecosystem</strong></p><p>1) The S.I.R platform has the functions of releasing commodity videos, putting them on the shelves regularly, and withdrawing cash from the shop assistants;</p><p>2) Support the blockchain game forceforfast online, and have completed a number of related business transaction orders on the hypersystem platform;</p><p>3) We have completed the function construction and online operation of the first phase of the blockchain enterprise service platform together with our partners. At present, we have settled in nearly 50 enterprises.</p><p><strong>Ultrain Developer Kit</strong></p><p>1) Complete the debugging of Ultrain One application typescript version and the function planning and design of the next version;</p><p>2) Complete the requirement analysis of enterprise customers about the integral function, and support the coding implementation.</p><p><strong>Ultrain’s Latest Community &amp; Event Update</strong></p><p><strong>The Ultrain blockchain supports the national secret algorithm</strong></p><p>Cryptography is the foundation of blockchain, in which cryptography algorithms are widely used, including symmetric encryption, asymmetric encryption, one-way hash algorithm, digital signature and so on. In order to realize the independent control of cryptography technology, China has also defined its own national secret standard. In 2020, the central bank issued the “financial distributed ledger technology security specification”, which clearly requires that domestic blockchain technology must support the national secret algorithm.</p><p>The Ultrain has completed the support for the state secret algorithm, which meets all the requirements of the central bank’s security specifications.</p><h3>Ultrain has completed development of many new functions</h3><p>Recently, Ultrain independently developed one-stop user growth technology service platform based on small app stores has officially added a number of functions, such as supporting users to directly share store business cards, one click Copy of goods to share copies, separate view of reward plate, individual view of contacts, collection of products, as well as the function of uploading video for businesses and supporting non rebate products on the shelves, Welcome to experience!</p><p>In addition, we are most interested in the shop to explore gold activities are still in hot! If you invite merchants from all walks of life to open a shop, you will get a reward for opening a store, and there will be a permanent profit waiting for you.</p><p><strong>Ultrain is working closely with multiple business partners</strong></p><p>Recently, the Ultrain S.I.R platform has supported the blockchain game forceforfast, and has completed many related business transaction orders! At the same time, we have completed the function construction of the first phase of the blockchain enterprise service platform together with our partners, and successfully put it into operation. At present, we have settled in nearly 50 enterprises. In addition, there are many business cooperation in order, please look forward to it!</p><p>The above is the progress report of Ultrain from Jun 8th to Jul 5th, looking forward to more exciting contents after that!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7b03886c608" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ultrain-chain/ultrain-monthly-report-2020-6-8-7-5-b7b03886c608">Ultrain Monthly Report(2020.6.8–7.5)</a> was originally published in <a href="https://medium.com/ultrain-chain">ULTRAIN</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Technology Popularization|Application of state secret algorithm in Ultrain blockchain]]></title>
            <link>https://medium.com/ultrain-chain/technology-popularization-application-of-state-secret-algorithm-in-ultrain-blockchain-f1eee8d73882?source=rss----be2265daf451---4</link>
            <guid isPermaLink="false">https://medium.com/p/f1eee8d73882</guid>
            <dc:creator><![CDATA[ULTRAIN]]></dc:creator>
            <pubDate>Mon, 13 Jul 2020 06:53:41 GMT</pubDate>
            <atom:updated>2020-07-13T06:53:22.390Z</atom:updated>
            <content:encoded><![CDATA[<p>Cryptography is the basis of blockchain, and a lot of cryptography algorithms are used in blockchain, including symmetric encryption, asymmetric encryption, one-way hash algorithm, digital signature and other technologies.</p><p>In order to realize the independent control of cryptography technology, China has also defined its own national Cryptography Standards. In the “financial distributed ledger technology security specification” issued by the central bank in 2020, it is clearly required that domestic blockchain technology must support national cryptography algorithm. Ultrain blockchain has now completed the support for the national secret algorithm, which meets all the requirements of the central bank’s security specifications.</p><p>This paper first introduces the basic concepts of symmetric encryption, asymmetric encryption and digital signature, then focuses on the elliptic curve cryptography technology in the asymmetric encryption algorithm, and finally expounds the application of the national encryption algorithm in the Ultrain blockchain. To solve the problem of poor signature verification performance of OpenSSL, Ultrain optimizes the implementation of the algorithm and achieves a performance improvement of 3–4 times. The relevant optimization code has been submitted to OpenSSL GitHub</p><p>( <a href="https://github.com/openssl/openssl/issues/11992">https://github.com/openssl/openssl/issues/11992</a> ）。</p><p>01 Symmetric encryption and asymmetric encryption</p><p>Symmetric cryptography is a way of using the same key when encrypting and decrypting. Symmetric key has many aliases, such as public key password, traditional password, private key password, shared key password and so on. Figure 1 and Figure 2 are symmetric cipher encryption and decryption processes respectively. Encryption and decryption use the same key, so they are called symmetric encryption.</p><p>1.2 asymmetric encryption</p><p>Asymmetric cryptography uses different keys when encrypting and decrypting, which is also called public key cryptography. They are usually a pair of keys: public key and private key. After the public key is encrypted, the private key can be decrypted; after the private key is encrypted, the public key can be decrypted. The public key is derived from the private key, and the public key is public. Asymmetric encryption solves the problem of key distribution in symmetric encryption. The general public key is used for encryption and the private key for decryption. When the private key is used for encryption, it is digital signature in essence, that is, decryption with the public key can verify that the information is indeed the result of private key encryption. At present, public key cryptography mainly includes the following:</p><p>RSA (the first letter of the surnames of Ron Rivest, ADI Shamir and Leonard Adleman). This algorithm uses the difficulty of large prime factor decomposition.</p><p>EIGamal, designed by Taher EIGamal, is different from RSA in that it is difficult to find the discrete logarithm under mod n.</p><p>Rabin, a public key algorithm designed by m.o.rabin. The difficulty of Rabin’s way to find the square root</p><p>Elliptic curve cryptography (ECC),</p><p>Today we focus on the cryptography algorithm, which is realized by special multiplication of specific points on the elliptic curve. It takes advantage of the fact that the inverse operation of this multiplication algorithm is very difficult.</p><p>Public key algorithm is slower than symmetric encryption algorithm, so symmetric encryption algorithm is used in data encryption, while public key algorithm is more used in digital signature scenarios.</p><p>1.3 digital signature</p><p>One day Alice sent an email to Bob: “Hi, Bob, give me 1000000 yuan, account number is 6214 6576 8789 8987, account name is Alice”. In real life, Bob may call Alice to confirm whether the e-mail is forged or not, and to confirm whether the content has been tampered with, so as to prevent the collection account and amount from being maliciously modified. Of course, there is another scenario, Bob calls Alice and Alice denies sending the e-mail at last.</p><p>The technology that can prevent the forgery, tampering and denial mentioned above is the digital signature mentioned above. Generally, the message is long. We only sign the hash value of the message, so the process of Alice sending the message is as follows:</p><p>1. Alice uses one-way hash function to calculate the hash value of mail content;</p><p>2. Alice encrypts the hash value with the private key, and the ciphertext obtained is Alice’s signature of the hash value. Since only Alice holds her private key, no one else can generate the same ciphertext except Alice himself, and the signed out signature Alice can’t deny;</p><p>3. Alice sends the message and signature to Bob;</p><p>4. Bob uses Alice’s public key to decrypt the received signature to the hash value;</p><p>5. Bob compares the hash value obtained in 4 with the hash value of the message sent directly by Alice. If the two are the same, the signature verification succeeds, otherwise the verification fails.</p><p>02 Detailed explanation of elliptic curve encryption algorithm</p><p>We have understood the basic concepts of symmetric encryption and asymmetric encryption. In this section, we mainly talk about the elliptic curve technology in the asymmetric encryption algorithm for digital signature.</p><p>2.1 basic concepts</p><p>2.1.1 Abelian group</p><p>In mathematics, a group is an algebraic structure, which consists of a set and a binary operation + and satisfies the following conditions:</p><p>1. Closeness. The result of binary operation of two numbers in the set is still in the set.</p><p>2. Combination. a+b+c = a+(b+c)</p><p>3. Unit: yuan. There is unit element 0, so a + 0 = 0 + a = a</p><p>4. Inverse element. For any a, there must be B to make a + B = 0</p><p>5. Exchange law. a+b+c = a+c+b</p><p>2.1.2 elliptic curve equation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*5aLpOZf4mLnm9QCPlHT_vA.png" /></figure><p>In cryptography, the elliptic curve equation defined in the prime field GFP is:</p><p>E: Y2 = X3 + ax + b where a, B ∈ GFP and (4A3 + 27b2) mod p! = 0</p><p>In addition to the curves defined b y p, a and B, x, y and N are usually needed to determine an elliptic curve. So, to describe a n elliptic curve over a finite field, there are six variables: T = (P, a, B, x, y, n)</p><p>P — the number of points in the prime field, the greater P is, the more secure it is, but with the increase of computation</p><p>a. B — curve coefficient</p><p>x. X, y coordinate of Y — G point</p><p>N — is prime number, and is the order of G point. There is a minimum positive integer at a point P on the elliptic curve, so that NP = 0 ∞ (origin or infinity, the following infinity is represented by 0), then n is called the order of p; if n does not exist, we say P is infinite. In prime field, the order of all points of elliptic curve exists.</p><p>2.1.3 point operation on elliptic curve</p><p>The points on elliptic curves in prime field are also abelian groups. The unit element is zero at infinity. The inverse element of point P on an elliptic curve is its X-axis symmetric point.</p><p>P and Q are the two points of the elliptic curve on the prime field GFP respectively. Their lines intersect the elliptic curve at the third point R (see case 1 in Figure 5), and there are infinite points P + Q + r = 0. There are several special cases, 2, 3 and 4 in the figure below. In the second case, the straight line is tangent to Q, which can be seen as Q and Q are connected, intersecting the elliptic curve at P point, that is, q + Q + P = 0; in the third case, P and Q are parallel to y axis, because the two parallel lines intersect at infinity, P + Q + 0 = 0; in the fourth case, P and P are connected, intersecting at infinity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*nRr4ED5SnVjiRsByq5pg_Q.png" /></figure><p>Based on the above, we have the following conclusions:</p><p>Q + Q + P = 0, that is, q + q = — P, (Q + Q) + (Q + Q) = (- P) + (- P), that is, taking P’s symmetric point-p as the tangent, and so on, we can quickly get 2n * q points, n ∈ [0, + ∞). In elliptic curve encryption, the private key is a large integer, and the public key is the product of point G on the elliptic curve and the private key. We can quickly calculate the public key through the binary representation of the private key.</p><p>2.2 algorithm application</p><p>Elliptic curve is mainly used for digital signature. The following is the mathematical calculation process to realize digital signature and signature verification.</p><p>2.2.1 digital signature and signature verification</p><p>Digital signature mainly needs hash value (Digest) H and private key Ka of message M to generate the final result {R, s}; signature verification mainly uses public key p and message digest H. The following is the calculation process of signature generation and signature verification.</p><p>Generating signature, that is, the process of calculating R and S</p><p>The private key is a large number Ka, and the public key is the point where the private key multiplies the G point, P = kag</p><p>The random number k is generated. The product of the calculation and the base point k = kg. The x-axis coordinate KX of the k-point is r to the module KX (MOD n) of the order n of the elliptic curve, that is, r = KX (MOD n)</p><p>Calculation of k-1 (MOD n) based on the order of curve</p><p>R has been generated in step 2, s = k-1 (H + Kar) (MOD n)</p><p>Signature verification</p><p>Calculating s based on the inverse S-1 of the order n of elliptic curve</p><p>Calculate U1 = HS-1</p><p>Calculate U2 = RS-1</p><p>Calculation point q = u1g + U2 * P</p><p>Take the x-axis coordinate QX of point Q, if QX is equal to R, that is, the x-axis coordinate KX of point K in the signature process, then the verification is passed.</p><p>Why does proof have this feature in the signature verification process?</p><p>According to the signature calculation, s = k-1 (H + Kar) (MOD n), SK = (H + Kar) (MOD n) is multiplied by K on both sides.</p><p>Point q = u1g + U2 * P, P = kag, q = u1g + u2kag</p><p>Substituting U1 and U2 into q = h s-1g + rs-1kag = (H + RKA) s-1g</p><p>Substituting the formula of step 1 into step 3, q = SK * s-1g = kg, so if {R, s}, h is correct, point K and point P have the same X-axis coordinates</p><p>2.2.2 comparative advantages of elliptic curve and RSA Technology</p><p>We have talked about asymmetric RSA before. It is recommended to use elliptic curve encryption by national secret because elliptic curve has some advantages over RSA:</p><p>More secure. The elliptic curve is based on the discrete logarithm difficulty, and the computational complexity is exponential, so it is difficult to solve. However, RSA algorithm is difficult to decompose large prime factors, and the computational complexity is sub exponential.</p><p>A shorter key. Under the same security level, the key length of ECC is much smaller than that of other public key algorithms. 128bit elliptic curve algorithm has the same security level as 1024bit RSA algorithm.</p><p>2.3 common elliptic curves</p><p>In bitcoin and Ethereum networks, secp256k1 is used. P is a 256 bit prime number, and K represents Koblitz. a=0，b=7。 The curve equation is y2 = X3 + 7. Koblitz elliptic curve has some special properties, which can realize group operation more effectively.</p><p>Secp256r1. Sister curve of secp256k1. P is also a 256 bit prime number, but the value is different from secp256k1 curve, and R represents random. “Random” selection of parameters is safer, however, some suspect that random coefficients may have been chosen to provide backdoor. Therefore, bitcoin network did not choose it, but chose a more efficient secp256k1.</p><p>SM2 curve. SM2 is a standard curve recommended by China on the basis of previous studies on ECC. GB / T 35276–2017 defines the specific implementation of SM2 algorithm.</p><p>03 Application of state secret algorithm in Ultrain</p><p>In addition to SM2 elliptic curve, SM3 and SM4 are also applied in the support of ultrain blockchain to national secret algorithm.</p><p>SM3 hash algorithm generates 256bit hash value, which is mainly used to replace sha256 algorithm.</p><p>SM4 symmetric encryption algorithm, ultrain wallet public private key encryption replaced aes128 with SM4.</p><p>3.1 implementation details of national secret algorithm</p><p>We have explained the principle of elliptic curve above, and SM2 curve is also built on it, but it also has its own characteristics:</p><p>3.1.1 calculation of H value in Sm2</p><p>In secp256k1, h is the hash value of the message, while in SM2, it is more complex to calculate H value, which needs to be calculated in two steps:</p><p>1. Calculate Z value through SM3 algorithm:</p><p>Z=SM3(ENTL||ID||a||b||xG||yG||xA||yA)</p><p>ID: string of user identity flag</p><p>Entl: bit length of ID represented by two bytes</p><p>a. B: curve parameters</p><p>XG, YG: coordinate of G point x, Y axis</p><p>Xa, ya: public key coordinates x, Y axis</p><p>2. Use Z and the message to be signed to calculate the hash value H through SM3, H = SM3 (z|m)</p><p>3.2 state secret algorithm optimization</p><p>3.2.1 OpenSSL SM2 curve performance problems</p><p>We develop the implementation of SM2 based on OpenSSL, but we find that the speed of signature and verification is very slow. On MacBook Pro, we sign 22496 times every 10 seconds and check 24374 times every 10 seconds. Locate to EC_ POINT_ Mul is slow. Check the source code of OpenSSL. It does not pre cache the 2n * g, n ∈ [0, 256] (the private key is 256 bit long). For example, if the binary value of the private key is 1000 1100, it is 27 * G + 23 * G + 22 * g for the public key, while 2 * g, 22 * g, 23 * g… 2256 * g are all known, so only the + operation of three points on the elliptic curve is needed, and it does not need to be recalculated every time. In addition, some core functions need to be compiled by assembly, and the performance after optimization can be improved by 3–4 times, as shown in the following table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*u2iWxJNbyB-mFnDZ3bIlqg.png" /></figure><p>3.2.2 SM2 signature and message cannot recover public key</p><p>In secp256k1, we can recover the public key according to the signature {R, s} and the message, but SM2 can’t recover the public key through the signature and the message, because in the process of calculating the H value of SM2, we use the coordinates of the public key, so we must know the public key, which is in conflict with only the signature and the message recovery public key. Because SM2 cannot pass the signature and message recover public key, we take out the public key and verify it in the process of transaction verification. However, in our system, an account can have several public keys, so it is necessary to traverse the account’s public key to verify the transaction, resulting in the lower transaction performance of multiple public key accounts. Fortunately, 99% of all accounts in the system have only one pair of public and private keys, so it will not affect the overall performance of the system in theory.</p><p>04 Conclusion</p><p>This paper first introduces the basic concepts of symmetric encryption and asymmetric encryption, then introduces the elliptic curve encryption technology in the asymmetric encryption technology in detail, and finally describes the support of ultrain blockchain to the national encryption algorithm. The understanding of the elliptic curve encryption part requires a higher mathematical basis. The decentralized trust of blockchain is based on cryptography, and cryptography technology is based on mathematics, so in math we trust.</p><p>reference:</p><p>[1]. <a href="https://encyclopedia.thefreedictionary.com/elliptic+curve">https://encyclopedia.thefreedictionary.com/elliptic+curve</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1eee8d73882" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ultrain-chain/technology-popularization-application-of-state-secret-algorithm-in-ultrain-blockchain-f1eee8d73882">Technology Popularization|Application of state secret algorithm in Ultrain blockchain</a> was originally published in <a href="https://medium.com/ultrain-chain">ULTRAIN</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ultrain Monthly Report(5/11–6/7)]]></title>
            <link>https://medium.com/ultrain-chain/ultrain-monthly-report-5-11-6-7-b2b664513c8e?source=rss----be2265daf451---4</link>
            <guid isPermaLink="false">https://medium.com/p/b2b664513c8e</guid>
            <dc:creator><![CDATA[ULTRAIN]]></dc:creator>
            <pubDate>Mon, 15 Jun 2020 05:32:29 GMT</pubDate>
            <atom:updated>2020-06-15T05:32:17.561Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I_PaOuSTDLMKgeAAoR0B0w.jpeg" /></figure><p><em>Following is the monthly report on the progress of the project from May. 11th -Jun.7th, which contains two items: project development progress and community dynamic update. It is for the community members to check. Thank you for your attention.</em></p><h3>Technology Update from Ultrain （5/11–6/7）</h3><p><strong>Ultrain’s Core Technology</strong></p><p>• Ultrain infrastructure</p><p>1) Complete the development of the Windows version of the family mining machine software, and implement the Windows 10 environment automation deployment tool to complete the internal test;</p><p>2) Node software adds on-chain data compression and encrypted storage, and increases data distributed storage mechanism support;</p><p>3) Improve the certificate system management tool to support encrypted authentication communication between nodes and between the client and the server.</p><p><strong>Ultrain’s Ecosystem</strong></p><p>1) New functions of exporting merchant orders, customizing reward rules, intelligent display of user data and other functions have been released on the S.I.R platform and updated versions have been released;</p><p>2) The S.I.R system completes the product video, custom sharing copy and other function development, and enters the test stage;</p><p>3) Complete the construction and development of the blockchain enterprise service platform and data upload, and complete the development of related systems such as new marketing activities for blockchain games.</p><p><strong>Ultrain Developer Kit</strong></p><p>1) Complete TypeScript refactoring for UltrainOne to improve code readability and maintainability.</p><h3><strong>Ultrain’s Latest Community &amp; Event Update</strong></h3><p><strong>Ultrain fully introduced its own blockchain certificate management system</strong></p><p>Currently, the mainstream blockchain technology in China is called an open license chain. The license chain refers to the owners of all the nodes that make up the license chain. Their identities are authenticated, and they can only join the blockchain network after being authorized by the license. In this scenario, the network is open to authorized organizations or institutions, and there is a collaborative relationship between the participants on the chain, with an access mechanism. As a complete solution, the PKI/CA system can provide identity authentication certificates for each participant in the license chain to realize access control. It can be said that the certificate mechanism is the cornerstone of the permission chain network security.</p><p>Recently, Ultrain technical experts wrote an article, which describes the Ultrain certificate management system in detail after describing the basic concepts of PKI/CA as necessary.</p><h3>Ultrain has completed development of many new functions</h3><p>Ultrain independently developed a one-stop user growth technology service platform based on a small program store. The super-item system has completed iterations. It has a variety of powerful tool libraries to support the needs of merchant stores in multiple scenarios: SMS and subscription notifications, merchandise Fission posters, user relationship management … In the future, there will also be functions such as social dynamics and interaction, live broadcast playback, etc.</p><p>At present, Superphysical is engaged in store exploration and nugget activities, inviting merchants from all walks of life to open stores, and you will receive a reward for opening a store. Permanently receive 1% of the order transaction amount as a reward.</p><p><strong>Ultrain is working closely with multiple business partners</strong></p><p>Recently, Ultrain has helped a blockchain game to complete the construction of its marketing system, and has also completed the construction and development of a blockchain enterprise service center and data upload. In addition, there are many business partners in close negotiation and cooperation.</p><p>The above is the progress report of Ultrain from May 11th to Jun 7th, looking forward to more exciting contents after that!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2b664513c8e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ultrain-chain/ultrain-monthly-report-5-11-6-7-b2b664513c8e">Ultrain Monthly Report(5/11–6/7)</a> was originally published in <a href="https://medium.com/ultrain-chain">ULTRAIN</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One Article to Fully Understand the Ultrain Blockchain Certificate Management System]]></title>
            <link>https://medium.com/ultrain-chain/one-article-to-fully-understand-the-ultrain-blockchain-certificate-management-system-e8b7379db92c?source=rss----be2265daf451---4</link>
            <guid isPermaLink="false">https://medium.com/p/e8b7379db92c</guid>
            <dc:creator><![CDATA[ULTRAIN]]></dc:creator>
            <pubDate>Mon, 08 Jun 2020 09:06:06 GMT</pubDate>
            <atom:updated>2020-06-08T09:05:49.097Z</atom:updated>
            <content:encoded><![CDATA[<p>Cryptography technology is the cornerstone of information technology. Blockchain uses a lot of technological achievements of modern information security and cryptography, mainly including: hash algorithm, symmetric encryption, asymmetric encryption, digital signature, digital certificate and so on. The hash algorithm solves the problem of information integrity verification, the symmetric algorithm improves the efficiency of encryption operations, the asymmetric algorithm solves the problem of symmetric key transfer, and the digital certificate is endorsed by the public key owner, which solves the problem of the public key holder’s proof , PKI / CA system has formed a complete solution to solve information security, information confidentiality, integrity and non-repudiation.</p><p>The current mainstream blockchain technology in China is called an open license chain. What is a license chain? It is the owner of all the nodes that make up the license chain. Their identities are authenticated, and they can only join the blockchain network after being authorized by the license.</p><p>In this scenario, the network is open to authorized organizations or institutions, and there is a collaborative relationship between the participants on the chain, with an access mechanism. As a complete solution, the PKI / CA system can provide identity authentication certificates for each participant in the license chain to realize access control. It can be said that the certificate mechanism is the cornerstone of the permission chain network security. After the necessary description of the basic concepts of PKI / CA, this article elaborated the Ultrain certificate management system in detail.</p><p><strong>01 Public key infrastructure</strong></p><p>Public Key Infrastructure (PKI) is a collection of hardware, software, and policies, which is used to complete the generation, management, storage, distribution, and revocation of keys and certificates based on public key cryptosystem system.</p><p>1.1 PKI system</p><p>The PKI system includes a certificate authority CA (Certificate Of Authority, certification center), a registration authority RA and a corresponding PKI repository. CA is used to issue and manage certificates; RA can be used as a part of CA, or it can be independent. Its functions include personal identity verification, CRL management, key generation, and key pair backup. The PKI repository includes LDAP (Lightweight Directory Access Protocol, LDAP). Lightweight Directory Access Protocol) directory server and common database, used to store and manage user applications, certificates, keys, CRL (Certificate revocation lists) and logs, and provide certain query functions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*btq2Iofq7IthUPqgOOstiQ.png" /></figure><p>1.2 Certificate application process</p><p>• User application:</p><p>The user generates his own public key and private key, submits the public key and his own identity information to the security server, and the security server transmits the user’s application information to the RA server.</p><p>• RA audit:</p><p>The user proves his identity to the RA, and the RA checks after receiving the user’s application. If the RA agrees with the user’s request for a certificate, digitally sign the certificate application information; otherwise, the user’s application is rejected.</p><p>• CA issued certificate:</p><p>The RA transmits the user application and the RA signature to the CA. The CA authenticates the RA digital signature. If the verification is passed, the CA agrees to the user request, issues a certificate, and then outputs the certificate. If the verification fails, the certificate application is rejected.</p><p>• RA forwarding certificate:</p><p>The RA obtains a new certificate from the CA, first outputs the certificate to the LDAP server to provide directory browsing, then notifies the user of the successful issuance of the certificate, informs the certificate of the serial number, and downloads the certificate to the specified website.</p><p>• User certificate acquisition:</p><p>The user uses the certificate serial number to specify the website to download his digital certificate.</p><p>1.3 X.509 certificate format</p><p>The mainstream certificate format is X.509 format. The X.509 standard stipulates what information a certificate can contain and explains how to record the information.</p><p>X.509 structure includes Version Number, Serial Number, Signature Algorithm, Issuer, Validity, Subject, Subject Public Key Information (Subject Public) Key Info), subject public key algorithm (Public Key Algorithm), subject public key (Subject Public Key), certificate signature algorithm (Certificate Signature Algorithm) and certificate signature (Certificate Signature).</p><p>1.4 Certificate verification principle</p><p>1. Use the same hash function for the plain text in the certificate to get the digest value H1.</p><p>2. Use the CA root certificate to verify the signature validity of the client certificate, that is, the signature in the certificate is de-signed with the public key of the CA root certificate, and the de-signed result is compared with H1 in step 1. If they are consistent, the certificate is trusted The root certificate is issued, and the contents of the certificate have not been tampered with.</p><p>3. Check whether the client certificate is valid (the current time is within the validity period defined in the certificate structure).</p><p>4. Check whether the client certificate is invalid (OCSP method or CRL method).</p><p>5. Verify the purpose of the certificate in the client certificate structure.</p><p>All the above information is verified, then the public key information of the client in the certificate can be used in subsequent operations.</p><p><strong>02 Ultrain Certificate Management System</strong></p><p>The authorized nodes of the permission chain form an alliance to share and access data. The PKI system is a complete and mature system for user auditing, identity management and privacy protection. Ultrain defines a set of top-down certificate management processes to achieve permission management and access control of license chain nodes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*LXhcdHz4T5PZ6YbaeDAshQ.png" /></figure><p>2.1 Ultrain certificate system</p><p>Ultrain uses a CA-oriented access mechanism to implement authentication and dynamic management based on X.509 format certificates. According to the existing business scenario, the certificate system is shown in Figure 2, and includes the following types from top to bottom: root certificate, chain certificate, node certificate, and user certificate.</p><p>Root certificate: The root certificate is a self-signed certificate, which is the root of all certificates, and the corresponding private key file is jointly managed by the alliance committee.</p><p>Chain certificate: In a multi-chain architecture, a single chain management agency generates a chain private key and generates a request file chain.csr to send to the alliance committee. After the alliance committee passes the review, the chain certificate chain.crt is issued.</p><p>Node certificate: The node certificate is issued by a chain certificate. The node generates and saves its own private key file node.key, and generates a request file node.csr and sends it to the chain management agency. After the chain management agency passes the verification, it issues a node certificate node.crt. The node certificate is the identity certificate of the node. The node with the node certificate can establish an SSL link with the node in the blockchain network to achieve encrypted communication between the nodes.</p><p>User certificate: The user certificate is issued by the node that provides the chain access interface. The user generates and saves his own private key file sdk.key, and generates a request file sdk.csr and sends it to the node management organization that needs to be accessed. After the node management organization passes the verification, the user certificate sdk.crt is issued. The user certificate is the client’s identity credential, and the client with the user certificate can access the link port normally.</p><p>Ultrain provides a set of certificate application issuance management procedures to facilitate the application, verification and issuance of certificates at all levels.</p><p>2.2 Certificate usage scenarios and verification</p><p>The root certificate is jointly managed by the Ultrain Alliance Committee. At present, it uses a self-signed certificate. It can also be connected to a commercial certificate issuing agency and use a certificate issued by an authority. When the business needs to establish a new side chain, the side chain management agency submits the certificate request file, and the alliance committee uses the root certificate to issue the chain certificate after the alliance committee passes the review; the chain certificate is managed by the chain management committee, and the chain management committee receives the alliance member to become the operation The node certificate request file is issued by the committee after the committee passes the review; the alliance members use the node certificate to access the side chain node network before they can send and receive consensus and transaction information normally. If the node provides an on-chain data access interface, a user certificate needs to be issued to the client for use; the client uses the user certificate issued by a specific node to access the data interface provided by the node for data reading, transaction sending, etc. operating.</p><p>Node certificate verification</p><p>Node certificates are used when building chains between nodes. After the link based on certificate verification is established, the node can form a P2P network, so as to achieve the spread of consensus protocol information and transaction information. The following figure shows the process of using the node certificate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*oUTU_bnW3xXQd-_8IfGFQg.png" /></figure><p>When a node is started, carrying its own node certificate can establish an SSL secure link with a node that also has the node certificate. When the certificate expires and is tampered with, it cannot be added to the P2P network, so the data on the chain cannot be shared and propagated.</p><p>In Ultrain’s certificate revocation (CRL) management system, the revocation of the certificate is completed by the certificate issuing authority. Nodes can periodically obtain the CRL list from the CA Management Center. Heartbeat messages between nodes need to carry their own node certificates. When the node certificate is not carried or the carried certificate is in the CRL list, the heartbeat message detection end will actively tear down the link with the detected end to achieve real-time access management control .</p><p>User certificate verification</p><p>When the client accesses the link port provided by the node, it can choose to verify the node certificate to verify the identity of the node. In this case, a certificate chain composed of a root certificate and a chain certificate needs to be used to verify the node certificate. In addition, the client needs to provide the user certificate to the node. The node’s HTTPS service will verify the user certificate provided by the client (using the root certificate, chain certificate and node certificate to form the certificate chain for verification), and will also check the CRL revocation list , When the verification is passed and the user certificate is not in the CRL list, the SSL link is successfully established for normal communication, otherwise the link cannot be established, thereby ensuring the security of communication between the client and the node.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8b7379db92c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ultrain-chain/one-article-to-fully-understand-the-ultrain-blockchain-certificate-management-system-e8b7379db92c">One Article to Fully Understand the Ultrain Blockchain Certificate Management System</a> was originally published in <a href="https://medium.com/ultrain-chain">ULTRAIN</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to reduce the cost of running a blockchain full node? There is a new light node solution here]]></title>
            <link>https://medium.com/ultrain-chain/how-to-reduce-the-cost-of-running-a-blockchain-full-node-there-is-a-new-light-node-solution-here-22f9bbcb17af?source=rss----be2265daf451---4</link>
            <guid isPermaLink="false">https://medium.com/p/22f9bbcb17af</guid>
            <dc:creator><![CDATA[ULTRAIN]]></dc:creator>
            <pubDate>Wed, 13 May 2020 08:24:18 GMT</pubDate>
            <atom:updated>2020-05-13T08:23:54.338Z</atom:updated>
            <content:encoded><![CDATA[<p>With the operation of the blockchain network, the amount of node data is getting larger and larger, and the cost of running the full node of the blockchain is getting higher and higher. Now a full node of the blockchain, the amount of block data storage is often hundreds of G Up to T, on the one hand, it directly leads to a significant increase in the storage cost of the blockchain computer running the full node. If we want to run the blockchain node on a common PC, the ordinary PC is used for the light blockchain data. Most of the hard disk storage space is obviously difficult for people to receive; on the one hand, it also greatly limits the application scenarios of blockchain technology. Whether it is a mobile phone or an IoT device, it does not currently have the ability to load a few T storage hard disks. .</p><p>In order to solve this problem, different blockchain platforms have proposed their own light node solutions, among which the typical ones are Bitcoin’s SPV scheme and Ethereum’s status verification scheme. However, there are certain deficiencies in these two schemes. The SPV scheme of Bitcoin can verify that the transaction has actually occurred, but it cannot verify the specific value of the account at a certain moment; the status verification scheme of Ethereum can verify that the transaction has occurred, and The specific value of the account can be verified at a certain moment, but because this scheme requires data to be written to the block header, the performance of consensus and the robustness are reduced.</p><p>Based on Bitcoin’s SPV scheme and Ethereum’s status verification scheme, Ultrain proposes a new light node scheme, which can not only meet the functional requirements of verifying the occurrence of transactions and verifying the specific values of accounts at a certain time, but also Meet the consensus requirements in terms of performance and robustness, where the performance is more than 10 times that of the Ethereum solution.</p><p>Nodes in the light node mode do not need to synchronize huge amounts of block data. With the Merkel verification method of the world state, the nodes can check the correctness of the state without replaying the historical blocks, which can enable more applications. Scenarios (such as running light nodes on embedded devices with limited resources). This article will introduce the world state verification problem, the Bitcoin SPV program, the Ethereum world state verification program, and the specific program adopted by Ultrain.</p><p>1, the amount of node synchronization data</p><p>The blockchain node network can be understood as a distributed state machine. Each node starts from the same creation state, and updates the creation state block by block according to the transactions contained in each block, forming a constantly updated world state. Over time, the data stored locally at each node will continue to grow, mainly including historical block data and constantly updated world state data. The cumulative data volume of the blocks produced by Bitcoin since its creation in 135 months (2009/01 ～ 2020/03) has reached 263.6GB, and is now growing at a rate of more than four GB per month.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BVS0NVb7tZ72Y6qiNSd18Q.png" /></figure><p>When the Ethereum full node is synchronized in full mode (the node will synchronize all block headers, block bodies and replay the transactions in the block to generate world state data) from the network, the current data to be synchronized has reached two or three hundred GB, If you archive the state of the historical world, the amount of data has exceeded 4T. Ethereum nodes also support fast mode for synchronization. The difference between this mode and the full mode is that the transactions in the block are not replayed to reconstruct the world state, but the state data is synchronized from the network. In addition, the Ethereum node also supports the light synchronization mode. In this mode, the node only synchronizes the block header data, and does not synchronize the block body and status data. It only obtains from the network when the corresponding block and status are needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*a_s6idmvr88E4uF7Z2r4dw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*JY0UBMrutG7DlYa2F08mEQ.png" /></figure><p>From the above data of bitcoin and Ethereum, we can see that the amount of data needed for deploying and running a whole node is increasing, which leads to higher and higher requirements for the hardware specifications of node machines and the threshold of network bandwidth. It takes a few days for a new node to complete the historical data synchronization, and then it can start to participate in the consensus process to generate blocks. The cost of running all nodes is relatively high. In the bitcoin white paper, the SPV scheme that can be used by light nodes is mentioned, which can also be used for payment verification without synchronizing all block data. The payment verification here is only to verify that the transaction payment has occurred, not to verify the legitimacy of the transaction (such as whether the account balance is greater than the transfer amount, etc.).</p><p>2、 Bitcoin SPV scheme</p><p>SPV (simple payment verification) is described in the bitcoin white paper. SPV is a technical scheme which can verify the validity of payment without running all nodes and saving all block headers in light node environment. The block structure in bitcoin is divided into block head and block body. The block head contains the necessary attributes of the block, which is only 80 bytes in size. The block body contains all transactions under the current block. Generally, a block contains hundreds of transactions, each transaction generally requires more than 400 bytes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*LmhiI7iwlHjyzSwTQ8aBuw.png" /></figure><p>Bitcoin uses the data structure of the Merkel tree to organize the transactions contained in the block: group all the transactions in the block in pairs, hash the transactions, and then hash the resulting hash, and repeat the process until only one hash is left, which is called Merkle root. The node at the bottom of the Merkel tree is the hash value of the transaction data. Each parent node is the combined hash value of two child nodes. Finally, the root node is calculated by layer up calculation. This Merkel root value is stored in the block of bitcoin.</p><p>After the light node obtains all the block heads on the longest chain from the blockchain network and stores them locally, it can carry out SPV payment verification: the light client first calculates the hash value of the payment transaction to be verified; then locates the block containing the hash of the transaction, and obtains the hash value sequence needed to construct the Merkel tree of the payment transaction to be verified from the block; according to the waiting for correction Check the hash value of the transaction and its required hash value sequence to calculate the Merkel root; compare the calculated Merkel root value with the Merkel root in the block head, if it is equal, it will prove that the transaction is real.</p><p>The size of bitcoin block head is always fixed 80 bytes, about 6 blocks per hour, 52560 blocks per year, and the new storage capacity is about 4m bytes per year. SPV scheme greatly saves the storage space of light nodes. From the above process, we can see that this SPV scheme of bitcoin only ensures that the transaction of verification has happened, but it cannot be used to verify the changes in the world state caused by the exchange. Ethereum stores the Merkel value of the transaction in the block head, which can be applied to the SPV scheme similar to bitcoin; in addition, Ethereum also stores the Merkel value of the world state in the block head, which can be used to verify the world state value.</p><p>3、 Ethereum world state verification scheme</p><p>The account of Ethereum contains four attributes, nonce, balance, storageroot and codehash. Ethereum uses stateobject to manage the account status, and the account is uniquely marked with address. All account objects are inserted into the Merkle patrica trie (MPT) structure one by one to form statetrie. The root field in the block header data structure stores the root value of statetrie, which is the hash value of the world state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*wHVlSWtPnvjQp_o_ZVJRkA.png" /></figure><p>We assume that there are two accounts a and B on the Ethereum blockchain, and the initial account balance is 10 ether coins. In the block with the number of 1000, there has been a transaction: account a transfers one ether coin to account B, changes the balance of account a to 9 ether coins, and the balance of account B to 11 ether coins (excluding miner’s fees). In the Ethereum light client similar to bitcoin SPV, we can use the Merkel root data of the transaction stored in the block with block number of 1000 to verify that account a has indeed transferred an Ethereum to account B, but only using the Merkel root data of the transaction, we cannot verify whether the balance of account a is 9 Ethereum (or the balance of account B I can’t check the specific value of the world state.</p><p>The Merkel root value (field root) of the world state of the block head in Ethereum can be used to verify the specific value of the world state. This field is the RLP hash value of the root node of “state trie” in the Ethereum statedb. In the block, each account is represented by a stateobject object, and the account is uniquely identified by an address. Its information is modified during the execution of related transactions. All account objects can be inserted into a Merkle patrica trie (MPT) structure one by one to form a “state trie”.</p><p>In eip-1186 of Ethereum, the ETH [getproof] interface is added to return the information (Merkle path) required by Merkel verification of account and its storage values to complete the verification of world state values. Eth? Getproof has three input parameters:</p><p>1) Data: 20 bytes — address of account (external account / contract account)</p><p>2) Array: 32 bytes — address of parity status data</p><p>3) Quantity|tag: — is the specified block number or string “latest” or “earliest”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vQpLkLdFEL4WdSyUVdBGZA.png" /></figure><p>The data returned by this interface is as follows:</p><p>1) Balance: account balance</p><p>2) Codehash: hash value of contract account code; fixed value is returned for external account</p><p>3) Nonce: the nonce value of the account, indicating how many transactions have been sent or how many contracts have been created</p><p>4) Storagehash: Merkel root value of status value</p><p>5) Accountproof: Merkel sequence array required for account verification</p><p>6) Storageproof: an array of information required for status value verification, including the following fields:</p><p>Ø key: address corresponding to status value</p><p>Ø value: specific value of status</p><p>Øproof : Merkel sequence array required for state value verification</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q42NBVki18do0cQ4YpLxHA.png" /></figure><p>After the light node obtains the above return information through the ETH ﹣ getproof interface, first, according to the four returned attribute values [nonce, balance, codehash, Storagehash] build the account object, perform the hash operation after RLP coding, and the value obtained can be combined with the account proof to verify with the Merkel tree root value of the world state stored in the block head; after the verification is passed, it is equivalent to confirming the correctness of the storagehash field, and then combining with the Merkel sequence in storageproof to complete the verification of the state value. The relevant verification example codes are as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KFXutXSrMTia5tSP0z0VIA.png" /></figure><p>4、 Ultrain world state verification scheme</p><p>Ethereum uses MPT tree (Merkle patrica trie) to manage all account objects. Statetrie stores information of all accounts, such as balance, number of transactions initiated, virtual machine instruction array, etc. with the execution of each transaction, statetrie In fact, it has been changing. After all transactions in the block are completed, the real-time status of all account information will be recorded in the block header.</p><p>Ultrain uses chainbase to store all world state information, and intra block transaction execution will update the state value of related objects in chainbase, so the real-time information of world state is stored in chainbase. When the client queries the information in the chain base through the get table records interface, it actually trusts the interface provider, so as to trust the correctness of the data it provides; moreover, the interface can only provide real-time status information, and cannot query the high status value of the specified block. The ultrain world status verification scheme can specify the block high query status information and provide the Merkel path information required for the status information verification, so as to remove the trust dependence on the interface provider.</p><p>In the ultrain world state verification scheme, each miner node serializes all the changes made to the world state by all the transactions in the block (i.e. the changes to the data stored in the chainbase) at the end of the block transaction execution, and organizes them into the leaf nodes of the Merck tree in a certain order, and then calculates the Merck root value of the world state change of the block layer by layer, The calculated Merkel root value is saved in memory. When the block height reaches a certain interval (for example, every 100 blocks), make another Merkel root numerical calculation for the world state change of all blocks in the interval, and write the result (called the world state change cumulative Merkel root value) and the block height of each block in the interval and the corresponding Merkel root value into the file system. In order to prevent the performance of the main thread from being affected, this part of the logic is completed by a separate thread. All miner nodes will write the accumulated Merkel root value of the world state change into the system contract through the on chain transaction, and the value will take effect only when more than 2 / 3 miners report the same Merkel root value.</p><p>In order to provide the query function of world state verification, it is necessary to set the nodes that provide the query service of world state. Select a non miner node (that is, a node that only receives transactions and blocks and does not participate in the consensus process) and store all the changes to the world state in each block to the file system after the completion of the transaction execution, and respond to the data request of the verification query node and send the state change data to the query node for storage. The query node uses rocksdb to store the modification of each block to the world state, including block num, sequence, and modification content (the modified specific state content); while storing each block of data, the query node, similar to the miner node, calculates the Merkel value of the corresponding world state change of each block, and stores the value in Rocksdb. In addition, the query node provides a query interface for the light node to respond to its query request.</p><p>When a light node queries and verifies a specific world state, it needs to go through the following three steps:</p><p>1）First, the get table rows interface is used to query the specific world status values. The interface needs to input the data table information (code, scope, table) where the world status is to be queried and the block height information</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gugWWrjbwFDId8XEnxNSiw.jpeg" /></figure><p>The returned data includes the specific information of the status (such as the account balance of the data field in the example) and the binary bytes corresponding to the information (raw field in the example, which can also be generated by the light node according to the ABI file of the contract); in addition, the interface will return the block ﹐ num and sequence information corresponding to the modification of the world status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lUhMArIWR5_DhqWstXDnIg.jpeg" /></figure><p>2) According to the block height and sequence number information returned by get table rows interface, obtain the corresponding sequence information of Merkel tree required to verify the status. The light node calls the following interface:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hWRvyqkqQ5DDblt08O9GCw.jpeg" /></figure><p>The paths field returned by this interface is the Merkel tree sequence information:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z65aR-oCs6noa8t_cb-5Bg.jpeg" /></figure><p>3) According to the raw data returned from get table row and the paths data returned from get table row proof, the light node can call the following interface to calculate the Merkel tree root value (the light node can also implement its own logic of calculating Merkel root according to the raw and paths data):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gjVZgtoZLJM1cQg5ubjWBA.jpeg" /></figure><p>The interface returns the calculated Merkel root value, which can be compared with the corresponding value written into the system contract by the miner node through transaction. The same value means that the verification is passed (in this example, the height of the block with the world state change is 34186, if the block interval selected by the miner node is 100, the Merkel root corresponding to the block height of 34200 should be read from the system contract Comparison of values).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aWqhUiG7YAjE0QmfYABkYQ.jpeg" /></figure><p>To sum up, the interaction process between light nodes and query service nodes is shown in the following figure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N5lLe8WWxZEv9_tsH0PMrQ.png" /></figure><p>The SPV scheme of bitcoin, the state verification scheme of Ethereum and the state verification scheme of Ultrain are described in this paper. We can see that the light node does not need to resynchronize a large amount of data to verify that the transaction actually happened, and to verify the specific value of the world state at a certain time. Therefore, the storage and computing resources required by the light node are greatly reduced Running light nodes on devices, such as Internet of things devices, realizes the combination of Internet of things and blockchain technology, enabling more business scenarios.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22f9bbcb17af" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ultrain-chain/how-to-reduce-the-cost-of-running-a-blockchain-full-node-there-is-a-new-light-node-solution-here-22f9bbcb17af">How to reduce the cost of running a blockchain full node? There is a new light node solution here</a> was originally published in <a href="https://medium.com/ultrain-chain">ULTRAIN</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ultrain Monthly Report(4.13–5.10)]]></title>
            <link>https://medium.com/ultrain-chain/ultrain-monthly-report-4-13-5-10-85145d278369?source=rss----be2265daf451---4</link>
            <guid isPermaLink="false">https://medium.com/p/85145d278369</guid>
            <dc:creator><![CDATA[ULTRAIN]]></dc:creator>
            <pubDate>Wed, 13 May 2020 08:15:15 GMT</pubDate>
            <atom:updated>2020-05-13T08:15:03.719Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I_PaOuSTDLMKgeAAoR0B0w.jpeg" /></figure><p><em>Following is the monthly report on the progress of the project from Apr. 13th -May- 10th, which contains two items: project development progress and community dynamic update. It is for the community members to check. Thank you for your attention.</em></p><h3>Technology Update from Ultrain （4/13–5/10）</h3><p><strong>Ultrain’s Core Technology</strong></p><p>1) Complete the node code to support the development of the national secret algorithm switching function;</p><p>2) Complete the development and deployment test of the light node world state Merkel verification scheme code;</p><p>3) The performance of the OpenSSL national secret component SM2 is optimized, and the performance of verification is increased by 400%;</p><p>4) The system contract is increased to provide a new solution for large-volume lock-up;</p><p>5) Develop a new solution for the Windows version of the family mining machine;</p><p>6) The system adds a transaction signature verification preprocessing and caching mechanism, and the overall TPS of the system is increased by 30%.</p><p><strong>Ultrain’s Ecosystem</strong></p><p>1) S.I.R. completes the development of the shop assistant activity and officially launches it;</p><p>2) A new version of the S.I.R Merchant is released in the background, with online fund management, commodity management, store opening assistance and other functions;</p><p>3) Complete the technical docking of the blockchain game stationed in the S.I.R system, and complete the preparation of the business online.</p><p><strong>Ultrain Developer Kit</strong></p><p>1) Complete U3 SDK to add national secret algorithm to support code development and testing;</p><p>2) Complete the reconstruction of UltrainOne code and upgrade to use the latest version of RN.</p><h3><strong>Ultrain’s Latest Community &amp; Event Update</strong></h3><p><strong>Ultrain released “Adaptive Dynamic Networking” function on time</strong></p><p>On April 15, Ultrain successfully completed the release of the “Adaptive Dynamic Networking” function according to the planning of the 2020 technology roadmap. The code was released on Github as follows:</p><p><a href="https://github.com/ultrain-os/ultrain-core-production/tree/4.0.0">https://github.com/ultrain-os/ultrain-core-production/tree/4.0.0</a></p><p>This article describes in detail how Ultrain’s “adaptive dynamic networking” function is designed technically, welcome to read the original text, technical breakthroughs | Adaptive dynamic networking method to improve the efficiency of blockchain consensus.</p><h3>Ultrain S.I.R. completed version iteration</h3><p>Ultrain independently developed a one-stop user growth technology service platform based on a small program store. The super-item system has completed iterations. It has a variety of powerful tool libraries to support the needs of merchant stores in multiple scenarios: SMS and subscription notifications, merchandise Fission posters, user relationship management … In the future, there will also be functions such as social dynamics and interaction, live broadcast playback, etc.</p><p>At present, Superphysical is engaged in store exploration and nugget activities, inviting merchants from all walks of life to open stores, and you will receive a reward for opening a store. Permanently receive 1% of the order transaction amount as a reward.</p><p><strong>Ultrain co-founder &amp; CEO Guo Rui was interviewed by technology practitioners</strong></p><p>Recently, Guo Rui, co-founder and CEO of Ultrain, was interviewed by “Technologists” to discuss the opportunities that the blockchain industry can grasp in the new infrastructure environment, and said that the public chain is the key to building a new type of trust relationship.</p><p>“Technology Walker” is an intelligent information service platform dedicated to recording and promoting AI industry applications, industrial development, technological innovation and AI Democracy. This time, the “Blockchain Revelation” column was launched to visit blockchain practitioners. In order to discover new opportunities and bring inspiration to the blockchain industry, Guo Rui is an important member of the interviewees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*4e5eUezl6w-CeFiRluHevg.jpeg" /></figure><p><strong>Ultrain technical in-depth article released</strong></p><p>Recently, Ultrain technical experts wrote a special article to explain how Ultrain can reduce the cost of running full-node blockchain and expand the application scenarios of blockchain technology. On the basis of them, a new light node scheme is proposed, which can not only meet the functional requirements of verifying the specific value of the account at a certain time when the verification transaction has occurred, but also meet the performance and robustness requirements of the consensus. The performance is more than 10 times that of the Ethereum solution.</p><p>The above is the progress report of Ultrain from Apr 13th to May 10th, looking forward to more exciting contents after that!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85145d278369" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ultrain-chain/ultrain-monthly-report-4-13-5-10-85145d278369">Ultrain Monthly Report(4.13–5.10)</a> was originally published in <a href="https://medium.com/ultrain-chain">ULTRAIN</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Technological breakthrough | Adaptive dynamic networking method to improve the efficiency of…]]></title>
            <link>https://medium.com/ultrain-chain/technological-breakthrough-adaptive-dynamic-networking-method-to-improve-the-efficiency-of-45f40d1dd5e2?source=rss----be2265daf451---4</link>
            <guid isPermaLink="false">https://medium.com/p/45f40d1dd5e2</guid>
            <dc:creator><![CDATA[ULTRAIN]]></dc:creator>
            <pubDate>Mon, 27 Apr 2020 10:06:29 GMT</pubDate>
            <atom:updated>2020-04-27T10:06:05.079Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Technological breakthrough | Adaptive dynamic networking method to improve the efficiency of blockchain consensus</strong></h3><p>On April 15th, Ultrain successfully completed the release of the “Adaptive Dynamic Networking” function according to the planning of the 2020 technology road map.</p><p><a href="https://github.com/ultrain-os/ultrain-core-production/tree/4.0.0">https://github.com/ultrain-os/ultrain-core-production/tree/4.0.0</a></p><p>One of our technical goals this year is to hope that through blockchain technology, we will focus on empowering fully competitive industries and helping them to establish low-cost mutual trust franchise business models.</p><p>We envisage such a business scenario, a provincial catering alliance with 1,500 franchised stores with more than 20 catering brands in the province. They hope to achieve the exchange of catering consumption points within the alliance so that consumers can redeem within the brand points can be exchanged for use in more than twenty brands. In the traditional business environment, this kind of assumption is difficult to establish, because the points platform is generally built and controlled by the leader. Under traditional technical means, even if the leader shows how open and transparent, it is difficult for the affiliated companies to trust The platform does not violate the rules and secretly issues additional points, because this is an act that can directly bring benefits to the leader, and it is difficult for the leader to prove himself innocent here.</p><p>We can solve this problem with Ultrain blockchain technology. We can deploy 1500 nodes in 1500 franchise stores. Each franchise store provides its own computer and installs Ultrain blockchain software on the computer. The computers are organized into an Ultrain blockchain network, and the behavior data such as the issuance, circulation, exchange, and consumption of points will be directly recorded in the Ultrain blockchain network, and the data will be synchronized to these 1500 computers at the same time. Modify or delete the relevant data of these points, in this way, all franchise stores can trust this set of points system and join the operation.</p><p>If blockchain technology can support this business scenario, we have multiple technical points to break through. For example, the computer is controlled by each store, some computers may run for a long time, some computers may only be turned on when the store is at work, and will be turned off after work, and the work hours of each store are different, so the computer is turned on and off The time will also be different; at the same time, because it is running on the public network, the network status will be good and bad, and there may be situations where some computers suddenly deteriorate the network status and cannot connect to the network. Therefore, we are faced with the situation of a dynamic computer network. There are computers joining and exiting at any time in this network, and the number of online computers is not fixed.</p><p>In the traditional blockchain BFT consensus protocol, if more than 1/3 of the computers in the network are offline and not in the network, the entire blockchain network will be paralyzed. However, in the above business scenario, this situation is likely to occur. Ultrain’s “adaptive dynamic networking” technology effectively solves this problem. In the process of the gradual decrease of the number of nodes in the Ultrain blockchain network due to various reasons, the Ultrain network can dynamically adapt to this process. Even in the case where more than 1/3 of the computers in the network are offline, the Ultrain network can be kept Long-term stable operation. After the disconnected node comes back online, the Ultrain network will also automatically connect these “resurrected” nodes to the network and let it continue to provide services.</p><p>Now let’s introduce how the “Adaptive Dynamic Networking” function of Ultrain is designed technically.</p><p>Blockchain is a special distributed database. The system generates accounting nodes in committee nodes according to a certain consensus algorithm, records and modifies information on the chain, and synchronizes to all committees. The consensus algorithm based on BFT has the following two problems:</p><p>1. With a certain probability, the members of the committee that are not online are selected as the accounting nodes, and effective blocks cannot be produced. This will lead to empty blocks in the current accounting process.</p><p>2. When a large number of committee members gradually go offline, the consensus algorithm of BFT cannot be completed, and the system will be stuck in the current round and cannot continue. The entire blockchain network is paralyzed.</p><p>Ultrain proposes a solution based on discrete heartbeat signals for two issues of consensus. Each monitored node is set with a separate monitoring time to prevent startling effects.</p><p><strong>Adaptive dynamic networking includes the following steps:</strong></p><p>1) The number of all effective committee members in the blockchain is m, and the BFT consensus algorithm will generate a data block on the blockchain within each block generation period t;</p><p>2) To deploy a heartbeat monitoring smart contract on the blockchain, all valid committee members in the blockchain must send the sign-in transaction in the heartbeat monitoring smart contract within the specified time interval T, complete the sign-in on the chain, and then extract nodes for inspection Remove valid committee members who have not checked in.</p><p>Setting different checkpoints for each group (one) node can effectively prevent the instantaneous system paralysis caused by the shock group effect.</p><p>Extract nodes for inspection, and remove valid committee members who have not checked in, including:</p><p>A) Divide the interval time T into n time nodes (slots, hereinafter referred to as checkpoints), and the interval of each checkpoint is T / n;</p><p>B) Based on the association of the nodes, divide the nodes into several sets;</p><p>C) A node is randomly selected from each valid set for inspection to form a sampling set for this checkpoint;</p><p>D) No sign-in will be removed from the effective committee;</p><p>E) For the set with abnormal nodes, the sampling weight α will be increased at the next checkpoint;</p><p>In step A), n is determined by the correlation degree δ, and the range of the correlation degree δ is 0 ~ 1.</p><p>In step B), based on the association of the nodes, the nodes are divided into several sets, including:</p><p>a) Divide all nodes into 24 sets Ci, where 0≤i≤23;</p><p>For blockchain nodes, whether they can provide computing power normally is closely related to time. Therefore, we use the time zone division method to first divide all nodes into 24 sets, set Ci (0≤i≤23);</p><p>b) The set with no more than Min nodes is unified to the left, where Min is set to 3% of the total number of nodes;</p><p>For example, if the number of Ci nodes in the set is less than Min, then they are grouped into the Ci-1 set;</p><p>c) Delete the empty collection generated after the collection to get a valid collection;</p><p>d) A two-dimensional feature attribute is used to describe the node (X, Y), where X is the number of the time zone to which it belongs, and Y is the number of historical blocks of the node;</p><p>e) Select</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/42/1*M_4a-xnjGW2BdpX3cJ2OeQ.png" /></figure><p>centroids for each effective set,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*b-Ih-FJGFUzIkUuwJ5mrTA.png" /></figure><p>where N (Ci) is the number of nodes in the set Ci;</p><p>f) Nodes (X, Y) and</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/42/1*M_4a-xnjGW2BdpX3cJ2OeQ.png" /></figure><p>centroids use K-Means algorithm to find K node clusters, among which,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/180/1*Fyo1JfLPHzuL-0QSsM0Lzw.png" /></figure><p>complete the node division into several sets;</p><p>Using the K-Means algorithm, (X, Y) can be set according to specific network characteristics. For example, for a time-sensitive network, the X weight can be set to 99%, and the Y weight can be set to 1%.</p><p>In step E), the set of nodes where the problem is checked at this checkpoint, according to their relevance, the probability that there are still abnormal nodes becomes higher, so in the next sampling, the weight α is increased.</p><p>In this scheme of Ultrain, the h abnormal committee nodes are screened in time by the heartbeat method (contract) and the committee is removed, then the number of effective committees becomes m ’= m-h.</p><p>Each round of consensus selects the accounting node only from the effective committee, which can effectively avoid the offline committee.</p><p>At the same time, the scheme will temporarily remove the abnormal node from the committee. Even if this part of the node participates in the consensus, it will be treated as an invalid node, which will prevent the occurrence of evil.</p><p>When the committee comes back online and sends the heartbeat method, the system adds it back to the list of alternative committees. Can continue to participate in consensus.</p><p>This solution of Ultrain divides the online status of the system committee into 5 categories:</p><p>1. Low risk, less than 5% of offline nodes;</p><p>2. Medium and low risk state, 5% -15% of offline nodes;</p><p>3. Medium risk state, offline nodes 15% -30%;</p><p>4. High-risk state, offline nodes 30% -33%;</p><p>5. When the downtime state exceeds 1/3, the node is not online.</p><p>Compared with the existing technology, this solution of Ultrain has the following advantages:</p><p>The common heartbeat monitoring in the prior art generally has a uniform monitoring period T. When the time is up, it detects which nodes have not sent heartbeat messages in time. This will bring a potential risk, that is, the nodes that exceed the threshold at a certain period are abnormal at the same time. This phenomenon will bypass the heartbeat monitoring system and bring a catastrophic blow to the system. The probability of this situation is proportional to the monitoring period T. In this scheme of Ultrain, setting different checkpoints for each group (one) node can effectively prevent the instant system paralysis caused by the shock group effect.</p><p>Next, we quantitatively prove that this scheme is significantly better than existing heartbeat monitoring.</p><p>Specifically, assuming that the total node set M = 96, the nodes are independent of each other, and the probability of abnormal occurrence of each node p = 10%, and the probability of simultaneous abnormality of nodes exceeding f = 1/3 P = p ^ (m * f) Is very low.</p><p>But complete independence is theoretical, and in reality, many nodes have relevance. On the network, some habits of the operator. For example, some nodes will be turned off at night. This greatly increases the instability of the blockchain.</p><p>We further simplify the model, forming M = 96 according to the step k-means algorithm to form a K group, the nodes in the group are related, the correlation coefficient δ = 1 (that is, the degree of association δ = 1), and the groups are independent of each other.</p><p>We assume that at a certain time, multiple nodes of the system are down, the system enters a high-risk state, and will be down at any time, and the probability of empty blocks is close to 1/3, and the system is in a low availability state. Risk state time to prove the advantages of this program.</p><p>According to our definition of the node group model above, suppose that the nodes of the two groups are down, the set B of the downtime, any bi∈B is not online, | B | = 32, B∈M we need to detect more than y = 5 nodes to get the system out of high-risk areas.</p><p>We divide the period T into M / K checkpoints. At each checkpoint, a node is randomly selected from the K-node cluster to check the punching of the heartbeat method.</p><p>At the first checkpoint, a node is randomly selected from the K node clusters obtained by the k-means algorithm in step 2 to form a set H, where H ∈ m if | H∩B | ≥5, it is set H and B The number of intersections exceeds 5, which means that at the first checkpoint, more than 5 outage nodes are detected, making the system out of the high-risk area. The probability of this event:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*kBteJo4YUFn3bBHPZkEPfg.png" /></figure><p>Among them, P (| H∩B | ≥5) represents the probability that the number of intersections of sets H and B exceeds 5.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/62/1*BCpt65YtVwmPP_cuWG22Kg.png" /></figure><p>represents the combined type of k nodes extracted from the total set M,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/52/1*k9ZLrzMryiCp1bmEWpK3nA.png" /></figure><p>means that from the set B, that is, the set of faulty nodes, the type of the i elements is taken from the elements (0≤i≤4),</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/104/1*OZvkdiwNK57jkY0sp1o2vg.png" /></figure><p>k-i node combination types are extracted from the M-B set, and the probability that more than 5 outage nodes can be detected before the nth (1≤n≤6) checkpoint is determined by the recursive method, as shown in Table 1:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*eTpoipSz5cYhv-JfOq9dUQ.png" /></figure><p>From the data analysis, it can be seen that the system recovers from the high-risk state with a probability of 67.9% at T / 6, while the probability of the system recovering from the high-risk state at T / 3 exceeds 99.9%, which is much better than the fixed time monitoring algorithm.</p><p>Using time-shared random monitoring, the expected time to recover from a high-risk state changes from T to 0.22T.</p><p>Obviously, if we can divide T into more time periods, the time can be expected to move more, as shown in Figure 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*P7NTzUaoJonzcaOjJaLY9g.png" /></figure><p>It can be seen that the expected recovery time does decrease with the increase of detection density, and different parameters can be set according to different system requirements.</p><p>After using this scheme, the blockchain consensus algorithm will be more robust.</p><p>When some nodes begin to go offline gradually, they will stop sending heartbeat transactions, and the blockchain system will sense this change in time and strip the abnormal committee members from the committee.</p><p>BFT’s consensus algorithm is fault-tolerant for a small number of committee members offline. But when the offline node exceeds 1/3 of the committee, the system cannot reach the consensus of BFT, and then becomes paralyzed. This solution will promptly remove the invalid committee members from the committee to repair the BFT system, so that the entire consensus system can continue to operate effectively.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45f40d1dd5e2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ultrain-chain/technological-breakthrough-adaptive-dynamic-networking-method-to-improve-the-efficiency-of-45f40d1dd5e2">Technological breakthrough | Adaptive dynamic networking method to improve the efficiency of…</a> was originally published in <a href="https://medium.com/ultrain-chain">ULTRAIN</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ultrain Monthly Report(03/16–04/12)]]></title>
            <link>https://medium.com/ultrain-chain/ultrain-monthly-report-03-16-04-12-7df4506117?source=rss----be2265daf451---4</link>
            <guid isPermaLink="false">https://medium.com/p/7df4506117</guid>
            <dc:creator><![CDATA[ULTRAIN]]></dc:creator>
            <pubDate>Wed, 15 Apr 2020 08:10:47 GMT</pubDate>
            <atom:updated>2020-04-15T08:10:37.192Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I_PaOuSTDLMKgeAAoR0B0w.jpeg" /></figure><p><em>Following is the monthly report on the progress of the project from Mar. 16th -Apr. 12th, which contains two items: project development progress and community dynamic update. It is for the community members to check. Thank you for your attention.</em></p><h3>Technology Update from Ultrain （3/16–4/12）</h3><p><strong>Ultrain’s Core Technology</strong></p><p>1) According to the Central Bank’s “Financial Distributed Ledger Technical Security Specification” compliance check and improve the node code;</p><p>2) The node code adds national secret algorithm support to the transaction account;</p><p>3) Establish an on-chain data table to support miners’ daily reward data on-chain storage;</p><p>4) Optimize the historical data query code and improve the browser query response speed;</p><p>5) Calculate the Merkel tree hash of the world state change data to provide world state data verification.</p><p><strong>Ultrain’s Ecosystem</strong></p><p>1) A new version of the user relationship diagram, store settings and other functions are launched on the backstage of the merchant, which completes the development of funds management, product management, store opening help and other pages, and is scheduled to go online at the end of April;</p><p>2) The new version of the Hyper-physical APP is launched, optimizing the rich text display on the product detail page, optimizing the homepage effect and other functions;</p><p>3) Optimize the merchant entry process, complete function development such as shop reward activities and shop package purchase, and plan to go online after passing the test in early May.</p><p><strong>Ultrain Developer Kit</strong></p><p>1) U3 SDK adds national secret algorithm support;</p><p>2) Optimize the Ultrain One wallet wealth page to support reading on the miner reward data chain;</p><p>3) Optimize Ultrain One wallet transfer code to improve transfer response speed.</p><p><strong>Ultrain’s Latest Community &amp; Event Update</strong></p><p><strong>Ultrain overseas ambassadors synchronized the development of the blockchain industry around the world</strong></p><p>In March, due to multiple factors, the global financial market was in crisis. But at the same time, in this special period, emerging technologies such as blockchain have also accelerated. Ultrain’s overseas ambassadors conducted a survey to provide you with an in-depth understanding of the development of the blockchain industry around the world.</p><h4>Ultrain wished community members a happy April Fools’ Day!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*juJiUaOqd1eqkTC3V-Hkhg.png" /></figure><p><strong>Ultrain launched the technology roadmap of 2020</strong></p><p>The Ultrain mainnet has been running steadily for a year since it was launched on 2019.4.15. On the basis of technical stability and shaping, Ultrain ’s main task in 2020 is to achieve the commercial implementation of blockchain technology, and it has clarified the business model that hopes to be empowered by Ultrain technology in 2020: in a fully competitive industry To establish a mutual trust franchise business model through low cost.</p><p>In order to achieve this goal, Ultrian’s technology needs to be further upgraded from the following aspects in 2020: 1. Compliance with business compliance requirements; 2. Consensus innovation; 3. Blockchain privacy protection. We have further divided the technical route.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KepSZgXup73iXP-w_yH3hA.png" /></figure><p>The above is the progress report of Ultrain from Mar 16th to Apr 12th, looking forward to more exciting contents after that!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7df4506117" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ultrain-chain/ultrain-monthly-report-03-16-04-12-7df4506117">Ultrain Monthly Report(03/16–04/12)</a> was originally published in <a href="https://medium.com/ultrain-chain">ULTRAIN</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The State of the Global Blockchain Industry under Corona Virus Panic]]></title>
            <link>https://medium.com/ultrain-chain/the-state-of-the-global-blockchain-industry-under-corona-virus-panic-e3b645d4dca8?source=rss----be2265daf451---4</link>
            <guid isPermaLink="false">https://medium.com/p/e3b645d4dca8</guid>
            <dc:creator><![CDATA[ULTRAIN]]></dc:creator>
            <pubDate>Tue, 24 Mar 2020 08:24:50 GMT</pubDate>
            <atom:updated>2020-03-24T08:24:33.817Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*RCnuAuoAgRikokRV0rPGYw.jpeg" /></figure><p>Just over half this week, it is already a “black week.” Affected by the new Corona-19 Virus epidemic, the Federal Reserve’s emergency interest rate cuts and other factors, the global financial market continued to be volatile.</p><p>After March 9th and March 12th, on March 16th, U.S. stocks melted down again, and major global stock markets fell. As a result, People joked: “Recalling the last meltdown in the history of U.S. stocks, it seemed like a few days ago.”</p><p>Correspondingly, the previous market situation of the blockchain market is also a cloud of misery, and the trend of continuous decline has made many investors discouraged.</p><p>However, looking back at the history of human society, “peril” and “opportunity” always coexist. The shortcomings exposed by the epidemic prevention and control are obvious. In fact, the problems of transparent donation information, traceability of items, and privacy protection are actually forcing the accelerated development of big data, blockchain technology, and artificial intelligence.</p><p>China is undoubtedly at the forefront of this point. As early as February, Alipay officially launched an epidemic prevention material information service platform, which is different from other material information platforms. This platform uses ant blockchain technology and is led by the Zhejiang Provincial Health Construction Commission and the Economic and Information Bureau. Information on supply, transportation and other links will be reviewed and stored on the chain. At the same time, Alipay also provides blockchain program power to the epidemic-related small program developers for free forever and special funding support.</p><p>According to Alipay’s official introduction, in public health emergencies such as New Coronary Pneumonia, the recipient may not be the final recipient and needs to be distributed by a third party under unified management. However, no matter how many links go through, the blockchain’s entire record is kept, the parties confirm that it can’t be changed, and can be traced efficiently. In addition, there are many blockchain applications in the bud.</p><p>What is happening at home and abroad? We have conducted research through many overseas ambassadors. Below, let us understand the development of the blockchain industry around the world through their perspective.</p><p><strong>Indian community:</strong></p><p>According to the blockchain development , India is doing good..</p><p>Infact government also believe in blockchain and doing working in this field, lots of exchanges also doing good to help crypto transaction, like Bitbns, Wazirx, Coindcx, Giottus,</p><p>wazirx partnership with Binance and Bitbns and Coindcx partnership with Okex, so you can understand how the two worldwide popular exchanges are eyes on Indian market…</p><p>lots of developers coming from India and work in many crypto projects like Harmony, Perlin, Raven protocol, Matic network, Tezos etc…</p><p>Indian crypto projects doing very well, you can see matic, marlin protocol, fesschain, zebi, cashaa,</p><p>Infact some big names like ethereum, ada, tezos, and cosmos team also establish his foundation in India also..</p><p><strong>Indonesian community:</strong></p><p>Indonesia is one of the major countries in the world. so, there are many investors and the Indonesian crypto community. To be able to serve investors and a large community, the largest exchange opening in Southeast Asia is the Indodax Exchange which has offices in Jakarta and Bali.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*RFkspNqdP8ZZ15WnZfQ69A.jpeg" /></figure><p><a href="https://indodax.com/login">https://indodax.com/login</a></p><p>(https://twitter.com/indodax/status/1237604189573808128?s=20)</p><p>Indonesian people like to trade and invest crypto because there is no third party or a big tax from the government. There are several stores in Indonesia that accept crypto payments with quick transactions through BlockHain.</p><p>https://indodax.com/login（https://twitter.com/indodax/status/1237604189573808128?s=20）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yrfqg7fcShlC68VOEhaTXw.png" /></figure><p>Vexanium list on dapp.com</p><p>Vexanium is from Indonesia</p><p><a href="https://www.vexanium.com/">https://www.vexanium.com/</a></p><p><a href="https://blockchainmedia.id/survei-terbaru-10-persen-orang-indonesia-punya-aset-kripto/">https://blockchainmedia.id/survei-terbaru-10-persen-orang-indonesia-punya-aset-kripto/</a></p><p>a survey of 10% of Indonesians own Crypto assets. one of the reasons I’m interested in blockchain and buying Bitcoin and Altcoin is for example “If I buy 1000kg of Gold and move it to another country, there will be a lot of cost and energy spent! “</p><p>But, if I buy 1000 Bitcoin and move it to another country with blockchain technology. Is it as complicated as moving 1000 kg of Gold?</p><p><strong>African community:</strong></p><p>Blockchain adoption, awareness, and education in Africa is on the rise, from recent times there has been a huge report of how the traditional narrative of BITCOIN getting more exposure and awareness, but blockchain communities and adoption in Africa has grown far beyond Bitcoin usage, although a very large part of the enthusiasts and users are still very much focused on Bitcoin.</p><p>Africa has been tagged the future of bitcoin in recent times, I believe this is because there is obviously a large gap of remittances and decentralized banking that could be covered using blockchain technology itself. Bitcoin Adoption is predominantly in 5 African Countries, as BitcoinAfrica.io reported recently, most bitcoin adoption is occurring in five African countries. We noted that three African countries ranked in the first ten for the search “bitcoin” on Google Trends. In the past three months though, Nigeria, South Africa, and Ghana have now taken the first three spots respectively. The other two countries we mentioned were Kenya and Zimbabwe.</p><p>Paxful, one of the biggest peer-to-peer exchange in Africa, said the continent accounted for the highest number of new subscribers per month in 2018.</p><p>Aside from remittances and borderless transactions that can be achieved using blockchain, there are a handful of other use cases that have been recognized from transportation to the gaming and lottery industries, reports of companies utilizing decentralized ledger technology (DLT) across the continent are emerging. Several stakeholders in the African blockchain scene say DLT is the key to solving the developmental issues plaguing the continent as a whole. They also believe the technology provides a platform for Africa to elevate itself to a position of greater relevance in global affairs.</p><p>In terms of government appraisal of the technology African countries have been quite indecisive in their gestures, many countries are neutral and unbothered, few are warning citizens against the virtual vibe while very few are looking at adopting and have released official wording as regards the technology and space. In the midst of uncertainty and indecision by government certain Countries Nations such as Kenya and Nigeria have announced plans in recent months to pursue regulation and greater cooperation with the private sector to leverage the benefits accruable from blockchain utilization.</p><p>Nigeria, in particular, has one of the largest fintech communities in Africa followed by Kenya, the presence of tech-savvy communities has helped a lot in the growth of the blockchain communities in these regions and attracted a handful of existing/listed projects to create communities and incubation hubs in Nigeria, also there are several blockchain startups which are natively from Nigeria. There have been several interests in the incubation of startups in Nigeria with the likes of Binance launching a 10week incubation program for startups in Africa to the tune of USD120,000.</p><p>As part of the adoption seen and noticed in Nigeria the Nigeria Union of Road Transport Workers (NURTW) and a group of partners in the private sector have already launched a blockchain-based scheme targeted at improving interstate road transportation. Stakeholders of the project say the program will improve safety, record keeping and insurance for road travelers. This is an instance of use cases and adoption in Nigeria, also on a smaller scale there is a test of e-voting systems on blockchain in several universities in Nigeria using platforms like aeternity.</p><p>Aside from the above engagements in blockchain Africa Has Several Local Exchanges that are Pushing Adoption, It is often said that innovation drives adoption and eventually legislation. Currently, local exchanges are at the forefront of innovation in the crypto industry and driving adoption on the continent.</p><p>There are now several exchanges that offer Africans the opportunity to buy and sell bitcoin and other cryptocurrencies using local currency. Luno, Btfxt, Ice3X, Golix, and NairaEx are some of the longest-standing, and more recently launched ones include Guava, Quidax, and Bitmama.</p><p>African cryptocurrency exchanges — allowing people to trade several digital currencies against local currencies — have presented a valuable prospect in the short term for crypto adoption. We expect more exchanges to launch in Africa in the coming months and years, especially in countries that are still underserved by existing trading platforms.</p><p>It is vividly noticed that adoption in Africa is definitely on the rise as several projects and products are being launched also several events such as conferences and meetups are hosted from time to time on the continent, this is definitely the beginning of adoption in Africa and much more is expected to fall in with time.</p><p><strong>Turkish community:</strong></p><p>Last week first corona virus seen in turkey and minister of health made a statement about corona. He said there are more corona virus patiences. After this everything is changed. People suddenly panicked. Really it was very interesting. people overreacted. people attacked the markets for shopping. Prices of cleaning and antipyretic things have increased. For example Turkish people uses cologne too much.. They said cologne is very good protector and cleaner and then people attacked cologne and cologne price is 10x increased. Yesterday schools are closed and there will be online education. Every meetings are canceled. Also i have 2 friends who are working at tourism sector. People canceled their vacation plans. Really this is a very good lesson for the world. Corona virus is a warning and shows that every one in the world are brothers and sisters. We are living together. If we take our lesson everything will be better.</p><p>Ezcacıbaşı company and turkey blockchain platform are developing some blockchain projects ..Especially the customs minister, etc. There are projects carried out with ministries.Exchange Istanbul ( BIST ) launched a blockchain project on gold commodity. People do not know the blockchain too much, they do not know the benefits, but the cryptocurrency adaptation is very high, they use it only for speculation. We can say that there is a superficial awareness about blockchain! Blockchain dapps are not very common, there are some projects but they are not strong in terms of R&amp;D, copying ready solutions or making minor contributions.</p><p><strong>Korean community:</strong></p><p>Blockchain technology is used in a number of fields in Korea. For example, blockchain technology is used to manage container ships in ports in Busan, a port city, and insurance companies have already incorporated blockchain technology.</p><p>In Korea, the perception of blockchain technology is generally good. Internet giant company, Kakao has established a subsidiary called GroundX and launched its own blockchain, Klaytn. Naver also made its own blockchain platform, LINK, through its subsidiary Line in Japan.</p><p>For this reason, Korean people’s perception of blockchain is higher than any other country.</p><p>Currently, a dapp widely used in Korea is Klaytn bapp. ‘해먹남녀’, ‘Antube’, ‘핏츠미’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*4ivGqc0DqZRksZrTM0sjzQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3b645d4dca8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ultrain-chain/the-state-of-the-global-blockchain-industry-under-corona-virus-panic-e3b645d4dca8">The State of the Global Blockchain Industry under Corona Virus Panic</a> was originally published in <a href="https://medium.com/ultrain-chain">ULTRAIN</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ultrain Bi-Weekly Report(12/30–1/12)]]></title>
            <link>https://medium.com/ultrain-chain/ultrain-bi-weekly-report-12-30-1-12-9282390bcfd1?source=rss----be2265daf451---4</link>
            <guid isPermaLink="false">https://medium.com/p/9282390bcfd1</guid>
            <dc:creator><![CDATA[ULTRAIN]]></dc:creator>
            <pubDate>Sun, 19 Jan 2020 08:00:34 GMT</pubDate>
            <atom:updated>2020-01-19T08:00:24.649Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NmhQsCG1jj6lRx2hBEeBkQ.jpeg" /></figure><p><em>Following is the biweekly report on the progress of the project from Dec. 30th -Jan. 12th, which contains two items: project development progress and community dynamic update. It is for the community members to check. Thank you for your attention.</em></p><h3>Technology Update from Ultrain （12/30–1/12）</h3><p><strong>Ultrain’s Core Technology</strong></p><p>1) Separate and restructure the resource contract and system contract, and complete the renewal of resources on the merchant chain;</p><p>2) Organize and perfect the state of the world, multi-chain and resource management design documents and release them to the outside world.</p><p><strong>Ultrain’s Ecosystem</strong></p><p>1) Complete the automated test functions of ultrain-ts-lib and ultrascript on the testnet pioneer chain;</p><p>2) Improve the static check ability of contract code, develop and write tslint for contract;</p><p>3) S.I.R. platform completes the development of functions such as return and exchange, verification of graphic sensitive words, custom store homepage, etc .; completes the development of price protection system, and enters the online testing phase;</p><p>4) S.I.R.-Apps and Mini Programs have completed the development of new versions, adding functions such as store / product recommendation, product preview and sharing.</p><p><strong>Ultrain Developer Kit</strong></p><p>1) Update UltrainOne to V2.6.1, launch UGAS red envelope, support sending UGAS red envelope through UltrainOne and share directly to WeChat friends;</p><p>2) UltrainOne added several DAPIs for DAPP to interact with Native, such as sharing, taking screenshots, downloading pictures, etc., and updated the developer documentation.</p><p><strong>Ultrain’s Latest Community &amp; Event Update</strong></p><p><strong>Ultrain technical director wrote an article to explain the state of the blockchain world</strong></p><p>In order to let more people understand the blockchain technology, the technical director of Ultrain wrote a special article explaining the meaning of the world state, the steps of designing and implementing the world state of different projects, and the solution when the state explodes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*sOlqaM7pJm3YcugbndnueA.png" /></figure><h3>Ultrain won the title of “Most Comprehensive Strength Technology Platform”!</h3><p>On January 6th, Ultrain was listed on Fruity Finance’s 2019 “Salute and Innovation” annual list, and won the honorable title of “Most Comprehensive Strength Technology Platform”! In the new year, Ultrain will make persistent efforts and create more brilliant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*-eudDyTLtA3VjoJCEc2PxA.png" /></figure><p>The above is the progress report of Ultrain from Dec 30th to Jan 12th, looking forward to more exciting contents after that!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9282390bcfd1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ultrain-chain/ultrain-bi-weekly-report-12-30-1-12-9282390bcfd1">Ultrain Bi-Weekly Report(12/30–1/12)</a> was originally published in <a href="https://medium.com/ultrain-chain">ULTRAIN</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>