6 Star 40 Fork 11

百度开源 / XuperCore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

XuperCore

一、总体介绍

XuperCore是超级链开源技术XuperChain的内核。定位是打造区块链领域首选的自由使用和自由传播的区块链操作系统内核。其定义了区块链体系结构,是根据区块链属性和功能不同而划分的区块链组成部分及区块链基本工作原理、理论的总称。其还定义了一系列标准API,构建一个区块链体系结构,规定了各个模块的逻辑结构、功能特征和各模块间的交互关系,并提供了各个模块适用不同场景的标准实现。

1.1 核心亮点

1.1.1开放易用

允许任何单位或个人加入共同开发。具备非常完善易用的工具链、文档和7x24小时的社区技术支持。

1.1.2动态内核

业内先进的多区块链执行引擎、核心组件可灵活插拔的动态内核架构。允许任何单位定制个性化区块链内核,从而具备极广的适用性。

1.1.3高可扩展

采用分层架构,划分子领域,定义领域扩展规范。首创实现内核流程和核心组件皆可无代码侵入扩展,从而具备极高的可扩展性。

1.1.4 生态繁荣

开源技术免费输出,拥有非常完备的自主研发区块链核心组件支持,支持开源社区、开放网络、商业伙伴多领域标杆应用落地。

二、技术优势

2.1 技术自主可控,更符合中国国情

百度始终坚持区块链核心技术的自主研发和创新,已经拥有 240 余篇基于核心底层区块链技术的自主知识产权专利。在加密技术、共识算法、智能合约、权限账户等核心技术 上具有技术独创性。超级链在安全性上具备显著优势,支持国密算法,满足“等保三级”等多项国家要 求及安全标准。超级链支持国家监管,可实现多中心化监管,白名单机制设置监管账号,包括事务链上 合规检查、合约封禁、数据可擦写、可屏蔽等功能。超级链具有创新的超级节点架构、链内并行技术、 可回归侧链、跨链融合及平行链管理等区块链底层技术,在技术和结构的设计上具备安全、可管、可控 的特点,形成了完备的安全管理体系。

2.2 性能卓越,行业领先

百度超级链具有高性能、高扩展性、高兼容性和易用性强等特点,单链每秒处理交易数 8.7 万 TPS,整体网络可达到 20 万 TPS,达到世界一流水平。

2.3 简单易用,提供完备的开发和运维工具

百度超级链支持网络、链、智能合约完全线上部署、管理和使用,提供丰富的管理运维功能,以及 完备的开发者工具,包括线上沙盒、完整的应用案例、开放的应用程序编程接口(OpenAPI)等,可以 帮助开发者快速地部署区块链系统。同时,百度超级链还提供完整的且可视化的运维工具和服务,帮助 使用者查看区块链网络和服务的状态,也有助于及时发现并定位问题,从而保障区块链服务的稳定可靠。 超级链具有优秀的开发亲和性,支持主流开发语言,如 C++、Go、Java、Solidity 等,并有专业辅助 开发套件 XuperStudio 提供工程支持。

2.4 独有技术,拓展现有区块链使用边界

超级链作为国内技术栈最完备的团队之一,拥有联盟链、合规公链技术等。同时,通过对区块链 与大数据、物联网、AI 等多种技术融合的积极探索,超级链推出可信计算(XuperData)、边缘计算 (XuperEdge)、IoT(XuperLight)等三大区块链与前沿技术的完美融合的产品。另外,为解决复杂商业场景下链与链之间缺乏统一的互联互通机制这一难题,百度超级链推出独有的跨链技术。

2.5 诚意开源,国内最具影响力的开源技术

2019 年 5 月百度超级链正式开源,把链内并行技术、可插拔共识机制、账号权限系统、一体化智 能合约等四大核心专利技术开源,提供 Go、C#、Python、Java 等多语言的 SDK,易用性大幅提升, 受到开发者的广泛追捧与好评。开源以来,超级链团队始终保持高频迭代,在知名技术社区 Github 上 star 数遥遥领先。超级链拥有上百人的稳定研发团队,并建立了 7*24 小时服务的开源服务社区,通过微信群、邮件组、直播间等方式第一时间解答各种技术问题。

三、整体架构

arch

上图是超级链内核的系统架构,采用模块化架构,基础组件模块化共用,内核层聚合各组件,提供能力实现业务需求,从而实现核心流程低成本订制。通过对业务抽象分层、划分子领域和模块化,最大限度的提升代码复用和系统可扩展性。从而做到,通过低成本的定制不同流程来满足不同场景的需求,最大限度的复用核心基础能力;通过分治降低系统复杂度,提升系统可维护性。 整个系统分成四层,其中下面三层构成整个超级链内核的核心组成部分,分别为应用服务层、领域服务层、基础库层。 核心服务层:这一层定义区块链的各个模块API、核心结构和流程,并管理各模块的加载和初始化,聚合和调度各核心组件实现系统需求。 领域服务层:这一层负责区块链核心组件的具体实现,通过实现核心层定义的、接口和加载方式,接入到系统。这层的组件可以针对不同的需求场景有多种不同的实现。 基础组件层:这一层实现业务无关的通用基础库,各层都可以引用。

四、技术生态

基于上述超级链内核系统架构,可以支持整个区块链技术体系的构建,如下是区块链技术体系的全景图:

shengtai

4.1 内核层

内核层就是超级链内核技术,其定义了一系列标准API,构建一个区块链体系结构,规定了各个模块的逻辑结构、功能特征和各模块间的交互关系,并提供了各个模块适用不同场景的标准实现。

4.2 核心技术方向层

核心技术方向是基于内核标准API定义的区块链体系结构之上,各个组成可以独立发展起来的技术方向,主要包括九大核心技术方向,分别包括共识技术、密码服务、存储账本、节点通信、智能合约、系统安全、监管治理、隐私保护、跨链技术等。

4.3 生态工具层

生态工具技术是围绕着分布式账本技术的周边技术,主要包括区块链管理工具技术、区块链测试技术、钱包技术、浏览器技术、业务集成工具集、合约开发工具集(IDE等)等。

4.4 交叉学科层

主要是区块链技术和其他技术相结合的交叉学科技术,比如去中心化身份技术、可信计算技术、边缘技术以及5G技术等等。

4.5 行业解决方案

行业领域技术主要是区块链应用具体行业所产生的行业领域技术,比如与金融行业、供应链领域、医疗行业、政务行业等。

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

XuperCore是超级链开源内核,是采用模块化设计思想实现的一个高性能、高稳定性、高可扩展性的区块链底层框架 展开 收起
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/baidu/XuperCore.git
git@gitee.com:baidu/XuperCore.git
baidu
XuperCore
XuperCore
master

搜索帮助

14c37bed 8189591 565d56ea 8189591