簡易檢索 / 詳目顯示

研究生: 沈郁棋
Shen, Yu-Chi
論文名稱: 一個可在對等服務網路上有效益地執行計算任務之工作量證明演算法
Proof of Assignment: An Economic Proof-of-Work Based Algorithm Performing Assignments in a Peer-Servicing Network
指導教授: 鄭憲宗
Cheng, Sheng-Tzong
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2014
畢業學年度: 102
語文別: 英文
論文頁數: 63
中文關鍵詞: 比特幣工作量證明基因演算法NP問題
外文關鍵詞: Bitcoin, Proof of Work, Genetic Algorithm, NP Problems
相關次數: 點閱:96下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  •   比特幣是一種全球通用的加密電子貨幣,也是一種對等網路支付系統,是一種由用戶們完全自治的交易工具。比特幣經由一種稱為「挖礦」的過程產生,參與者透過處理交易驗證和記錄來獲取作為手續費的比特幣或是取得新產出的比特幣。
      比特幣的挖礦是用戶透過解決具有一定運算工作量的工作量證明機制問題,來確認交易和防止雙重支付,管理比特幣網路。但原有的工作量證明機制所計算出來的結果是沒有意義的,而比特幣的崛起,使得越來越多的用戶加入挖礦的行列,導致更多的運算資源浪費在計算無意義的結果。若能夠整合這些挖礦的運算資源,來解決一些需要有意義且需要大量運算的問題,會是相當可觀的計算能力。
      在本篇論文,我們提出與實現一個可在對等網路上有效益地執行計算任務之工作量證明演算法。應用工作量證明機制結合基因演算法,讓用戶在進行挖礦的過程中,可以利用基因演算法解決NP問題這類需要大量運算的問題。並且將此演算法實作並且整合至比特幣系統,讓用戶可以藉由解決NP問題來獲得獎勵,使得整個系統形成一個市場,利用對等網路的優勢,提供一個以基因演算法為基礎的平台,來解決大量運算的問題。

    Bitcoin is a universal crypto currency and a peer-to-peer payment system. Online payments can be sent directly from one party to another without going through a financial institution. “Mining” is a process to generate bitcoin, users offer their computing power to verify and record payments to reward transaction fees and newly created bitcoin.
    Mining of bitcoin is to solve proof of work puzzles that users need to expend a certain amount of computational capability to verify payments and prevent double-spending to manage the bitcoin network. However, the results of proof of work puzzles are meaningless values. With the rise of bitcoin, more and more computers join to mining bitcoin. Large amount of computational capability are wasted to compute the meaningless results. If we can integrate and use the computational capability of mining bitcoin to solve hard computational problems, the computational capability will be not considered wasteful but practical.
    In this paper, we propose and implement an economic proof-of-work based algorithm which combines proof of work mechanism and genetic algorithm in a peer-servicing network. Genetic algorithm is used to solve NP problems in mining process. Integrating the implementation of proof of assignment into bitcoin system, users can reward incentives by solving NP problems. With the advantages of peer-servicing network, the whole system will become a market serves as a computing platform for solving hard computational problems using genetic algorithm.

    摘 要 I ABSTRACT II ACKNOWLEDGEMENT III TABLE OF CONTENTS IV LIST OF TABLES VI LIST OF FIGURES VII CHAPTER 1. INTRODUCTION AND MOTIVATION 1 1.1 PROOF-OF-WORK ALGORITHM 1 1.2 PROOF-OF-WORK IN BITCOIN 2 1.3 THESIS OVERVIEW 5 CHAPTER 2. BACKGROUND AND RELATED WORK 6 2.1 BITCOIN 6 2.2 BLOCK MINING IN BITCOIN 7 2.3 PROOF-OF-WORK WITH SCIENTIFIC COMPUTING 8 CHAPTER 3. PROOF OF ASSIGNMENT MODEL 10 3.1 BITCOIN PROOF-OF-WORK MODEL 10 3.2 GENETIC ALGORITHM ON DISTRIBUTED SYSTEMS 12 3.3 PROOF OF ASSIGNMENT MODEL 14 CHAPTER 4. SYSTEM ARCHITECTURE 16 4.1 OVERVIEW 16 4.2 ASSIGNMENT SUBMISSION 16 4.3 MAP STAGE 17 4.4 REDUCE STAGE 21 4.5 PIPELINE COMPUTING 24 4.6 ECONOMIC ACTIVITY 25 CHAPTER 5. IMPLEMENTATION AND EXPERIMENT 27 5.1 IMPLEMENTATION 27 5.1.1 User Interface 28 5.1.2 Block Manager 28 5.1.3 Peer 29 5.1.4 Database 29 5.1.5 RPCServer 29 5.1.6 Initializer 29 5.2 EXPERIMENT SETTINGS 30 5.3 EXPERIMENT RESULTS 31 5.3.1 Scalability 32 5.3.2 Performance 33 5.3.3 Stability 37 CHAPTER 6. CONCLUSIONS AND FUTURE WORK 41 REFERENCES 42 APPENDIX A DATA STRUCTURES 44 APPENDIX B SYSTEM CODE SNIPPET 46 MAP STAGE (C++ SOURCE CODE) 46

    [1] Cynthia Dwork and Moni Naor, “Pricing via processing or combatting junk mail”, CRYPTO’92 (Ernest F.Brickell, ed.), LNCS, Vol. 740, Springer, pp. 139–147, August 1993.
    [2] Adam Back, “Hashcash – A Denial of Service Counter-Measure”, http://www.hashcash.org/papers/hashcash.pdf, 2002.
    [3] Satoshi Nakamoto, “Bitcoin: A peer-to-peer electronic cash system”, http://bitcoin.org/bitcoin.pdf, 2009. [4] “Litecoin”, https://litecoin.org/, 2011.
    [5] Colin Percival, “Stronger Key Derivation via Sequential Memory-Hard Functions”, http://www.tarsnap.com/scrypt/scrypt.pdf, 2009.
    [6] Sunny King, “Primecoin: Cryptocurrency with Prime Number Proof-of-Work”, http://primecoin.io/bin/primecoin-paper.pdf, 2013.
    [7] Rob Halford, “Gridcoin: Crypto-Currency using Berkeley Open Infrastructure Network Computing Grid as a Proof Of Work”, http://www.gridcoin.us/images/gridcoin-white-paper.pdf, 2014.
    [8] J. Holland, “Adaption in Natural and Artificial Systems”, Ann Arbor: The University of Michigan Press, 1975.
    [9] A. Genco & S. Lopes, “Genetic algorithms on distributed systems”, Trans. on Information and Communications Technologies, Vol. 9, WIT Press, www.witpress.com, 1995.
    [10] Gerhard Reinelt, “TSPLIB—A Traveling Salesman Problem Library”, INFORMS Journal on Computing, pp. 376–384, 1995.
    [11] The Bitcoin Foundation, “Bitcoin.org”, https://bitcoin.org/en/, 2009.
    [12] “Bitcoin GitHub”, https://github.com/bitcoin/bitcoin, 2009.
    [13] Vinod Vaikuntanathan, “Computing Blindfolded: New Developments in Fully Homomorphic Encryption”, IEEE Symposium on Foundations of Computer Science (FOCS), pp. 5–16, 2011.
    [14] Krzysztof Okupski, “Bitcoin Developer Specification Working Paper”, Technische Universiteit Eindhoven, The Netherlands, 2014.

    無法下載圖示 校內:2019-08-06公開
    校外:不公開
    電子論文尚未授權公開,紙本請查館藏目錄
    QR CODE