| 研究生: |
江紹賢 Chiang, Shau-Hsien |
|---|---|
| 論文名稱: |
可持續聯邦拜占庭協議 A Sustainable Federated Byzantine Agreement |
| 指導教授: |
郭耀煌
Kuo, Yau-Hwang |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 資訊工程學系 Department of Computer Science and Information Engineering |
| 論文出版年: | 2020 |
| 畢業學年度: | 108 |
| 語文別: | 英文 |
| 論文頁數: | 95 |
| 中文關鍵詞: | 區塊鏈 、聯邦拜占庭協議 、共識機制 、恆星共識協定 |
| 外文關鍵詞: | Blockchain, Federated Byzantine Agreement, Consensus, Stellar Consensus Protocol |
| 相關次數: | 點閱:81 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
近年來,區塊鏈技術因其能在分散式的網路環境下取得全域共識而備受矚目,並進一步應用於支付系統中。而區塊鏈技術根據其特性可分成兩類,可用性優先與一致性優先演算法。前者的代表是證明取向的協定如比特幣,具備隨時可用的特性但其確認時間過長且容易遭受雙花攻擊;後者則為拜占庭容錯取向的協議如瑞波幣,其確認時間較短且保證共識結果的正確性,但不適用於大範圍的開放網路環境。作為支付系統的關鍵技術,上述兩種區塊鏈技術都明顯還有改善的空間。
為此,一個拜占庭容錯取向協議的改良版:聯邦拜占庭協議,便進一步被提出,而恆星共識協定因採用聯邦拜占庭協議將可在大範圍開放式網路環境下保證共識的一致性。儘管如此,恆星共識協定仍面臨著單點失效導致系統停滯進而造成可用性喪失的問題,而系統壟斷的問題也將嚴重影響其在支付系統上的實用性。為此,本論文基於聯邦拜占庭協議提出了可持續聯邦拜占庭協定來解決上述問題。首先,本協定優化了聯邦拜占庭協議中信任切片的選擇演算法,藉此顯著降低發生單點失效的可能性。再者,本協定採用了多數見證人概念來保證全域共識的一致性;而週期性更換信任切片與隨機見證人方法的採用更可進一步防止恆星共識協定所遭遇的系統壟斷;最後,本協定的信任切片重組演算法讓系統停滯發生時能自動進行修復,為系統提供了更好的可用性。
經過系統分析與模擬實驗證實,本論文提出的協定不僅能透過多數見證人概念保證共識的一致性,在信任切片的選擇上也明顯較恆星共識協定有著更高的可容錯性,不易發生系統停滯;另外,與恆星共識協定相比,本協定中參與共識機制的成員更加多元,讓系統不容易被少數節點所把持;最後,在模擬大量節點發生故障的情況下,恆星共識協定易因故障節點過多而造成系統服務中斷,而本協定則會在系統停滯時自動偵測並協助系統恢復運行,因此具有較優秀的可用性。因此,本論文提出之可持續聯邦拜占庭協定將是最適用於開放網路環境交易系統的區塊鏈技術。
Recently, blockchain emerges as a promising technology because it can reach a global consensus in distributed networks. Therefore, more payment applications try to introduce blockchain into their systems. Generally, blockchain technology can be divided into two types, liveness-guaranteed-first and safety-guaranteed-first algorithm. The former, such as proof-based protocols like Bitcoin, can easily reach a probabilistic consensus but has long confirmation time and tends to suffer from double-spending attacks. The latter, such as BFT-based protocols (Byzantine Fault Tolerance) like Ripple, has short confirmation time and ensures the consistency of consensus but is unpractical in large-scale networks. As a result, none of these blockchain technologies is capable for payment applications.
Hence, a variation of BFT-based protocols, Federated Byzantine Agreement (FBA), is proposed, and a FBA-based consensus protocol, Stellar, is developed to reach a consistent consensus in large-scale networks. However, Stellar might be stuck by single point of failure leading to the loss of system liveness. Moreover, the system dominance problem also makes Stellar unpractical to be exploited in a payment system. Thus, this thesis proposes a Sustainable Federated Byzantine Agreement (SFBA) to deal with these problems. First, SFBA proposes an effective slice selection algorithm to significantly reduce the possibility of single point of failure. Then, SFBA utilizes the concept of majority of witness to achieve the consistency of global consensus and ensure system safety. The slice replacement and random witness selection successfully avoid the system dominance problem. Finally, the proposed slice rearrangement algorithm can automatically recover system from stuck and obtain stronger system liveness.
Based on the system analyses and simulation results, SFBA successfully guarantees the consistency of global consensus. Compared to Stellar, the participants of consensus procedure are highly diverse which prevents system from being dominated by few members. Finally, when lots of members malfunction, services of Stellar are apt to be interrupted. On the contrary, SFBA automatically discovers system stuck and then recovers it bringing stronger system liveness. Consequently, the proposed SFBA will be the most practical blockchain technology applied in payment systems for large-scale networks.
[AND 11] Andes, “Bitcoin’s kryptonite: The 51% attack”, June 2011. Available: https://bitcointalk.org/index.php?topic=12435
[BER 89] C. Berge, “Hypergraphs: Combinatorics of finite sets", North-Holland, 1989.
[BUT 14] V. Buterin, “Slasher: A Punitive Proof-of-Stake Algorithm”, January 2014.Available: https://blog.ethereum.org/2014/01/15/slasher-a-punitive-proof-of-stake-algorithm/
[BUT 15] V. Buterin, “A Next-Generation Smart Contract and Decentralized Application Platform”, 2015. Available: https://github.com/ethereum/wiki/wiki/White-Paper
[CAS 99] M. Castro, B. Liskov, “Practical Byzantine Fault Tolerance”, 3rd OSDI, 1999.
[CHA 18] B. Chase, E. MacBrough, “Analysis of the XRP Ledger Consensus Protocol”, 2018. Available: https://arxiv.org/abs/1802.07242
[DOU 02] J. R. Douceur, “The Sybil Attack”, Revised Papers from the First International Workshop on Peer-to-Peer Systems, March 2002, pp. 251-260.
[DWO 92] C. Dwork and M. Naor, “Pricing via Processing or Combatting Junk Mail”, In Proceedings of the 12th Annual International Cryptology Conference on Advances in Cryptology, 1992, pp. 139–147
[ETH] Etherchain, “The Ethereum Blockchain Explorer”.
Available: https://etherchain.org/
[EYA 14] I. Eyal and E. Gun Sirer, “Majority is not Enough: Bitcoin Mining is Vulnerable”, Financial Cryptography and Data Security, Vol. 8437 of Lecture Notes in Computer Science, 2014, pp. 436–454.
[FIS 85] M. J. Fischer, N. A. Lynch, and M. S. Paterson, “Impossibility of distributed consensus with one faulty process”, Journal of ACM Vol. 32, No. 2, pp. 374–382, April 1985.
[GIL 12] S. Gilbert, and N. A. Lynch, “Perspectives on the CAP theorem”, IEEE Computer Society, 2012, pp. 30-36.
[GIL 17] Y. Gilad, R. Hemo, S. Micali, G. Vlachos, and N. Zeldovich, “Algorand: Scaling byzantine agreements for cryptocurrencies”, Proceedings of the 26th Symposium on Operating Systems Principles, pp. 51–68, 2017.
[HOC 82] D. S. Hochbaum, “Approximation Algorithm For The Set Covering And Vertex Cover Problem”, Society for Industrial and Applied Mathematics, 1982.
[INN 18] J. Innerbichler and V. Damjanovic-Behrendt, “Federated Byzantine Agreement to Ensure Trustworthiness of Digital Manufacturing Platforms”, Proceedings of the 1st Workshop on Cryptocurrencies and
Blockchains for Distributed Systems, 2018, pp. 111–116.
[KIM 19] M. Kim, Y. Kwon and Y. Kim, “Is Stellar As Secure As You Think?”, 2019 IEEE European Symposium on Security and Privacy Workshops, 2019, pp. 377-385.
[KIN 12] S. King, S. Nadal, “PPCoin: Peer-to-Peer Crypto-Currency with Proof-of-Stake”, 2012. Available: https://decred.org/research/king2012.pdf
[KWO 14] J. Kwon, “Tendermint: Consensus without Mining”, August 2014. Available: http://tendermint.com/docs/tendermint.pdf
[LAM 82] L. Lamport, R. Shostak and M. Pease, “The Byzantine Generals Problem”, ACM Transactions on Programming Languages and Systems, Vol. 4, No. 3, July 1982, pp. 382-401.
[LAR 17] D. Larimer, “DPOS Consensus Algorithm - The Missing Whitepaper”, Steemit, 2017. Avaliable: https://steemit.com/dpos/@dantheman/dpos-consensus-algorithm-this-missing-white-paper
[LOK 19] M. Lokhava, G. Losa, D. Mazières, G. Hoare, N. Barry, E. Gafni, J. Jove, R. Malinowsky and J. McCaleb, “Fast and secure global payments with Stellar”, Proceedings of the 27th ACM Symposium on Operating Systems Principles, 2019.
[MAZ 15] D. Mazières, “The Stellar Consensus Protocol: A Federated Model for Internet-level Consensus”, Stellar Development Foundation, 2015. Available: https://www.stellar.org/papers/stellar-consensus-protocol
[MCC 20] K. McCollom, “Choosing your quorum set”, 2020. Available: https://www.stellar.org/developers/stellar-core/software/admin.html#choosing-your-quorum-set
[NAK 08] S. Nakamoto, “Bitcoin: A Peer-to-Peer Electronic Cash System”, 2008. Available: https://bitcoin.org/bitcoin.pdf
[ROW 19] S. Rowan and N. Usher, “Flare Consensus Protocol”, 2019. Available: https://flare.rocks/app/uploads/2019/11/FCP.pdf
[SKI 90] S. Skiena, “Minimum Vertex Cover”, Implementing Discrete Mathematics: Combinatorics and Graph Theory with Mathematica, 1990, pp. 218.
[SOM 15] Y. Sompolinsky, A. Zohar, “Secure High-Rate Transaction Processing in Bitcoin”, Conference on Financial Cryptography and Data Security, pp. 507-527. Springer, 2015
[SON 19] A. Sonnino and G. Danezis, “SybilQuorum: Open Distributed Ledgers Through Trust Networks”, arXiv:1906.12237 [cs.CR], 2019.
[VRI 18] A. D. Vries, “Bitcoin’s Growing Energy Problem”, Joule, Vol. 2, Is. 5, 2018, pp. 801-805.
校內:2025-08-10公開