Commit 3e1b32b3 authored by 屈柯丞's avatar 屈柯丞
Browse files

update

parent e01445d8
Showing with 3 additions and 3 deletions
+3 -3
......@@ -22,7 +22,7 @@ copyright = '2020, zhigui'
author = 'zhigui'
# The full version, including alpha/beta/rc tags
version = '0.1'
version = 'latest'
release = ''
......
......@@ -14,7 +14,7 @@ XuperModel是一个带版本的存储模型,支持读写集生成。该模型
为了在运行时获取合约的读写集,在预执行每个合约时XuperModel为其提供智能缓存。该缓存对状态数据库是只读的,它可以为合约的预执行生成读写集和结果。验证合约时,验证节点根据事务内容初始化缓存实例。节点将再次执行一次合约,但此时合约只能从读集读取数据。同样,写入数据也会在写入集中生效。当验证完生成的写集和事务携带的写集一致时合约验证通过,将事务写入账本,cache的原理如下所示,图中左边部分是合约预执行时的示意图,右边部分是合约验证时的示意图:
.. figure:: ../images/xupermodel_contract.png
:alt: XuperModel合约验证
:alt: 纸贵BaaS合约验证
:align: center
XuperModel合约验证
\ No newline at end of file
......@@ -9,7 +9,7 @@
.. toctree::
:maxdepth: 2
:caption: XuperChain介绍:
:caption: 纸贵产品介绍:
:numbered:
introduction/brief.rst
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment