复制了 EOS 白皮书的相关论述,两者形似。但是一个是为了快速读取,一个是为了长久存储。
我这里再补充一点差异:EOS 推崇开发者付费,即开发者为用户状态存储付费。但是,这部分造成了用户也不得不为开发者的失误埋单(这在 ETH 中也出现过:譬如 ERC20 合约转账丢币的问题:https://github.com/ethereum/EIPs/issues/223)。在CKB 的设计中,first class asset 意味着用户会自己存储自己的重要状态,这部分地分散了风险。
State Storage (RAM).
1)Blockchain state storage is information that is accessible from application logic. It includes information such as order books and account balances. If the state is never read by the application, then it should not be stored. For example, blog post content and comments are not read by application logic, so they should not be stored in the blockchain’s state. Meanwhile the existence of a post/comment, the number of votes, and other properties do get stored as part of the blockchain’s state.
2)While bandwidth and computation can be delegated, storage of application state will require an application developer to hold tokens until that state is deleted. If state is never deleted, then the tokens are effectively removed from circulation.