Unlock instant, AI-driven research and patent intelligence for your innovation.

Smart contract upgrading method and block chain system

A smart contract and blockchain technology, applied in the blockchain field, can solve the problem of low efficiency of contract upgrades

Active Publication Date: 2021-08-06
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD +1
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In other words, from the deployment operation of the contract to the upgrade operation of the contract, the user needs to participate in at least two interactions, and the efficiency of contract upgrade is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Smart contract upgrading method and block chain system
  • Smart contract upgrading method and block chain system
  • Smart contract upgrading method and block chain system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with this specification. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present specification as recited in the appended claims.

[0021] The terms used in this specification are for the purpose of describing particular embodiments only, and are not intended to limit the specification. As used in this specification and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a smart contract upgrading method and a block chain node. The method can comprise the following steps: all block chain nodes in a block chain network respectively obtain contract deployment transactions containing byte codes, and deploy corresponding smart contracts based on the contract deployment transactions; a first block chain node in the block chain network performs JIT compiling on the byte code to obtain a machine code of the smart contract, and generates a contract upgrade transaction for the smart contract based on the machine code; and all block chain nodes in the block chain network respectively obtain the contract upgrade transaction, and upgrade the contract code corresponding to the smart contract from the byte code to the machine code based on the contract upgrade transaction.

Description

technical field [0001] This manual relates to the blockchain field, in particular to a smart contract upgrade method and a blockchain system. Background technique [0002] Blockchain technology (also known as distributed ledger technology) is a decentralized distributed database technology, which has many characteristics such as decentralization, openness and transparency, non-tamperable, and trustworthy, and is suitable for many In application scenarios with high reliability requirements. And JIT (Just-In-Time Compiler, just-in-time compilation) is a compilation method that can improve the efficiency of program code execution. How to apply JIT compilation to the blockchain to improve the execution efficiency of smart contracts has become an urgent technical problem to be solved. [0003] Related technologies When applying JIT compilation to the blockchain, it is usually necessary to JIT-compile the bytecode by each blockchain node after deploying the bytecode of the smart...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65G06F8/60G06F9/455
CPCG06F8/65G06F8/60G06F9/4552
Inventor 林志平
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD