Intelligent contract compression method of Ethereum block chain
A technology of smart contracts and compression methods, applied in the blockchain field, can solve insecure and low-level problems, and achieve the effects of improving execution efficiency, improving compression efficiency, and reducing size
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] A smart contract compression method of the Ethereum block chain, the specific steps are:
[0017] Step 1. According to the definition of the existing delegatecall pseudo-opcode: pass in parameters to the delegatecall opcode respectively: gas (gas required for function execution), _impl (address for calling the smart contract), ptr (memory pointer, which points to the beginning of the data place), calldatasize (the size of the incoming data), 0 (the return value of calling the smart contract), 0 (the size of the return value), and add a new opcode to the Ethereum virtual machine, which is only used locally . The pseudo-opcode can find out whether this operation is the same as the operation of the previously executed smart contract, and if so, replace the operation in the new smart contract with the operation pointing to the executed smart contract. In this way the size of the smart contract is reduced.
[0018] Step 2. For any given Ethereum block B h , B h contains ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com