News.EOS.WiKi Bilingual News & Info Of EOS

EOSIO 版本 1.2.0 发布:MongoDB 插件功能增强,社区插件集成和重放优化 /amp;EOSIO Version 1.2.0 Release: MongoDB Plugin Enhancements, Community Plugin Integrations, and Replay Optimization

E

译文/Translated:

今天,我们很高兴发布EOSIO下一个增强版,版本1.2.0。您可以在Github上查看详细的发行说明,并在EOSIO开发者门户找到相关文档。

我们正陆续收集反馈,了解平台构建应用的情况,并持续优化开发人员在 EOSIO 上的体验。为此,除了版本说明和文档,Block.one 开发者联络团队与 C ++ 开发及公共通信团队协作,共同提供一份易于理解的摘要,其中囊括每个版本的功能、优势以及为实现平台目标该版本所带来的影响。继续阅读以下内容,了解 EOSIO 版本 1.2.0。

版本1.2.0 的亮点:

持续提升 MongoDB (#4733, #4756

上个月版本 1.1 中发布的 MongoDB 插件获得增强。该插件允许应用程序在 Mongo 上储存区块链数据,以增强数据可扩展性,并让数据查询更加方便,不会给网络节点带来负担。MongoDB 版本 1.1 的插件可替代history_plugin,用以 get_actions 和get_transactions 。版本1.2 扩展了 mongo_db_plugin 的功能,涵盖 get_key_accounts 和 get_controlled_accounts,且两者都能存储在现有账户集合文件中。

此外,由于多数情况下,应用程序会从储存的 abi 中创建 abi_serializer,为此,我们添加了 abi caching,用以加速序列化。这将降低总体的资源负担,加速应用程序处理 MongoDB 数据的能力。

与外部社区扩展集成 (#5026,#4901)

随着 EOSIO 开发者社区持续成长,平台出现了更多特定需求,我们认识到简单地外部扩展,集成节点的好处。例如,SOCI 维护的 EOSIO SQL 插件创建了能将区块链数据注册到 SQL 数据库的功能,同时nodeos的 ZeroMQ 插件将所有操作和余额更新发布到 ZeroMQ PUSH 接口。我们在当前版本中集成了技术支持,用以完成这些扩展。

未来,我们将继续管理和支持为 EOSIO 平台提供常用功能的社区的扩展。如果您的团队正在研发外部扩展,并该项目可能获得开发者社区的广泛关注,请随时联系我们的开发人员联络团队,发送电子邮件到:developers@block.one,以获取帮助。

重放和重新同步 (#5130)

随着区块链的发展,设立新节点和重放区块链所需时间会持续增长。此版本包括多个降低重访时间的功能优化(将前 900 万区块重放时间降低了 50%),并提供了新的验证模式,帮助节点同步并保持同步(轻量级验证)。

版本 1.2.0 完整发布列表:

付诸实施,开发需求

  • #4710 启动器修复(主要用于内部测试)
  • #4733 Mongo 优化 (ABI 缓存)
  • #4813 集成测试(低 Ram)
  • #4791 Cleos 内存泄漏
  • #4799 支持 R1 密钥的 Cleos “名单制作人”(Listproducer)
  • #4819 Cleos 钱包创建和创建密钥默认写入文件以确保安全
  • #4756 添加key_accounts和受控账户到 MongoDB
  • #4843 微调
  • #4866 测试清除
  • #4868 支持 bnet 的集成测试
  • #4774 说明更新
  • #4853 更新黑/白名单的 RPC 访问途径
  • #4854 代码清除
  • #4891 RPC/Cleos 错误报告更好地反应错误请求
  • #4905 集成测试修复
  • #4946 OSX 构建脚本显示更改
  • #4908 RPC/Cleos 支持 sha256 二级索引
  • #4952 删除节点上对运行钱包 RPC 的支持
  • #5002 修复get table 的 RPC 响应的缓冲溢出错误(off by one)
  • #5005 基于标记版本和本地资源的 nodeos 和keosd 版本响应
  • #4931 修复非token 资产的 cleos 资产转移
  • #4870 多核boost构建
  • #4739 添加filter-out选项,允许在 history_plugin 上制作黑名单而不是白名单
  • #5077 镜像 SDK 改变为h
  • #5090 镜像 SDK 更改为修复资产过载
  • #4901 预订交易信号更好地传递给插件
  • #5026 开发额外插件
  • #5066 支持mongodb 中内联操作和filter-out
  • #5130 重放功能优化及同步优化:轻量级验证
  • #5101 可自定义的二进制名称
  • #5097 更新了坏包的 peer 日志
  • #4511 Ricardeos 脚本
  • #5082 find_plugin 安全性
  • #5139 修复 fedora 构建
  • #4892获得 Cleos/RPC 交易 ID
  • #5125 获取死链接的速率限制
  • #5096 可配置系统账户名称
  • #5122 恢复 eosiocpp 并清除安装程序
  • #4721 wasm/abi 路径现与合约目录相关
  • #4972 修复 enable-stale-production
  • #5131 仅在需要时获取未应用的交易
  • #4924 清除 tic-tac-toe 井字游戏示例
  • #5154 修复 http_client_plugin 格式错误的主机头
  • #4566 确认核对中的样式清除
  • #5158 删除耗损的 account_history_plugin
  • #5161 修复 MongoDB 的 filter-on 配置
  • #5160 从 cleos 中删除 WAST 支持
  • #5171 将日志信息重新分类为调试
  • #5179 更好地记录冲突的端口绑定
  • #5201 启动器启动修复
  • #5061 在 cleos/RPC 中支持 160 位密钥和密钥编码类型
  • #5200 冒烟测试稳定性优化
  • #4960 解决连接器错误,包括free
  • #5203 将 MongoDB 过滤器用于交易追踪
  • #5198 nodeos 的只读模式
  • #5018 Cleos 转换命令

保持连接

在 EOSIO 开发者门户上订阅我们的邮件列表,持续关注未来更新。我们很高兴能继续为 EOSIO 开发人员提升软件的可使用性,我们也将继续为最具扩展性的区块链开发打下坚实基础。

原文/Original:

Today we are pleased to release the next incremental version of EOSIO, V1.2.0. You can view the detailed release notes here on Github, and find documentation on the EOSIO Developer Portal.

We’re continually collecting feedback on how the community is building applications on the platform and are consistently improving the developer experience on EOSIO. To that end, in addition to release notes and documentation, the Block.one Developer Relations team — in coordination with the C++ Development and Public Communications teams — will be providing an easy-to-digest summary of the features and benefits of each release and its implications on our goals for the platform. Continue reading below to learn about release V1.2.0.

Highlights in 1.2.0:

Ongoing MongoDB Enhancements (#4733, #4756)

We have continued to enhance the MongoDB Plugin that was released in V1.1 last month. The Plugin allows your application to store blockchain data in Mongo, enabling more scalable and convenient queries of that data without putting a load on the network nodes. The MongoDB Plugin in V1.1 could be used instead of the history plugin for get_actions and get_transactions. The V1.2 release extends the functionality of the mongo_db_plugin to include get_key_accounts and get_controlled_accounts, both of which can be stored in the existing accounts collection document.

Additionally, we added abi caching to speed up serialization as most of the time an application would create the abi_serializer from the stored abi. This should reduce overall resource burden and speed up your applications’ ability to process data from the MongoDB.

Integrating with External Community Extensions (#5026,#4901)

As the EOSIO developer community continues to grow and more specific needs arise for the platform, we’re recognizing the benefits of a simple way for external extensions to integrate with a node. For example, theEOSIO SQL plugin maintained by SOCI created the ability to register blockchain data into an SQL database, while the ZeroMQ plugin for nodeos publishes all actions and all balance updates to a ZeroMQ PUSH socket. We have integrated support for these extensions in the current release.

In the future, we may continue to curate and support community extensions that provide commonly needed functionality to the EOSIO platform. If your team is working on an extension that may be of interest to the broader developer community please feel free to reach out to our Developer Relations team via email at developers@block.one for support.

Replay and Resync (#5130)

As the blockchain grows, the time needed to set up a new node and replay the chain will continue to rise. This release includes a number of performance enhancements related to reducing the replay time for the first 9M blocks by %50 and to a new mode of validation that helps nodes sync and stay in sync (light validation).

Full List of 1.2.0 Release Issues:

Pull Requests into Develop

  • #4710 fixes for launcher (mostly used internally in tests)
  • #4733 Mongo Optimizations (ABI Caching)
  • #4813 Integration Tests (Low Ram)
  • #4791 Cleos Memory Leak
  • #4799 Cleos listproducers support for R1 keys
  • #4819 Cleos wallet create and create keys now write to files by default for security
  • #4756 Add key_accounts and controlled accounts to MongoDB
  • #4843 minor fix
  • #4866 test cleanup
  • #4868 integration tests support for bnet
  • #4774 README updates
  • #4853 RPC access for updating black/white lists
  • #4854 code cleanup
  • #4891 Better RPC/Cleos error reporting for bad requests
  • #4905 integration test fixes
  • #4946 OSX build script display changes
  • #4908 RPC/Cleos support for sha256 secondary indices
  • #4952 remove support for running wallet RPC on nodeos
  • #5002 fix off by one in RPC response for get table
  • #5005 version response from nodeos and keosd based on tagged release and local changes
  • #4931 fix cleos asset transfers for non eosio.token assets
  • #4870 multicore boost builds
  • #4739 add filter-out option to allow blacklisting instead of whitelisting in history_plugin
  • #5077 mirror SDK change to crypto.h
  • #5090 mirror SDK change to fix asset overloading
  • #4901 better signaling for scheduled transactions to plugins
  • #5026 Dev additional plugins
  • #5066 support for inline actions and filter-out in mongodb
  • #5130 replay performance optimizations & sync optimization: light verification
  • #5101 customizable binary names
  • #5097 Updated peer logging on bad packets
  • #4511 Ricardeos script
  • #5082 find_plugin safety
  • #5139 fix for fedora build
  • #4892 Get transaction ID from cleos/RPC
  • #5125 rate limit reaping of dead connections
  • #5096 configurable system account name
  • #5122 restore eosiocpp and clean up installer
  • #4721 wasm/abi paths now relative to contract directory
  • #4972 fix for enable-stale-production
  • #5131 only fetch unapplied transactions when needed
  • #4924 clean up tic-tac-toe example
  • #5154 fix for http_client_plugin malformed host header
  • #4566 style cleanup in confirmation checks
  • #5158 remove deprecated account_history_plugin
  • #5161 fix for MongoDB filter-on configuration
  • #5160 remove WAST support from cleos
  • #5171 reclassify log message as debug
  • #5179 better logging of conflicted port bindings
  • #5201 launcher boot fixes
  • #5061 support for 160-bit keys and key encoder type in cleos/RPC
  • #5200 smoke test stability improvements
  • #4960 resolve linker errors involving env.free
  • #5203 apply MongoDB filter to transaction traces
  • #5198 Read-only mode for nodeos
  • #5018 Cleos convert command

保持联系

Stay tuned for future updates by subscribing to our mailing list on theEOSIO Developer Portal. We are excited to be continually improving the usability of the software for EOSIO developers as we continue laying a foundation for the most scalable blockchain development.

原文链接/Original URL:

https://medium.com/eosio/eosio-version-1-2-0-e1972ddcf367

About the author

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

Recent Posts