跳到主要內容

臺灣博碩士論文加值系統

(34.204.181.91) 您好!臺灣時間:2023/10/01 12:49
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

我願授權國圖
: 
twitterline
研究生:熊展軒
研究生(外文):Zhan-Xuan Xiong
論文名稱:以太坊智能合約並行化執行模型
論文名稱(外文):Ethereum Smart Contract Concurrent Execution Model
指導教授:廖世偉
指導教授(外文):Shih-Wei Liao
口試委員:鄭孟璿吳俊興陳官辰洪士灝洪明郁
口試日期:2019-07-30
學位類別:碩士
校院名稱:國立臺灣大學
系所名稱:資訊工程學研究所
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2019
畢業學年度:107
語文別:中文
論文頁數:31
中文關鍵詞:以太坊智能合約虛擬機平行化區塊鏈
DOI:10.6342/NTU201903507
相關次數:
  • 被引用被引用:1
  • 點閱點閱:437
  • 評分評分:
  • 下載下載:0
  • 收藏至我的研究室書目清單書目收藏:0
自從2008年比特幣問世以來,以區塊鏈 (Blockchain) 技術為核心的去中心化帳本系統蓬勃發展。最初,在比特幣的世界中用戶可以自由的轉移他們的資產 (比特幣 Bitcoin) 在沒有中心化機構的情況之下,比特幣建立了虛擬世界中最可靠的金融系統,在互不信任的網路中,依然可以基於這樣的系統進行資產轉移。
到了2013年,Vitalik Buterin 提出了新一代的去中心化帳本系統以太坊 (Ethereum) ,以太坊基於區塊鏈核心概念之上加入了圖靈完備的虛擬機,讓人們可以開發應用程式,並讓其在去中心化的環境下運行,這樣的程式也被稱為智能合約 (Smart contract)。
如今的以太坊作為智能合約的執行平台已經十分成熟,各式各樣的去中心化應用程式 (Decentralized application, dapp) 都在以太坊上運作的非常好,但仍面臨著現行所有去中心化帳本系統都存在著的瓶頸,那就是可擴展性 (Scalability)。去中心化系統的可擴展性代表系統處理交易請求的能力,直觀上可以視為系統的效能或是產能,可擴展性也是區塊鏈技術目前最重大的課題之一。
本論文主要目標為,在不更改現有以太坊架構的前提之下 (保留區塊及交易格式),透過並行執行智能合約的方式提升以太坊智能合約的執行效率,以提升以太坊系統的可擴展性。
Since the advent of Bitcoin in 2008, the decentralized ledger system, based on blockchain technology, has flourished. Initially, in the world of Bitcoin, users are free to transfer their assets (Bitcoin) without a centralized organization. Bitcoin built the most reliable financial system in the virtual world. In the network, that the users are not trust in each other, asset transfer can still be performed based on such the system.
In 2013, Vitalik Buterin proposed a new generation of decentralized ledger system, Ethereum. Ethereum added a complete programming language based on the core concept of blockchain to enable people to develop applications on it. Users can develop their own application and let it run in a decentralized environment, such a program is also known as a smart contract.
Today''s Ethereum as a smart contract implementation platform is very mature, a variety of Decentralized applications are operating very well in Ethereum, but still face the bottleneck of all current decentralized ledger system, that is scalability. The scalability of the decentralized ledger system is mainly to describe the ability of the system to process transaction requests. It can be regarded as the performance or throughput of the system intuitively. The scalability is also one of the most important topics of blockchain technology today.
The main goal of this thesis is to enhance the efficiency of Ethereum''s smart contracts through parallelization without changing current Ethereum architecture (The block and transaction format remain the same). By this way, we can enhance the scalability of the Ethereum system.
誌謝 I
摘要 II
ABSTRACT III
目錄 V
CHAPTER 1 INTRODUCTION 1
CHAPTER 2 RELATED WORK 3
2.1 BLOCKCHAIN 3
2.2 ETHEREUM 4
2.3 CURRENT SMART CONTRACT EXECUTION MODEL 7
2.3.1 Ethereum 7
2.3.2 Disadvantages and Modifications 8
2.4 PARITY ETHEREUM 8
CHAPTER 3 BACKGROUND 9
3.1 DATA DEPENDENCY 9
3.2 SMART CONTRACT DATA DEPENDENCY 10
3.2.1 Static Dependency in Smart Contract 10
3.2.2 Dynamic Dependency in Smart Contract 11
3.3 STATIC ANALYSIS IN SMART CONTRACT 11
3.3.1 Static Analysis 11
3.3.2 Dynamic Dependency Recovery 12
3.3.3 Optimistic Concurrency Control 13
3.3.4 Correction Thread 13
CHAPTER 4 ARCHITECTURE DESIGN 14
4.1 COMPONENT 14
4.1.1 Execution Controller 14
4.1.2 Dependency Table 15
4.1.3 Execution Engine 16
4.1.4 Correction Engine 18
4.1.5 Dynamic Dependency Checker 18
4.2 ARCHITECTURE OVERVIEW 19
4.3 EXECUTION FLOW 20
CHAPTER 5 EXPERIMENTAL ANALYSIS 22
5.1 ENVIRONMENT 22
5.2 CORRECTNESS 23
5.3 PERFORMANCE 24
5.3.1 Massive transaction without dependency 24
5.3.2 Real transactions on Ethereum mainnet 26
5.4 DYNAMIC DEPENDENCY 27
CHAPTER 6 FUTURE WORK 29
CHAPTER 7 CONCLUSION 30
BIBLIOGRAPHY 31
Satoshi Nakamoto. Bitcoin: A peer-to-peer electronic cash system. 2008.
Buterin, V. (2014). A next-generation smart contract and decentralized application platform. white paper, 3, 37.
Wood, G. (2014). Ethereum: A secure decentralised generalised transaction ledger. Ethereum project yellow paper, 151(2014), 1-32.
Swan, M. (2015). Blockchain: Blueprint for a new economy. " O''Reilly Media, Inc.".
Christidis, K., & Devetsikiotis, M. (2016). Blockchains and smart contracts for the internet of things. Ieee Access, 4, 2292-2303.
Mazieres, D. (2015). The stellar consensus protocol: A federated model for internet-level consensus. Stellar Development Foundation, 32.
Yin, M., Malkhi, D., Reiter, M. K., Gueta, G. G., & Abraham, I. (2018). Hotstuff: BFT consensus in the lens of blockchain. arXiv preprint arXiv:1803.05069.
Ethereum foundation. (n.d.). Ethereum sharding roadmap. Retrieved from https://github.com/ethereum/wiki/wiki/Sharding-roadmap
Yu, L., Tsai, W. T., Li, G., Yao, Y., Hu, C., & Deng, E. (2017, April). Smart-contract execution with concurrent block building. In 2017 IEEE Symposium on Service-Oriented System Engineering (SOSE) (pp. 160-167). IEEE.
Sergey, I., & Hobor, A. (2017, April). A concurrent perspective on smart contracts. In International Conference on Financial Cryptography and Data Security (pp. 478-493). Springer, Cham.
Dickerson, T., Gazzillo, P., Herlihy, M., & Koskinen, E. (2017, July). Adding concurrency to smart contracts. In Proceedings of the ACM Symposium on Principles of Distributed Computing (pp. 303-312). ACM.
Parity Ethereum. (n.d.). Retrieved from https://www.parity.io/ethereum/
Ethereum API: IPFS API & Gateway: ETH Nodes as a Service. (n.d.). Retrieved from https://infura.io/
Kung, H. T. (1981). On optimistic methods for concurrency control. ACM Transactions on Database Systems, 6(2), 213–226. doi: 10.1145/319566.319567
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top
無相關期刊