摘要
基于脚本解释器的区块链交易合约架构是目前最简洁且高效的智能合约设计之一,它具有去中心化、总量固定、可自由兑换、匿名性等特点,也有利于密码技术在区块链中的灵活应用与实现。文章在整体介绍比特币脚本系统交易结构的基础上,阐述了面向未花费交易(UTXO)的输入交易、输出交易的结构,并详细地给出了比特币脚本指令系统及其执行过程和验证机制,从而实现了区块链交易合约中基于脚本解释器的公钥支付方案。
The blockchain transaction contract architecture based on the script interpreter is one of the most concise and efficient smart contract designs at present.It has the characteristics of decentralization,fixed total amount,free exchange,and anonymity.It is also conducive to the flexible application and implementation of cryptography in the blockchain.Based on the overall introduction of the transaction structure of the Bitcoin script system,this paper explains the structure of input transactions and output transactions for unspent transactions(UTXO).In addition,this paper details the Bitcoin script instruction system and its execution process and verification mechanism,so as to implement the public key payment scheme based on the script interpreter in the blockchain transaction contract.
作者
郭倩
王中豪
王晟典
林映春
Guo Qian;Wang Zhonghao;Wang Shengdian;Lin Yingchun(School of Computer&Communication Engineering,University of Science and Technology Beijing,Beijing 100083)
出处
《网络空间安全》
2020年第9期55-61,共7页
Cyberspace Security
关键词
智能合约
比特币
运行机制
smart contracts
bitcoin
operating mechanism