2022-01-04 05:14:02 +00:00
|
|
|
|
北大数瑞介绍
|
|
|
|
|
============
|
2021-09-24 17:43:11 +00:00
|
|
|
|
|
|
|
|
|
--------------
|
|
|
|
|
|
2022-01-04 05:26:25 +00:00
|
|
|
|
什么是BDContract?
|
|
|
|
|
-----------------
|
2021-09-24 17:43:11 +00:00
|
|
|
|
|
2022-01-04 05:26:25 +00:00
|
|
|
|
BDContract是一个可信计算框架,计算逻辑以智能合约的方式表达。通过”随机“和”冗余计算“的方式实现智能合约的可信执行。BDContract在保证智能合约的可用性、可靠性的同时,着重提升执行效率和安全性。
|
2021-09-24 17:43:11 +00:00
|
|
|
|
|
|
|
|
|
--------------
|
|
|
|
|
|
|
|
|
|
特点
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
0. 支持多种执行模式,权衡可用性、可靠性、正确性和效率。
|
|
|
|
|
1. 接入各种数据源。
|
|
|
|
|
2. 支持合约的细粒度监测。
|
|
|
|
|
3. 支持合约的状态。
|
|
|
|
|
4. 访问控制。
|
|
|
|
|
5. 支撑跨语言调用。
|
|
|
|
|
|
|
|
|
|
--------------
|
|
|
|
|
|
|
|
|
|
使用开源项目说明
|
|
|
|
|
----------------
|
|
|
|
|
|
2022-01-04 05:14:02 +00:00
|
|
|
|
BDWare项目站在了许多巨人的肩膀上,感谢这些开源项目。
|
2021-09-24 17:43:11 +00:00
|
|
|
|
|
|
|
|
|
本项目的智能合约后端使用了以下开源库。
|
|
|
|
|
|
|
|
|
|
================================================================ =================================================================================================================== ==================================================
|
|
|
|
|
名称 Licence类型 说明
|
|
|
|
|
================================================================ =================================================================================================================== ==================================================
|
|
|
|
|
`Project Nashorn <https://openjdk.java.net/projects/nashorn/>`__ `GPLv2 <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>`__ 使用了该项目的编译器,可以将js函数编译为java字节码
|
|
|
|
|
`ASM OW2 <https://projects.ow2.org/view/asm/>`__ `BSD <https://en.wikipedia.org/wiki/BSD_licenses#4-clause_license_(original_%22BSD_License%22)>`__ with attribution 基于asm的TreeAPI与VisitorAPI实现合约的静态分析框架
|
|
|
|
|
`Netty <https://netty.io/>`__ `Apache License 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`__ 使用netty作为Http/Websocket的服务端
|
|
|
|
|
`gRPC <https://grpc.io/>`__ `Apache License 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`__ 使用gRPC与BDWareLedger通讯
|
|
|
|
|
`RocksDB <https://github.com/facebook/rocksdb>`__ `GPLv2 <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>`__ 后台数据库
|
|
|
|
|
`ANTLR <https://github.com/antlr/antlr4>`__ `BSD <https://en.wikipedia.org/wiki/BSD_licenses#4-clause_license_(original_%22BSD_License%22)>`__ 对合约脚本的词法分析与语法分析
|
|
|
|
|
`SM2Java <https://github.com/PopezLotado/SM2Java>`__ `无 <https://github.com/PopezLotado/SM2Java/blob/master/README.md>`__ 国密SM2 Java语言实现
|
|
|
|
|
================================================================ =================================================================================================================== ==================================================
|
|
|
|
|
|
|
|
|
|
本项目的智能合约前端使用了以下开源库。
|
|
|
|
|
|
|
|
|
|
========================================================= =========================================================================== ==========================
|
|
|
|
|
名称 Licence类型 说明
|
|
|
|
|
========================================================= =========================================================================== ==========================
|
|
|
|
|
`Bootstrap <https://getbootstrap.com/>`__ `MIT <https://github.com/twbs/bootstrap/blob/master/LICENSE>`__ 前端的排版、样式
|
|
|
|
|
`jQuery <https://jquery.org/>`__ `MIT <https://jquery.org/license/>`__ 用于操作DOM的javascript库
|
|
|
|
|
`jQueryUI <https://jqueryui.com/>`__ `MIT <https://jquery.org/license/>`__ 前端UI构件库
|
|
|
|
|
`DataTables <https://datatables.net/>`__ `MIT <https://datatables.net/license/mit>`__ 表格样式
|
|
|
|
|
`CodeMirror <https://codemirror.net/>`__ `MIT <https://codemirror.net/LICENSE>`__ 代码编辑框样式
|
|
|
|
|
`eCharts <https://echarts.apache.org/zh/index.html>`__ `ApacheV2 <https://www.apache.org/licenses/>`__ 统计图表
|
|
|
|
|
`sm-crypto <https://github.com/JuneAndGreen/sm-crypto>`__ `MIT <https://github.com/JuneAndGreen/sm-crypto/blob/master/LICENCE_MIT>`__ 国密SM2 javascript语言实现
|
|
|
|
|
========================================================= =========================================================================== ==========================
|
|
|
|
|
|
|
|
|
|
本项目的文档使用\ `Sphinx <https://www.sphinx-doc.org/en/master/>`__\ 生成,感谢\ `readthedocs <https://readthedocs.org/>`__\ 提供文档样式。
|