Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
readthedocs
test-docs
Commits
3e1b32b3
Commit
3e1b32b3
authored
4 years ago
by
屈柯丞
Browse files
Options
Download
Email Patches
Plain Diff
update
parent
e01445d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
source/conf.py
+1
-1
source/conf.py
source/design_documents/XuperModel.rst
+1
-1
source/design_documents/XuperModel.rst
source/index.rst
+1
-1
source/index.rst
with
3 additions
and
3 deletions
+3
-3
source/conf.py
View file @
3e1b32b3
...
...
@@ -22,7 +22,7 @@ copyright = '2020, zhigui'
author
=
'zhigui'
# The full version, including alpha/beta/rc tags
version
=
'
0.1
'
version
=
'
latest
'
release
=
''
...
...
This diff is collapsed.
Click to expand it.
source/design_documents/XuperModel.rst
View file @
3e1b32b3
...
...
@@ -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
This diff is collapsed.
Click to expand it.
source/index.rst
View file @
3e1b32b3
...
...
@@ -9,7 +9,7 @@
.. toctree::
:maxdepth: 2
:caption:
XuperChain
介绍:
:caption:
纸贵产品
介绍:
:numbered:
introduction/brief.rst
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment