Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKB #2

Merged
merged 74 commits into from
Aug 5, 2018
Merged

CKB #2

merged 74 commits into from
Aug 5, 2018

Conversation

janx
Copy link
Member

@janx janx commented Mar 3, 2018

A working in progress RFC for Nervos CKB.

Links to CKB RFC:

@poshboytl
Copy link
Contributor

👍 👍👍

如果未来我们要翻译,是覆盖掉原来的内容成英文?

还是说我们的中文发 rfcs-internal repo

@doitian
Copy link
Member

doitian commented Mar 5, 2018

因为是个目录,如果多语言的建个索引页链接到不同语言就可以了

@janx
Copy link
Member Author

janx commented Mar 5, 2018

分不同的文档放就行了,英文main.md, 中文main-zh.md.


综合以上,我们重新思考并设计了Nervos CKB,提出彻底解耦的分布式应用新范式,以支持更普遍的计算和存储需求,获得更好的性能,使经济激励更平衡,对移动设备更友好。我们希望Nervos CKB可以成为全球76亿人的共同知识库,承载各种分布式应用。

![Figure 1. Event-focused vs. State-focused Design](fig1.png)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 段落移到 Appendix 了,图没有移
  • 图里的编号有错误,a., C., C. 大小写也不一致

Nervos CKB(以下简称CKB)是一个以通用共同知识库([Appendix: Common Knowledge Base](#appendix-common-knowledge-base))为设计目标的区块链。CKB网络由存档节点、共识节点和轻节点组成:

* 存档节点:CKB全节点,对新的区块和交易进行验证,中继传播区块和交易,保存CKB上所有的交易历史。存档节点能提高整个网络的健壮性,为CKB上的应用提供历史查询。
* 共识节点:参与共识协议的CKB节点。共识节点接收新的交易,将交易打包成块,并对新生成的区块产生共识。共识节点不需要保存所有的交易历史。
Copy link
Member

@doitian doitian Mar 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

存档节点是共识节点吗?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以是。

| State Write | Direct (User) | Indirect (EVM) | Direct (User) |
| State Read* | No | Yes | Yes |
<div align="center">Table 1. Comparison of Bitcoin, Ethereum and Nervos CKB
(* State Read refers to on chain readability only, which means if the state can be read during on chain validation. Chain state is transparent to off chain reader.)</div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不是太理解 State Read 的说明

CKB Cell模型和Transaction的设计使CKB对轻节点更友好。由于所有的状态都在区块中,区块同步协议也支持了状态同步。轻节点只需要同步区块,不需要计算(生成状态),就可以获得新的状态。如果区块中只保存事件,则需要全节点支持额外的状态同步机制。在缺乏激励的情况下,区块链协议之外的额外机制很难大范围的部署。在区块链协议内同步状态,使轻节点与全节点之间的地位更平等,系统更加健壮和去中心化。

![Figure 4. Transaction Parallelism and Conflict Detection](fig4.png)
<div align="center">Figure 4. Transaction Parallelism and Conflict Detection</div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

图里的编号大小写不一致,A., B., c1. , c2.

@janx janx merged commit 8765903 into master Aug 5, 2018
@janx janx deleted the ckb branch August 5, 2018 13:45
janx pushed a commit that referenced this pull request Sep 12, 2019
janx pushed a commit that referenced this pull request Dec 29, 2020
janx pushed a commit that referenced this pull request Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants