此文首发在2018年1月26日,公众号:成长的太阳。
这是自己对Mixin白皮书的翻译,也是自己重拾英文的第一步。对于英文,用才是目的。而区块链领域的英文文章或许就是最好的教材。翻译得有些粗糙,毕竟多年不用了。但我真的很用心,哪有一开始就做的完美呢~不多说了,开始吧。
Motivation缘起
Blockchain and cryptocurrency news have become more familiar to people, but it’s still difficult to get into these fancy things, even for software developers.
Most blockchain projects focus on the distribution factors and secure key management. However these all lead to slow transactions, private keys loss and difficult understanding. And it’s nearly impossible to deploy these distributed nodes on mobile devices, the most popular computing devices.
人们对区块链和数字加密货币已经越来越熟悉,但是很难去做些有想象力的事情,哪怕是开发者。大部分的区块链项目关注分布式和安全的密钥系统。然而,这些区块链项目都存在交易速度很慢,私钥容易丢失且很难记忆的问题。而且很难部署到那些主流的移动设备上。
Despite their effort on the distribution dream, we have noticed the reality that even the most distributed blockchain consensus algorithm leads to the control of several large pools. Consider the BCH hard fork to BTC. Some popular blockchain projects have or plan to choose some not so distributed consensus algorithms by design, Ethereum is migrating to PoS and EOS is implementing DPoS. This effort may improve the transaction throughput, but that’s all.
尽管他们在分布式方面做了努力,我们注意到了,不同的分布式区块链共识算法对应着不同的控制方式。考虑到BTC硬分叉出了BCH,一些主流的区块链项目已经或正在计划一些不一样的分布式共识算法。以太坊采用PoS股权证明,EOS采用DPoS委任权益证明。这些努力可以提高交易量,但是也就这样了。
Still, people have to manage fancy private keys and lose them, pools and whale nodes will fork the network endlessly without effort, developers try their best effort to develop some new tokens, and people have no proper way to use the nodes on their mobile devices.
然后,人们将继续管理着私钥也有丢失的风险,XX节点(此处不知如何翻译)也将不费吹灰之力地分叉着网络,开发者会尽最大努力去研发新的代币,人们也没有好的方式在他们的移动设备上使用这些节点。
Design设计
Mixin is an effort to find a balance in distributednetwork and traditional server clusters, make some
tradeoffs to combine the pros of the two together.
Mixin努力在分布式网络和传统的集群式服务器中找到一种平衡,让那些支持将二者结合的起来的人从中获益。
• Limited and trusted full nodes with guaranteed data transparency and consistency.
保证数据透明和一致的有限、可信任全节点。
• Zero-knowledge proof and free transactions with high throughput and low latency.
零知识证明,更大交易量、更低延时的自由交易。
• Inter-blockchain communication protocol to connect all popular blockchain networks.
区块链内交流协议可链接所有的主流区块链网络。
• Non-deterministic transactions and interact directly with trusted external sources.
不确定的交易和与可信任外部资源的相互影响。
• Phone number and PIN based account model for easy mobile use.
便于移动使用的基于账户模式的手机号码和个人身份识别码。
• Secure and end-to-end encrypted messaging channel to reach every account for notifications.
安全的、端对端的信息加密通道,可以通知到每一个账户。
• Developer friendly to facilitate all Linux libraries and programming languages.
开发者友好地支持Linux数据库和项目语言。
• The largest mobile blockchain network effect should prevent forks.
最大的移动区块链网络可以努力阻止分叉。
To accomplish these goals, we designed an unique blockchain model that relies on Trusted Execution Environment technology and relationship, while the consensus algorithm mainly acts as the guarantee for data replication, and the mobile nodes will acts as validators to do runtime attestation of the full nodes.
为了实现这么目标,我们设计了独一无二区块链模型,这个模型依赖于可以信任的执行网络技术和关系。这个共识算法确保复制数据,移动节点就像验证器一样执行全节点的验证证明。
As illustrated in the figure above, the fundamental of Mixin network is some trusted full nodes run in the Trusted Execution Environment.
通过以上数据论证,Mixin网络的基本原理是可信的全节点在可信的执行环境中运行。
All Mixin full nodes are fully trusted because they can the identity of all other full nodes and validate the code they run through TEE attestation at runtime.
Mixin的全部节点都值得信任,因为他们可以验证其他节点的身份,并且在运行的时候可以通过TEE验证他们的代码。
Mixin full nodes accept transactions and participate in the network’s consensus algorithm. Due to the code validation, only one node should execute DApp code to achieve high throughput and low latency.
Mixin全节点接受交易和参与全网络的共识算法。由于代码验证,只有一个节点可以执行DApp的代码去实现高交易量和低延时。
All sensitive components of the network must run inside the Trusted Execution Environment and are
responsible for protecting security and privacy, for maintaining data transparency and consistency.
网络中所有灵敏的组件必须在可信的执行环境中运行,这样保护安全和隐私是可靠的,保持数据的透明和一致性。