News.EOS.WiKi Bilingual News & Info Of EOS

EOSIO 2.1:你必须知道的一切/EOSIO 2.1: Everything You Need to Know

E

译文/Translated:

EOSIO是一个不断发展的平台,其宗旨是促进部署和运营可靠、安全、可规模化的区块链。

我们不断解决开发者和行业的需求,同时也在加强EOSIO的整体实力,让它更快、可配置性更强、能够让更多开发者和公共及私人机构使用。EOSIO会继续充当适合开放网络和私人企业发展的区块链协议。

EOSIO 2.1 候选版本 

EOSIO2.1候选版本(RC)的产品开发是集体努力的结果,我们听取了社区的反馈和意见。这些声音让EOSIO升级成性能genghao 、规模化更强、更可靠的区块链协议。

我们在构建EOSIO协议上的区块链社交软件Voice的时候亲身遇到几个痛点,而EOSIO 2.1RC的功能集就针对了这些痛点。这些功能的目标是要改善开发者的易用程度,加强私人和公共区块链管理员可用的功能。

尽管EOSIO一直都是都很有新意、性能也一直很高,但是这个版本关注的是如何简化在平台上构建大规模应用以及部署以后如何维护这些应用的问题。这也反映了我们致力于减少区块链开发中一些复杂问题、让它能够获得更大的受众。

EOSIO 2.1 RC新的产品功能

构成EOSIO栈的大多数创意也都同样很好地支持公共和私人区块链部署。但是,在EOSIO 2.1 RC中,我们还引入了一个新的合规功能,专门用来让私人区块链系统管理员删除一些和上下文无关的数据,而不伤害系统功能。

EOSIO 2.1 RC还包含了额外的功能,优化了区块链数据存储、简化表管理,并为系统管理员提供了群选项。此外,根据社区反馈,它还升级了两个1.x数据导出工具的功能。

关键值表

键值 API提供了一个更灵活、更简化的方式让开发者创建和搜索链上表格。开发者还可以在创建表格以后修改表格结构,但目前的多索引表还做不到这个。

返回值操作

智能合约开发者能够直接处理操作的返回值,而不用利用打印语句或字符串解析。这样就能简化智能合约开发的过程。

用于数据库和键值API的RocksDB存储

现在我们支持RocksDB作为支持DB或键值 API的存储选项。这就让区块链系统管理员能够灵活地选择RAM或RocksDB来优化其工作下的Nodeos性能。

Nodeos故障转移解决方案

Nodeos现在支持针对区块生产者节点的集群,让区块链管理员能够采用行业标准的高可用性或灾害恢复架构。三个或以上的节点可以被部署成一个单一的逻辑生产者。如果主节点出问题了,合理配置过的系统会利用该解决方案获得行业领先的数据库和云服务中的相似的数据恢复保证,同时对服务的破坏控制到最小。

这个功能提高了在公共网络上生产区块的弹性,但同时它还为运行单个逻辑生产者的私链提供了特殊值。单一生产者链可以利用它提供即时的确定性,同时还有工具减少单点故障的风险。

删除和上下文无关的数据

不可改变性是区块链基础架构的核心宗旨之一,但有些时候把每个交易的所有数据无限期地储存起来又可能没有必要,甚至还会带来反作用。

从一开始,EOSIO就支持上下文无关数据这个概念,即这些数据可以被删除但又不会影响到链完整性。这个版本让管理员能够将某些数据设定为上下文无关,继而从区块链中删除该数据,同时保持系统稳定。

数据删除之后,完全验证就不可能了,只能进行轻量验证,这就需要对超级节点有信任。因此,删除上下文无关数据的功能只适用于私链用作实现更大的隐私、安全或监管合规的解决方案。

还要注意,只有在储存时就被设定成上下文无关的数据才会被删除。为了保证数据能够被完全删除,删除动作必须在网络的每个节点进行。在任何情况下,本功能都不会有意或无意影响一个公共网络的数据完整性。

Nodeos的设备支持

现在Nodeos支持和开源分布式追踪系统Zipkin集成。这样系统管理员能够为性能至关重要的应用优化Nodeos执行。

Fill-pg

根据社区的反馈和用户要求,我们还更新了Fill-pg来支持EOSIO 2.1。

我们的目标是构建解决方案,让每个人都能在EOSIO上构建应用,不管你是独立的开发者、初创公司还是知名企业。

联系我们

我们鼓励开发者测试EOSIO 2.1候选版的更多功能,并向我们提供反馈。如果你想为EOSIO 2.1 候选版提供反馈、和我们的团队紧密合作为开发者改进EOSIO,您可以联系我们的开发者关系小组developers@block.one

重要通知:所有提供的材料都受此重要通知的约束,您必须自行熟悉此间条款。该通知包含与我们软件、出版物、商标、第三方资源以及前瞻性声明相关的信息、限制和约束内容。通过访问我们的材料,您接受并同意此通知的条款。

原文/Original:

EOSIO is an evolving platform built to facilitate the deployment and operation of reliable, secure, and scalable blockchains.

We continue to address developer and industry needs while enhancing the overall capabilities of EOSIO, to make it faster, more configurable, and accessible to a wider range of developers as well as public and private institutions. EOSIO will persist as a blockchain protocol suitable for the growth of both open networks and private enterprises. 

EOSIO 2.1 Release Candidate

The product development effort for the EOSIO 2.1 Release Candidate (RC) encompasses a collective effort as we incorporate feedback and input from the community. These contributions help EOSIO evolve as a highly performant, scalable, and reliable blockchain solution.

The EOSIO 2.1 RC feature set is designed to address several pain points we discovered first-hand while building Voice, a blockchain-based social media application, on top of the EOSIO protocol. These features aim to improve developer ease-of-use, and enhance the capabilities available to private and public blockchain administrators.

While EOSIO has always been innovative and highly performant, this release focuses on making it easier to build large-scale applications on the platform, and to maintain them once they’re deployed.  It is a reflection of our commitment to abstract away some of the complexities of blockchain development and make it approachable to a broader audience. 

New Product Features In EOSIO 2.1 RC

Most of the innovations that make up the EOSIO stack support both public and private blockchain deployments equally well. However, in the EOSIO 2.1 RC we introduce a new compliance feature designed specifically to allow private blockchain system administrators to remove data that has been designated as context free without compromising system functionality.

The EOSIO 2.1 RC also includes additional features that optimize blockchain data storage, simplify table management, and provide clustering options for system administrators. In addition, it updates functionality for two of our 1.x data export tools in response to community feedback.

Key Value Tables

The Key Value API provides a more flexible, simplified way for developers to create and search on-chain tables. Developers can also modify the table structure after it has been created, which is currently impossible with multi-index tables.

Action Return Values

Rather than having to utilize print statements or string parsing, smart contract developers will be able to process the return value from an action directly. This will streamline the smart contract development process.


RocksDB Storage for DB and Key Value APIs

RocksDB is now supported as a storage option behind either the DB or Key Value APIs. This gives blockchain system administrators the flexibility to choose between RAM or RocksDB to optimize Nodeos performance for their workloads.

Nodeos Failover Solution

Nodeos now supports clustering for the block producer node, enabling blockchain administrators to implement industry standard high availability or disaster recovery architectures. Three or more nodes may be deployed as a single logical producer. If the primary node goes down, a system properly configured to leverage this solution can attain similar data recovery guarantees to that of industry leading database and cloud services, with minimal service disruption.

While this feature increases resiliency for block production on public networks, it also provides particular value for private chains running with a single logical producer. Single-producer chains can use it to provide immediate finality with tools to mitigate the risk of a single point of failure.

Prune Context-Free Data

Immutability is one of the core tenets of blockchain infrastructure, but in some circumstances it may be unnecessary, or even counterproductive, to store all the data involved in each transaction indefinitely.

From inception, EOSIO has supported the concept of Context-Free Data, or data that may be removed without affecting the integrity of the chain. This release enables administrators to designate specific data as Context-Free and subsequently remove, or prune, that data from the blockchain while maintaining system stability. 

Once this data has been pruned, full validation is no longer possible, only light validation, which requires implicit trust in the block producers. Due to this factor, the Prune Context-Free Data feature is only suitable for a private blockchain as part of a larger privacy, security, or regulatory compliance solution. 

It should be noted that only data that was designated as Context-Free when it was stored can be pruned. In order for the data to be fully removed, pruning would have to be executed on each node in the network. There is no scenario where this feature could intentionally or unintentionally affect data integrity on a public network.

Instrumentation Support for Nodeos

Nodeos now supports integration with Zipkin, an open source distributed tracing system.  This will enable system administrators to optimize Nodeos execution for performance-critical applications.

Fill-pg

Based on community feedback and user requests, we have updated Fill-pg to support EOSIO 2.1.

It is our goal to build solutions that make it easier for everyone to build on EOSIO, from independent developers and startups, to established enterprises.

Stay Connected

We encourage developers to test the additional features in the EOSIO 2.1 release candidate, and provide us with feedback. If you would like to offer feedback on the release candidate of EOSIO 2.1 and work more closely with our team to improve EOSIO for developers, you can contact our developer relations team at developers@block.one.

Important Note: All material is provided subject to this important notice and you must familiarize yourself with its terms. The notice contains important information, limitations and restrictions relating to our software, publications, trademarks, third-party resources and forward-looking statements. By accessing any of our material, you accept and agree to the terms of the notice.

原文链接/Original URL:

About the author

By user
News.EOS.WiKi Bilingual News & Info Of EOS

Recent Posts