arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.01946cs.DCcs.CR
收藏

可信执行环境下的混合容错协议

Mixed Fault Tolerance Protocols with Trusted Execution Environment

Mingyuan Gao, Hung Dang, Ee-Chien Chang, Jialin Li

摘要:

区块链系统是在存在故障的情况下设计、构建和运行的。有两种主要的故障模式,即崩溃故障和拜占庭故障。拜占庭容错(Byzantine fault tolerance,BFT)协议提供了更强的安全保障,因此被广泛应用于区块链系统。然而,它们的安全性保证是以牺牲性能和可扩展性为代价的。一些工作已经改进了BFT协议,可信执行环境(TEE)已被证明是一个有效的解决方案。然而,现有的这样的作品通常假设每个参与节点配备有TEE。对于其中参与者通常具有不同硬件配置的区块链系统,即,一些节点以TEE为特征,而其他节点不以TEE为特征,现有的基于TEE的BFT协议是不适用的。这项工作研究的设置,其中不是所有的参与节点功能TEE,根据我们提出了一个新的故障模型称为混合故障。在混合故障模型下,我们探索了一种设计高效分布式容错协议的新方法。通常,混合容错(MFT)协议假设$n$节点的网络,其中多达$f = \frac{n-2}{3}$可以经受混合故障。我们确定了两个关键原则,设计高效的MFT协议,即(i)优先考虑非模棱两可的节点在领导的协议,(ii)提倡使用公钥密码原语,允许认证的消息被聚合。我们通过规定MFT协议(即MRAft)来展示这些设计原则。我们使用英特尔SGX实现了MRAFT的原型,将其集成到CCF区块链框架中,进行了实验,并表明MFT协议可以获得与BFT协议相同的安全保证,同时仍然提供更好的性能(交易吞吐量和延迟)和可扩展性。

英文摘要:

Blockchain systems are designed, built and operated in the presence of failures. There are two dominant failure models, namely crash fault and Byzantine fault. Byzantine fault tolerance (BFT) protocols offer stronger security guarantees, and thus are widely used in blockchain systems. However, their security guarantees come at a dear cost to their performance and scalability. Several works have improved BFT protocols, and Trusted Execution Environment (TEE) has been shown to be an effective solution. However, existing such works typically assume that each participating node is equipped with TEE. For blockchain systems wherein participants typically have different hardware configurations, i.e., some nodes feature TEE while others do not, existing TEE-based BFT protocols are not applicable. This work studies the setting wherein not all participating nodes feature TEE, under which we propose a new fault model called mixed fault. We explore a new approach to designing efficient distributed fault-tolerant protocols under the mixed fault model. In general, mixed fault tolerance (MFT) protocols assume a network of $n$ nodes, among which up to $f = \frac{n-2}{3}$ can be subject to mixed faults. We identify two key principles for designing efficient MFT protocols, namely, (i) prioritizing non-equivocating nodes in leading the protocol, and (ii) advocating the use of public-key cryptographic primitives that allow authenticated messages to be aggregated. We showcase these design principles by prescribing an MFT protocol, namely MRaft. We implemented a prototype of MRaft using Intel SGX, integrated it into the CCF blockchain framework, conducted experiments, and showed that MFT protocols can obtain the same security guarantees as their BFT counterparts while still providing better performance (both transaction throughput and latency) and scalability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑