首页>
外国专利>
SMART CONTRACT METHOD FOR BLOCKCHAIN, AND ELECTRONIC DEVICE, SYSTEM AND COMPUTER-READABLE STORAGE MEDIUM
SMART CONTRACT METHOD FOR BLOCKCHAIN, AND ELECTRONIC DEVICE, SYSTEM AND COMPUTER-READABLE STORAGE MEDIUM
展开▼
机译:区块链的智能合约方法,以及电子设备、系统和计算机可读存储介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
A smart contract method for a blockchain, the method comprising: S1, a node receiving a smart transaction submitted by a user or a block transmitted by another node, wherein the block contains the smart transaction; S2, the node executing all smart contract calls in the smart transaction, and a smart contract adding an input item to the transaction; S3, the node verifying the legitimacy of the smart transaction, which involves verifying the integrity of the transaction after the execution of all the smart contract calls ends; and S4, if a verification result is that the transaction is legitimate, accepting the smart transaction, otherwise, rejecting the smart transaction. A smart transaction is a transaction containing smart contract calls, and the smart transaction can define a user expectation in an output item of the transaction, such that a smart contract provides a suitable input to satisfy a result that a user wants. A miner verifies whether the input provided by the smart contract satisfies the result that the user wants. In the sense of contract law, this is equivalent to verifying whether the intentions of two parties are consistent with each other. Only a transaction that passes verification can be accepted by a blockchain.
展开▼