Performance Improvement and Application Based on the OP_RETURN Instruction
碩士 === 國立中正大學 === 資訊工程研究所 === 106 === With the continuous rollout of a variety of digital currencies in recent years, the importance of blockchain is gradually being emphasized. Among them, scripting languages play an important role in the successful operation of blockchain. OP_RETURN, an instructio...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | en_US |
Published: |
2018
|
Online Access: | http://ndltd.ncl.edu.tw/handle/d52d6j |
id |
ndltd-TW-106CCU00392017 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-106CCU003920172019-05-30T03:50:27Z http://ndltd.ncl.edu.tw/handle/d52d6j Performance Improvement and Application Based on the OP_RETURN Instruction 基於OP_RETURN指令之效能改善與應用 SIAO, CHENG-YAN 蕭承諺 碩士 國立中正大學 資訊工程研究所 106 With the continuous rollout of a variety of digital currencies in recent years, the importance of blockchain is gradually being emphasized. Among them, scripting languages play an important role in the successful operation of blockchain. OP_RETURN, an instruction in the Scripting Languages, is used when the user needs to store some personal data in the transaction. However, at present the OP_RETURN instruction can store up to 80 bytes of data at most. As the average user’s data storage is 23 bytes, 80 bytes of data storage using OP_RETURN instruction is indeed much higher. This will cause the interpreter to increase the unnecessary time when reading the OP_RETURN instruction and thus create unnecessary idle space in systems. In order to solve the above problem, we redefine the OP_RETURN instruction, propose two kinds of instructions, and rename them as OP_RETURN27 and OP_RETURN26. The amount of data that the two instructions can store is 27 bytes and 26 bytes respectively. In addition, we propose three types of user instructions for storage. The data volume algorithm uses these three algorithms to select the most suitable size for users to store data. On the other hand, we use nearly 700,000 company registration data as test data for the performance evaluation. The results show that the amount of data in each of the nearly 700,000 data column is almost less than 27 bytes. We set the default allocation space for the amount of field data for each piece of data to 27 bytes, and let the system set 27 bytes of space for the next column to be used in advance. By using our method to improve the hit rate of the system to predict the appropriate storage space for the column, and finally through the statistics of the data, the performance of the instructions and algorithms proposed by us is better than the original OP_RETURN instruction. CHANG, RONG-GUEY 張榮貴 2018 學位論文 ; thesis 34 en_US |
collection |
NDLTD |
language |
en_US |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立中正大學 === 資訊工程研究所 === 106 === With the continuous rollout of a variety of digital currencies in recent years, the importance of blockchain is gradually being emphasized. Among them, scripting languages play an important role in the successful operation of blockchain.
OP_RETURN, an instruction in the Scripting Languages, is used when the user needs to store some personal data in the transaction. However, at present the OP_RETURN instruction can store up to 80 bytes of data at most. As the average user’s data storage is 23 bytes, 80 bytes of data storage using OP_RETURN instruction is indeed much higher. This will cause the interpreter to increase the unnecessary time when reading the OP_RETURN instruction and thus create unnecessary idle space in systems.
In order to solve the above problem, we redefine the OP_RETURN instruction, propose two kinds of instructions, and rename them as OP_RETURN27 and OP_RETURN26. The amount of data that the two instructions can store is 27 bytes and 26 bytes respectively. In addition, we propose three types of user instructions for storage. The data volume algorithm uses these three algorithms to select the most suitable size for users to store data.
On the other hand, we use nearly 700,000 company registration data as test data for the performance evaluation. The results show that the amount of data in each of the nearly 700,000 data column is almost less than 27 bytes. We set the default allocation space for the amount of field data for each piece of data to 27 bytes, and let the system set 27 bytes of space for the next column to be used in advance. By using our method to improve the hit rate of the system to predict the appropriate storage space for the column, and finally through the statistics of the data, the performance of the instructions and algorithms proposed by us is better than the original OP_RETURN instruction.
|
author2 |
CHANG, RONG-GUEY |
author_facet |
CHANG, RONG-GUEY SIAO, CHENG-YAN 蕭承諺 |
author |
SIAO, CHENG-YAN 蕭承諺 |
spellingShingle |
SIAO, CHENG-YAN 蕭承諺 Performance Improvement and Application Based on the OP_RETURN Instruction |
author_sort |
SIAO, CHENG-YAN |
title |
Performance Improvement and Application Based on the OP_RETURN Instruction |
title_short |
Performance Improvement and Application Based on the OP_RETURN Instruction |
title_full |
Performance Improvement and Application Based on the OP_RETURN Instruction |
title_fullStr |
Performance Improvement and Application Based on the OP_RETURN Instruction |
title_full_unstemmed |
Performance Improvement and Application Based on the OP_RETURN Instruction |
title_sort |
performance improvement and application based on the op_return instruction |
publishDate |
2018 |
url |
http://ndltd.ncl.edu.tw/handle/d52d6j |
work_keys_str_mv |
AT siaochengyan performanceimprovementandapplicationbasedontheopreturninstruction AT xiāochéngyàn performanceimprovementandapplicationbasedontheopreturninstruction AT siaochengyan jīyúopreturnzhǐlìngzhīxiàonénggǎishànyǔyīngyòng AT xiāochéngyàn jīyúopreturnzhǐlìngzhīxiàonénggǎishànyǔyīngyòng |
_version_ |
1719194585966575616 |